0s autopkgtest [18:22:12]: starting date and time: 2024-03-20 18:22:12+0000 0s autopkgtest [18:22:12]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [18:22:12]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.3ix2uk3r/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-ppc64el-7.secgroup --name adt-noble-ppc64el-glib2.0-20240320-182212-juju-7f2275-prod-proposed-migration-environment-2 --image adt/ubuntu-noble-ppc64el-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/ 110s autopkgtest [18:24:02]: testbed dpkg architecture: ppc64el 110s autopkgtest [18:24:02]: testbed apt version: 2.7.12 110s autopkgtest [18:24:02]: @@@@@@@@@@@@@@@@@@@@ test bed setup 111s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 111s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3809 kB] 111s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [501 kB] 111s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 111s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [53.9 kB] 111s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el Packages [686 kB] 112s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el c-n-f Metadata [3116 B] 112s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el Packages [1372 B] 112s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el c-n-f Metadata [116 B] 112s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el Packages [4160 kB] 112s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el c-n-f Metadata [8652 B] 112s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el Packages [58.6 kB] 112s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el c-n-f Metadata [116 B] 115s Fetched 9405 kB in 2s (4367 kB/s) 115s Reading package lists... 118s Reading package lists... 118s Building dependency tree... 118s Reading state information... 118s Calculating upgrade... 118s The following packages were automatically installed and are no longer required: 118s apport-symptoms libgirepository-1.0-1 python3-apport python3-httplib2 118s python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri 118s python3-problem-report python3-pyparsing python3-six python3-systemd 118s python3-wadllib 118s Use 'sudo apt autoremove' to remove them. 118s The following packages will be REMOVED: 118s apport apport-core-dump-handler gir1.2-girepository-2.0 gir1.2-glib-2.0 118s libglib2.0-0 networkd-dispatcher python3-gi 118s The following NEW packages will be installed: 118s libglib2.0-0t64 xdg-user-dirs 118s The following packages will be upgraded: 118s shared-mime-info 118s 1 upgraded, 2 newly installed, 7 to remove and 0 not upgraded. 118s Need to get 2274 kB of archives. 118s After this operation, 2973 kB disk space will be freed. 118s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el shared-mime-info ppc64el 2.4-1build1 [481 kB] 119s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libglib2.0-0t64 ppc64el 2.79.3-3ubuntu5 [1773 kB] 119s Get:3 http://ftpmaster.internal/ubuntu noble/main ppc64el xdg-user-dirs ppc64el 0.18-1 [20.0 kB] 119s Fetched 2274 kB in 1s (3033 kB/s) 119s (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 ... 70095 files and directories currently installed.) 119s Removing networkd-dispatcher (2.2.4-1) ... 120s Removing apport-core-dump-handler (2.28.0-0ubuntu1) ... 120s Removing apport (2.28.0-0ubuntu1) ... 120s Removing python3-gi (3.47.0-3) ... 120s Removing gir1.2-girepository-2.0:ppc64el (1.79.1-1) ... 120s Removing gir1.2-glib-2.0:ppc64el (2.79.2-1~ubuntu1) ... 121s (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 ... 69926 files and directories currently installed.) 121s Preparing to unpack .../shared-mime-info_2.4-1build1_ppc64el.deb ... 121s Unpacking shared-mime-info (2.4-1build1) over (2.4-1) ... 121s dpkg: libglib2.0-0:ppc64el: dependency problems, but removing anyway as you requested: 121s udisks2 depends on libglib2.0-0 (>= 2.77.0). 121s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 121s netplan.io depends on libglib2.0-0 (>= 2.70.0). 121s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 121s libxmlb2:ppc64el depends on libglib2.0-0 (>= 2.54.0). 121s libvolume-key1:ppc64el depends on libglib2.0-0 (>= 2.18.0). 121s libudisks2-0:ppc64el depends on libglib2.0-0 (>= 2.75.3). 121s libqrtr-glib0:ppc64el depends on libglib2.0-0 (>= 2.56). 121s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 121s libqmi-glib5:ppc64el depends on libglib2.0-0 (>= 2.54.0). 121s libpolkit-gobject-1-0:ppc64el depends on libglib2.0-0 (>= 2.38.0). 121s libpolkit-agent-1-0:ppc64el depends on libglib2.0-0 (>= 2.38.0). 121s libnetplan0:ppc64el depends on libglib2.0-0 (>= 2.75.3). 121s libmm-glib0:ppc64el depends on libglib2.0-0 (>= 2.62.0). 121s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 121s libmbim-glib4:ppc64el depends on libglib2.0-0 (>= 2.56). 121s libjson-glib-1.0-0:ppc64el depends on libglib2.0-0 (>= 2.75.3). 121s libjcat1:ppc64el depends on libglib2.0-0 (>= 2.75.3). 121s libgusb2:ppc64el depends on libglib2.0-0 (>= 2.75.3). 121s libgudev-1.0-0:ppc64el depends on libglib2.0-0 (>= 2.38.0). 121s libgirepository-1.0-1:ppc64el depends on libglib2.0-0 (>= 2.79.0). 121s libfwupd2:ppc64el depends on libglib2.0-0 (>= 2.79.0). 121s libblockdev3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 121s libblockdev-utils3:ppc64el depends on libglib2.0-0 (>= 2.75.3). 121s libblockdev-swap3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 121s libblockdev-part3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 121s libblockdev-nvme3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 121s libblockdev-mdraid3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 121s libblockdev-loop3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 121s libblockdev-fs3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 121s libblockdev-crypto3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 121s fwupd depends on libglib2.0-0 (>= 2.79.0). 121s bolt depends on libglib2.0-0 (>= 2.56.0). 121s 121s (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 ... 69926 files and directories currently installed.) 121s Removing libglib2.0-0:ppc64el (2.79.2-1~ubuntu1) ... 121s Selecting previously unselected package libglib2.0-0t64:ppc64el. 121s (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 ... 69901 files and directories currently installed.) 121s Preparing to unpack .../libglib2.0-0t64_2.79.3-3ubuntu5_ppc64el.deb ... 121s libglib2.0-0t64.preinst: Removing /var/lib/dpkg/info/libglib2.0-0:ppc64el.postrm to avoid loss of /usr/share/glib-2.0/schemas/gschemas.compiled... 121s removed '/var/lib/dpkg/info/libglib2.0-0:ppc64el.postrm' 121s Unpacking libglib2.0-0t64:ppc64el (2.79.3-3ubuntu5) ... 121s Selecting previously unselected package xdg-user-dirs. 121s Preparing to unpack .../xdg-user-dirs_0.18-1_ppc64el.deb ... 121s Unpacking xdg-user-dirs (0.18-1) ... 121s Setting up xdg-user-dirs (0.18-1) ... 121s Setting up libglib2.0-0t64:ppc64el (2.79.3-3ubuntu5) ... 121s No schema files found: doing nothing. 121s Setting up shared-mime-info (2.4-1build1) ... 121s Processing triggers for man-db (2.12.0-3) ... 122s Processing triggers for libc-bin (2.39-0ubuntu2) ... 122s Reading package lists... 122s Building dependency tree... 122s Reading state information... 122s The following packages will be REMOVED: 122s apport-symptoms* libgirepository-1.0-1* python3-apport* python3-httplib2* 122s python3-launchpadlib* python3-lazr.restfulclient* python3-lazr.uri* 122s python3-problem-report* python3-pyparsing* python3-six* python3-systemd* 122s python3-wadllib* 123s 0 upgraded, 0 newly installed, 12 to remove and 0 not upgraded. 123s After this operation, 4758 kB disk space will be freed. 123s (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 ... 69940 files and directories currently installed.) 123s Removing apport-symptoms (0.24) ... 123s Removing libgirepository-1.0-1:ppc64el (1.79.1-1) ... 123s Removing python3-apport (2.28.0-0ubuntu1) ... 123s Removing python3-launchpadlib (1.11.0-6) ... 123s Removing python3-lazr.restfulclient (0.14.6-1) ... 123s Removing python3-httplib2 (0.20.4-3) ... 123s Removing python3-wadllib (1.3.6-5) ... 123s Removing python3-lazr.uri (1.0.6-3) ... 123s Removing python3-problem-report (2.28.0-0ubuntu1) ... 123s Removing python3-pyparsing (3.1.1-1) ... 123s Removing python3-six (1.16.0-4) ... 123s Removing python3-systemd (235-1build3) ... 123s Processing triggers for libc-bin (2.39-0ubuntu2) ... 123s (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 ... 69680 files and directories currently installed.) 123s Purging configuration files for python3-launchpadlib (1.11.0-6) ... 124s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 124s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 124s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 124s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 125s Reading package lists... 125s Reading package lists... 125s Building dependency tree... 125s Reading state information... 126s Calculating upgrade... 126s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 126s Reading package lists... 126s Building dependency tree... 126s Reading state information... 126s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 126s autopkgtest [18:24:18]: rebooting testbed after setup commands that affected boot 287s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 299s autopkgtest [18:27:11]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP Wed Feb 14 00:33:03 UTC 2024 302s autopkgtest [18:27:14]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 309s Get:1 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (dsc) [4332 B] 309s Get:2 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (tar) [263 kB] 309s Get:3 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (tar) [5488 kB] 309s Get:4 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (diff) [126 kB] 309s gpgv: Signature made Mon Feb 26 20:17:53 2024 UTC 309s gpgv: using RSA key 92FE4F8B40CADC4ECCD60C1F5961FDBE9C619809 309s gpgv: Can't check signature: No public key 309s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.79.2-1~ubuntu1.dsc: no acceptable signature found 310s autopkgtest [18:27:22]: testing package glib2.0 version 2.79.2-1~ubuntu1 311s autopkgtest [18:27:23]: build not needed 387s autopkgtest [18:28:39]: test build: preparing testbed 391s Reading package lists... 391s Building dependency tree... 391s Reading state information... 391s Starting pkgProblemResolver with broken count: 1 391s Starting 2 pkgProblemResolver with broken count: 1 391s Investigating (0) libglib2.0-0t64:ppc64el < 2.79.3-3ubuntu5 @ii mK Ib > 391s Broken libglib2.0-0t64:ppc64el Breaks on libglib2.0-0:ppc64el < none -> 2.79.2-1~ubuntu1 @rc pumN > (< 2.79.3-3ubuntu5) 391s Considering libglib2.0-0:ppc64el 102 as a solution to libglib2.0-0t64:ppc64el 104 391s Done 391s Some packages could not be installed. This may mean that you have 391s requested an impossible situation or if you are using the unstable 391s distribution that some required packages have not yet been created 391s or been moved out of Incoming. 391s The following information may help to resolve the situation: 391s 391s The following packages have unmet dependencies: 391s libglib2.0-0t64 : Breaks: libglib2.0-0 (< 2.79.3-3ubuntu5) 391s E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. 391s autopkgtest: WARNING: Test dependencies are unsatisfiable with using apt pinning. Retrying with using all packages from noble-proposed 392s Reading package lists... 392s Building dependency tree... 392s Reading state information... 392s Starting pkgProblemResolver with broken count: 0 392s Starting 2 pkgProblemResolver with broken count: 0 392s Done 393s The following additional packages will be installed: 393s bsdextrautils bsdutils build-essential cpp cpp-13 393s cpp-13-powerpc64le-linux-gnu cpp-powerpc64le-linux-gnu eject fdisk g++ 393s g++-13 g++-13-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu gcc gcc-13 393s gcc-13-base gcc-13-powerpc64le-linux-gnu gcc-14-base 393s gcc-powerpc64le-linux-gnu libasan8 libatomic1 libblkid-dev libblkid1 393s libc-bin libc-dev-bin libc6 libc6-dev libcc1-0 libcrypt-dev libelf1t64 393s libfdisk1 libffi-dev libgcc-13-dev libgcc-s1 libgirepository-2.0-0 393s libglib2.0-bin libglib2.0-data libglib2.0-dev libglib2.0-dev-bin libgomp1 393s libisl23 libitm1 liblsan0 libmount-dev libmount1 libmpc3 libpcre2-16-0 393s libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 libquadmath0 393s libreadline8t64 libselinux1 libselinux1-dev libsepol-dev libsmartcols1 393s libstdc++-13-dev libstdc++6 libtsan2 libubsan1 libuuid1 linux-libc-dev 393s locales mount pkgconf pkgconf-bin python3-packaging readline-common 393s rpcsvc-proto util-linux uuid-dev uuid-runtime zlib1g zlib1g-dev 393s Suggested packages: 393s cpp-doc gcc-13-locales cpp-13-doc gcc-13-doc gcc-multilib manpages-dev 393s autoconf automake libtool flex bison gdb gcc-doc gdb-powerpc64le-linux-gnu 393s manpages glibc-doc libnss-nis libnss-nisplus gir1.2-glib-2.0-dev 393s libglib2.0-doc libgdk-pixbuf2.0-bin libxml2-utils libstdc++-13-doc 393s nfs-common readline-doc util-linux-extra util-linux-locales 393s Recommended packages: 393s manpages manpages-dev libc-devtools 393s The following packages will be REMOVED: 393s libelf1 libreadline8 393s The following NEW packages will be installed: 393s autopkgtest-satdep build-essential cpp cpp-13 cpp-13-powerpc64le-linux-gnu 393s cpp-powerpc64le-linux-gnu g++ g++-13 g++-13-powerpc64le-linux-gnu 393s g++-powerpc64le-linux-gnu gcc gcc-13 gcc-13-powerpc64le-linux-gnu 393s gcc-powerpc64le-linux-gnu libasan8 libatomic1 libblkid-dev libc-dev-bin 393s libc6-dev libcc1-0 libcrypt-dev libelf1t64 libffi-dev libgcc-13-dev 393s libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin 393s libgomp1 libisl23 libitm1 liblsan0 libmount-dev libmpc3 libpcre2-16-0 393s libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 libquadmath0 393s libreadline8t64 libselinux1-dev libsepol-dev libstdc++-13-dev libtsan2 393s libubsan1 linux-libc-dev pkgconf pkgconf-bin python3-packaging rpcsvc-proto 393s uuid-dev zlib1g-dev 393s The following packages will be upgraded: 393s bsdextrautils bsdutils eject fdisk gcc-13-base gcc-14-base libblkid1 393s libc-bin libc6 libfdisk1 libgcc-s1 libglib2.0-data libmount1 libselinux1 393s libsmartcols1 libstdc++6 libuuid1 locales mount readline-common util-linux 393s uuid-runtime zlib1g 393s 23 upgraded, 53 newly installed, 2 to remove and 221 not upgraded. 393s Need to get 79.6 MB/79.6 MB of archives. 393s After this operation, 266 MB of additional disk space will be used. 393s Get:1 /tmp/autopkgtest.lortaT/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [724 B] 393s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el bsdutils ppc64el 1:2.39.3-9ubuntu2 [98.3 kB] 393s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el util-linux ppc64el 2.39.3-9ubuntu2 [1195 kB] 393s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el gcc-14-base ppc64el 14-20240315-1ubuntu1 [47.0 kB] 393s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libgcc-s1 ppc64el 14-20240315-1ubuntu1 [39.2 kB] 393s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libstdc++6 ppc64el 14-20240315-1ubuntu1 [897 kB] 393s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libc6 ppc64el 2.39-0ubuntu6 [3274 kB] 393s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libc-bin ppc64el 2.39-0ubuntu6 [751 kB] 393s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el zlib1g ppc64el 1:1.3.dfsg-3.1ubuntu1 [72.8 kB] 393s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libelf1t64 ppc64el 0.190-1.1build2 [69.3 kB] 393s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el readline-common all 8.2-3.1 [56.4 kB] 393s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el fdisk ppc64el 2.39.3-9ubuntu2 [132 kB] 393s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libreadline8t64 ppc64el 8.2-3.1 [182 kB] 393s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el mount ppc64el 2.39.3-9ubuntu2 [125 kB] 393s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libsmartcols1 ppc64el 2.39.3-9ubuntu2 [79.0 kB] 393s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libuuid1 ppc64el 2.39.3-9ubuntu2 [39.3 kB] 393s Get:17 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el uuid-runtime ppc64el 2.39.3-9ubuntu2 [33.8 kB] 393s Get:18 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libblkid1 ppc64el 2.39.3-9ubuntu2 [155 kB] 393s Get:19 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libselinux1 ppc64el 3.5-2ubuntu1 [101 kB] 393s Get:20 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libmount1 ppc64el 2.39.3-9ubuntu2 [169 kB] 393s Get:21 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el gcc-13-base ppc64el 13.2.0-19ubuntu1 [47.8 kB] 393s Get:22 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el eject ppc64el 2.39.3-9ubuntu2 [28.2 kB] 393s Get:23 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libfdisk1 ppc64el 2.39.3-9ubuntu2 [171 kB] 394s Get:24 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libglib2.0-data all 2.79.3-3ubuntu5 [46.6 kB] 394s Get:25 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el locales all 2.39-0ubuntu6 [4232 kB] 394s Get:26 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el bsdextrautils ppc64el 2.39.3-9ubuntu2 [78.6 kB] 394s Get:27 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libc-dev-bin ppc64el 2.39-0ubuntu6 [21.3 kB] 394s Get:28 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el linux-libc-dev ppc64el 6.8.0-20.20 [1586 kB] 394s Get:29 http://ftpmaster.internal/ubuntu noble/main ppc64el libcrypt-dev ppc64el 1:4.4.36-4 [167 kB] 394s Get:30 http://ftpmaster.internal/ubuntu noble/main ppc64el rpcsvc-proto ppc64el 1.4.2-0ubuntu6 [82.3 kB] 394s Get:31 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libc6-dev ppc64el 2.39-0ubuntu6 [2102 kB] 394s Get:32 http://ftpmaster.internal/ubuntu noble/main ppc64el libisl23 ppc64el 0.26-3 [864 kB] 394s Get:33 http://ftpmaster.internal/ubuntu noble/main ppc64el libmpc3 ppc64el 1.3.1-1 [61.2 kB] 394s Get:34 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el cpp-13-powerpc64le-linux-gnu ppc64el 13.2.0-19ubuntu1 [10.7 MB] 394s Get:35 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el cpp-13 ppc64el 13.2.0-19ubuntu1 [1040 B] 394s Get:36 http://ftpmaster.internal/ubuntu noble/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:13.2.0-7ubuntu1 [5330 B] 394s Get:37 http://ftpmaster.internal/ubuntu noble/main ppc64el cpp ppc64el 4:13.2.0-7ubuntu1 [22.5 kB] 394s Get:38 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libcc1-0 ppc64el 14-20240315-1ubuntu1 [48.1 kB] 394s Get:39 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libgomp1 ppc64el 14-20240315-1ubuntu1 [161 kB] 394s Get:40 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libitm1 ppc64el 14-20240315-1ubuntu1 [32.2 kB] 394s Get:41 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libatomic1 ppc64el 14-20240315-1ubuntu1 [10.7 kB] 394s Get:42 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libasan8 ppc64el 14-20240315-1ubuntu1 [2973 kB] 394s Get:43 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el liblsan0 ppc64el 14-20240315-1ubuntu1 [1325 kB] 394s Get:44 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libtsan2 ppc64el 14-20240315-1ubuntu1 [2702 kB] 394s Get:45 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libubsan1 ppc64el 14-20240315-1ubuntu1 [1193 kB] 394s Get:46 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libquadmath0 ppc64el 14-20240315-1ubuntu1 [158 kB] 394s Get:47 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libgcc-13-dev ppc64el 13.2.0-19ubuntu1 [1582 kB] 394s Get:48 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el gcc-13-powerpc64le-linux-gnu ppc64el 13.2.0-19ubuntu1 [20.6 MB] 395s Get:49 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el gcc-13 ppc64el 13.2.0-19ubuntu1 [477 kB] 395s Get:50 http://ftpmaster.internal/ubuntu noble/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:13.2.0-7ubuntu1 [1224 B] 395s Get:51 http://ftpmaster.internal/ubuntu noble/main ppc64el gcc ppc64el 4:13.2.0-7ubuntu1 [5022 B] 395s Get:52 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libstdc++-13-dev ppc64el 13.2.0-19ubuntu1 [2448 kB] 395s Get:53 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el g++-13-powerpc64le-linux-gnu ppc64el 13.2.0-19ubuntu1 [12.2 MB] 395s Get:54 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el g++-13 ppc64el 13.2.0-19ubuntu1 [14.5 kB] 395s Get:55 http://ftpmaster.internal/ubuntu noble/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:13.2.0-7ubuntu1 [968 B] 395s Get:56 http://ftpmaster.internal/ubuntu noble/main ppc64el g++ ppc64el 4:13.2.0-7ubuntu1 [1086 B] 395s Get:57 http://ftpmaster.internal/ubuntu noble/main ppc64el build-essential ppc64el 12.10ubuntu1 [4936 B] 395s Get:58 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libgirepository-2.0-0 ppc64el 2.79.3-3ubuntu5 [84.2 kB] 395s Get:59 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libglib2.0-bin ppc64el 2.79.3-3ubuntu5 [111 kB] 395s Get:60 http://ftpmaster.internal/ubuntu noble/main ppc64el libffi-dev ppc64el 3.4.6-1 [67.4 kB] 395s Get:61 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-packaging all 23.2-1 [40.6 kB] 395s Get:62 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libglib2.0-dev-bin ppc64el 2.79.3-3ubuntu5 [245 kB] 395s Get:63 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el uuid-dev ppc64el 2.39.3-9ubuntu2 [37.7 kB] 395s Get:64 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libblkid-dev ppc64el 2.39.3-9ubuntu2 [260 kB] 395s Get:65 http://ftpmaster.internal/ubuntu noble/main ppc64el libsepol-dev ppc64el 3.5-2 [471 kB] 395s Get:66 http://ftpmaster.internal/ubuntu noble/main ppc64el libpcre2-16-0 ppc64el 10.42-4ubuntu1 [245 kB] 395s Get:67 http://ftpmaster.internal/ubuntu noble/main ppc64el libpcre2-32-0 ppc64el 10.42-4ubuntu1 [228 kB] 395s Get:68 http://ftpmaster.internal/ubuntu noble/main ppc64el libpcre2-posix3 ppc64el 10.42-4ubuntu1 [7016 B] 395s Get:69 http://ftpmaster.internal/ubuntu noble/main ppc64el libpcre2-dev ppc64el 10.42-4ubuntu1 [794 kB] 395s Get:70 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libselinux1-dev ppc64el 3.5-2ubuntu1 [192 kB] 395s Get:71 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libmount-dev ppc64el 2.39.3-9ubuntu2 [14.9 kB] 395s Get:72 http://ftpmaster.internal/ubuntu noble/main ppc64el libpkgconf3 ppc64el 1.8.1-2 [36.9 kB] 395s Get:73 http://ftpmaster.internal/ubuntu noble/main ppc64el pkgconf-bin ppc64el 1.8.1-2 [22.0 kB] 395s Get:74 http://ftpmaster.internal/ubuntu noble/main ppc64el pkgconf ppc64el 1.8.1-2 [16.7 kB] 395s Get:75 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg-3.1ubuntu1 [902 kB] 395s Get:76 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libglib2.0-dev ppc64el 2.79.3-3ubuntu5 [2147 kB] 396s Preconfiguring packages ... 396s Fetched 79.6 MB in 3s (28.0 MB/s) 396s (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 ... 69680 files and directories currently installed.) 396s Preparing to unpack .../bsdutils_1%3a2.39.3-9ubuntu2_ppc64el.deb ... 396s Unpacking bsdutils (1:2.39.3-9ubuntu2) over (1:2.39.3-6ubuntu2) ... 396s Setting up bsdutils (1:2.39.3-9ubuntu2) ... 396s (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 ... 69680 files and directories currently installed.) 396s Preparing to unpack .../util-linux_2.39.3-9ubuntu2_ppc64el.deb ... 396s Unpacking util-linux (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 396s Setting up util-linux (2.39.3-9ubuntu2) ... 397s fstrim.service is a disabled or a static unit not running, not starting it. 397s (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 ... 69680 files and directories currently installed.) 397s Preparing to unpack .../gcc-14-base_14-20240315-1ubuntu1_ppc64el.deb ... 397s Unpacking gcc-14-base:ppc64el (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 397s Setting up gcc-14-base:ppc64el (14-20240315-1ubuntu1) ... 397s (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 ... 69680 files and directories currently installed.) 397s Preparing to unpack .../libgcc-s1_14-20240315-1ubuntu1_ppc64el.deb ... 397s Unpacking libgcc-s1:ppc64el (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 397s Setting up libgcc-s1:ppc64el (14-20240315-1ubuntu1) ... 397s (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 ... 69680 files and directories currently installed.) 397s Preparing to unpack .../libstdc++6_14-20240315-1ubuntu1_ppc64el.deb ... 397s Unpacking libstdc++6:ppc64el (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 397s Setting up libstdc++6:ppc64el (14-20240315-1ubuntu1) ... 397s (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 ... 69680 files and directories currently installed.) 397s Preparing to unpack .../libc6_2.39-0ubuntu6_ppc64el.deb ... 397s Unpacking libc6:ppc64el (2.39-0ubuntu6) over (2.39-0ubuntu2) ... 398s Setting up libc6:ppc64el (2.39-0ubuntu6) ... 398s (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 ... 69680 files and directories currently installed.) 398s Preparing to unpack .../libc-bin_2.39-0ubuntu6_ppc64el.deb ... 398s Unpacking libc-bin (2.39-0ubuntu6) over (2.39-0ubuntu2) ... 398s Setting up libc-bin (2.39-0ubuntu6) ... 398s (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 ... 69680 files and directories currently installed.) 398s Preparing to unpack .../zlib1g_1%3a1.3.dfsg-3.1ubuntu1_ppc64el.deb ... 398s Unpacking zlib1g:ppc64el (1:1.3.dfsg-3.1ubuntu1) over (1:1.3.dfsg-3ubuntu1) ... 398s Setting up zlib1g:ppc64el (1:1.3.dfsg-3.1ubuntu1) ... 398s dpkg: libelf1:ppc64el: dependency problems, but removing anyway as you requested: 398s linux-headers-6.8.0-11-generic depends on libelf1 (>= 0.144). 398s libbpf1:ppc64el depends on libelf1 (>= 0.144). 398s iproute2 depends on libelf1 (>= 0.131). 398s 398s (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 ... 69680 files and directories currently installed.) 398s Removing libelf1:ppc64el (0.190-1) ... 398s Selecting previously unselected package libelf1t64:ppc64el. 398s (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 ... 69675 files and directories currently installed.) 398s Preparing to unpack .../libelf1t64_0.190-1.1build2_ppc64el.deb ... 398s Unpacking libelf1t64:ppc64el (0.190-1.1build2) ... 398s Preparing to unpack .../readline-common_8.2-3.1_all.deb ... 398s Unpacking readline-common (8.2-3.1) over (8.2-3) ... 398s Preparing to unpack .../fdisk_2.39.3-9ubuntu2_ppc64el.deb ... 398s Unpacking fdisk (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 398s dpkg: libreadline8:ppc64el: dependency problems, but removing anyway as you requested: 398s parted depends on libreadline8 (>= 6.0). 398s libpython3.12-stdlib:ppc64el depends on libreadline8 (>= 7.0~beta). 398s libpython3.11-stdlib:ppc64el depends on libreadline8 (>= 7.0~beta). 398s gpgsm depends on libreadline8 (>= 6.0). 398s gpgconf depends on libreadline8 (>= 6.0). 398s gpg depends on libreadline8 (>= 6.0). 398s gawk depends on libreadline8 (>= 6.0). 398s bc depends on libreadline8 (>= 6.0). 398s 398s (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 ... 69680 files and directories currently installed.) 398s Removing libreadline8:ppc64el (8.2-3) ... 398s Selecting previously unselected package libreadline8t64:ppc64el. 398s (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 ... 69668 files and directories currently installed.) 398s Preparing to unpack .../libreadline8t64_8.2-3.1_ppc64el.deb ... 398s Adding 'diversion of /lib/powerpc64le-linux-gnu/libhistory.so.8 to /lib/powerpc64le-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64' 398s Adding 'diversion of /lib/powerpc64le-linux-gnu/libhistory.so.8.2 to /lib/powerpc64le-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64' 398s Adding 'diversion of /lib/powerpc64le-linux-gnu/libreadline.so.8 to /lib/powerpc64le-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64' 398s Adding 'diversion of /lib/powerpc64le-linux-gnu/libreadline.so.8.2 to /lib/powerpc64le-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64' 398s Unpacking libreadline8t64:ppc64el (8.2-3.1) ... 398s Preparing to unpack .../mount_2.39.3-9ubuntu2_ppc64el.deb ... 398s Unpacking mount (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 398s Preparing to unpack .../libsmartcols1_2.39.3-9ubuntu2_ppc64el.deb ... 398s Unpacking libsmartcols1:ppc64el (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 398s Setting up libsmartcols1:ppc64el (2.39.3-9ubuntu2) ... 399s (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 ... 69688 files and directories currently installed.) 399s Preparing to unpack .../libuuid1_2.39.3-9ubuntu2_ppc64el.deb ... 399s Unpacking libuuid1:ppc64el (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 399s Setting up libuuid1:ppc64el (2.39.3-9ubuntu2) ... 399s (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 ... 69688 files and directories currently installed.) 399s Preparing to unpack .../uuid-runtime_2.39.3-9ubuntu2_ppc64el.deb ... 399s Unpacking uuid-runtime (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 399s Preparing to unpack .../libblkid1_2.39.3-9ubuntu2_ppc64el.deb ... 399s Unpacking libblkid1:ppc64el (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 399s Setting up libblkid1:ppc64el (2.39.3-9ubuntu2) ... 399s (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 ... 69688 files and directories currently installed.) 399s Preparing to unpack .../libselinux1_3.5-2ubuntu1_ppc64el.deb ... 399s Unpacking libselinux1:ppc64el (3.5-2ubuntu1) over (3.5-2build1) ... 399s Setting up libselinux1:ppc64el (3.5-2ubuntu1) ... 399s (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 ... 69688 files and directories currently installed.) 399s Preparing to unpack .../libmount1_2.39.3-9ubuntu2_ppc64el.deb ... 399s Unpacking libmount1:ppc64el (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 399s Setting up libmount1:ppc64el (2.39.3-9ubuntu2) ... 399s (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 ... 69688 files and directories currently installed.) 399s Preparing to unpack .../00-gcc-13-base_13.2.0-19ubuntu1_ppc64el.deb ... 399s Unpacking gcc-13-base:ppc64el (13.2.0-19ubuntu1) over (13.2.0-17ubuntu2) ... 399s Preparing to unpack .../01-eject_2.39.3-9ubuntu2_ppc64el.deb ... 399s Unpacking eject (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 399s Preparing to unpack .../02-libfdisk1_2.39.3-9ubuntu2_ppc64el.deb ... 399s Unpacking libfdisk1:ppc64el (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 399s Preparing to unpack .../03-libglib2.0-data_2.79.3-3ubuntu5_all.deb ... 399s Unpacking libglib2.0-data (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 399s Preparing to unpack .../04-locales_2.39-0ubuntu6_all.deb ... 399s Unpacking locales (2.39-0ubuntu6) over (2.39-0ubuntu2) ... 399s Preparing to unpack .../05-bsdextrautils_2.39.3-9ubuntu2_ppc64el.deb ... 399s Unpacking bsdextrautils (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 399s Selecting previously unselected package libc-dev-bin. 399s Preparing to unpack .../06-libc-dev-bin_2.39-0ubuntu6_ppc64el.deb ... 399s Unpacking libc-dev-bin (2.39-0ubuntu6) ... 399s Selecting previously unselected package linux-libc-dev:ppc64el. 399s Preparing to unpack .../07-linux-libc-dev_6.8.0-20.20_ppc64el.deb ... 399s Unpacking linux-libc-dev:ppc64el (6.8.0-20.20) ... 399s Selecting previously unselected package libcrypt-dev:ppc64el. 399s Preparing to unpack .../08-libcrypt-dev_1%3a4.4.36-4_ppc64el.deb ... 399s Unpacking libcrypt-dev:ppc64el (1:4.4.36-4) ... 399s Selecting previously unselected package rpcsvc-proto. 399s Preparing to unpack .../09-rpcsvc-proto_1.4.2-0ubuntu6_ppc64el.deb ... 399s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 399s Selecting previously unselected package libc6-dev:ppc64el. 399s Preparing to unpack .../10-libc6-dev_2.39-0ubuntu6_ppc64el.deb ... 399s Unpacking libc6-dev:ppc64el (2.39-0ubuntu6) ... 400s Selecting previously unselected package libisl23:ppc64el. 400s Preparing to unpack .../11-libisl23_0.26-3_ppc64el.deb ... 400s Unpacking libisl23:ppc64el (0.26-3) ... 400s Selecting previously unselected package libmpc3:ppc64el. 400s Preparing to unpack .../12-libmpc3_1.3.1-1_ppc64el.deb ... 400s Unpacking libmpc3:ppc64el (1.3.1-1) ... 400s Selecting previously unselected package cpp-13-powerpc64le-linux-gnu. 400s Preparing to unpack .../13-cpp-13-powerpc64le-linux-gnu_13.2.0-19ubuntu1_ppc64el.deb ... 400s Unpacking cpp-13-powerpc64le-linux-gnu (13.2.0-19ubuntu1) ... 400s Selecting previously unselected package cpp-13. 400s Preparing to unpack .../14-cpp-13_13.2.0-19ubuntu1_ppc64el.deb ... 400s Unpacking cpp-13 (13.2.0-19ubuntu1) ... 400s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 400s Preparing to unpack .../15-cpp-powerpc64le-linux-gnu_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 400s Unpacking cpp-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 400s Selecting previously unselected package cpp. 400s Preparing to unpack .../16-cpp_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 400s Unpacking cpp (4:13.2.0-7ubuntu1) ... 400s Selecting previously unselected package libcc1-0:ppc64el. 400s Preparing to unpack .../17-libcc1-0_14-20240315-1ubuntu1_ppc64el.deb ... 400s Unpacking libcc1-0:ppc64el (14-20240315-1ubuntu1) ... 400s Selecting previously unselected package libgomp1:ppc64el. 400s Preparing to unpack .../18-libgomp1_14-20240315-1ubuntu1_ppc64el.deb ... 400s Unpacking libgomp1:ppc64el (14-20240315-1ubuntu1) ... 400s Selecting previously unselected package libitm1:ppc64el. 400s Preparing to unpack .../19-libitm1_14-20240315-1ubuntu1_ppc64el.deb ... 400s Unpacking libitm1:ppc64el (14-20240315-1ubuntu1) ... 400s Selecting previously unselected package libatomic1:ppc64el. 400s Preparing to unpack .../20-libatomic1_14-20240315-1ubuntu1_ppc64el.deb ... 400s Unpacking libatomic1:ppc64el (14-20240315-1ubuntu1) ... 400s Selecting previously unselected package libasan8:ppc64el. 400s Preparing to unpack .../21-libasan8_14-20240315-1ubuntu1_ppc64el.deb ... 400s Unpacking libasan8:ppc64el (14-20240315-1ubuntu1) ... 400s Selecting previously unselected package liblsan0:ppc64el. 400s Preparing to unpack .../22-liblsan0_14-20240315-1ubuntu1_ppc64el.deb ... 400s Unpacking liblsan0:ppc64el (14-20240315-1ubuntu1) ... 400s Selecting previously unselected package libtsan2:ppc64el. 400s Preparing to unpack .../23-libtsan2_14-20240315-1ubuntu1_ppc64el.deb ... 400s Unpacking libtsan2:ppc64el (14-20240315-1ubuntu1) ... 400s Selecting previously unselected package libubsan1:ppc64el. 400s Preparing to unpack .../24-libubsan1_14-20240315-1ubuntu1_ppc64el.deb ... 400s Unpacking libubsan1:ppc64el (14-20240315-1ubuntu1) ... 400s Selecting previously unselected package libquadmath0:ppc64el. 400s Preparing to unpack .../25-libquadmath0_14-20240315-1ubuntu1_ppc64el.deb ... 400s Unpacking libquadmath0:ppc64el (14-20240315-1ubuntu1) ... 400s Selecting previously unselected package libgcc-13-dev:ppc64el. 400s Preparing to unpack .../26-libgcc-13-dev_13.2.0-19ubuntu1_ppc64el.deb ... 400s Unpacking libgcc-13-dev:ppc64el (13.2.0-19ubuntu1) ... 400s Selecting previously unselected package gcc-13-powerpc64le-linux-gnu. 400s Preparing to unpack .../27-gcc-13-powerpc64le-linux-gnu_13.2.0-19ubuntu1_ppc64el.deb ... 400s Unpacking gcc-13-powerpc64le-linux-gnu (13.2.0-19ubuntu1) ... 401s Selecting previously unselected package gcc-13. 401s Preparing to unpack .../28-gcc-13_13.2.0-19ubuntu1_ppc64el.deb ... 401s Unpacking gcc-13 (13.2.0-19ubuntu1) ... 401s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 401s Preparing to unpack .../29-gcc-powerpc64le-linux-gnu_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 401s Unpacking gcc-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 401s Selecting previously unselected package gcc. 401s Preparing to unpack .../30-gcc_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 401s Unpacking gcc (4:13.2.0-7ubuntu1) ... 401s Selecting previously unselected package libstdc++-13-dev:ppc64el. 401s Preparing to unpack .../31-libstdc++-13-dev_13.2.0-19ubuntu1_ppc64el.deb ... 401s Unpacking libstdc++-13-dev:ppc64el (13.2.0-19ubuntu1) ... 401s Selecting previously unselected package g++-13-powerpc64le-linux-gnu. 401s Preparing to unpack .../32-g++-13-powerpc64le-linux-gnu_13.2.0-19ubuntu1_ppc64el.deb ... 401s Unpacking g++-13-powerpc64le-linux-gnu (13.2.0-19ubuntu1) ... 401s Selecting previously unselected package g++-13. 401s Preparing to unpack .../33-g++-13_13.2.0-19ubuntu1_ppc64el.deb ... 401s Unpacking g++-13 (13.2.0-19ubuntu1) ... 401s Selecting previously unselected package g++-powerpc64le-linux-gnu. 401s Preparing to unpack .../34-g++-powerpc64le-linux-gnu_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 401s Unpacking g++-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 401s Selecting previously unselected package g++. 401s Preparing to unpack .../35-g++_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 401s Unpacking g++ (4:13.2.0-7ubuntu1) ... 401s Selecting previously unselected package build-essential. 401s Preparing to unpack .../36-build-essential_12.10ubuntu1_ppc64el.deb ... 401s Unpacking build-essential (12.10ubuntu1) ... 401s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 401s Preparing to unpack .../37-libgirepository-2.0-0_2.79.3-3ubuntu5_ppc64el.deb ... 401s Unpacking libgirepository-2.0-0:ppc64el (2.79.3-3ubuntu5) ... 401s Selecting previously unselected package libglib2.0-bin. 401s Preparing to unpack .../38-libglib2.0-bin_2.79.3-3ubuntu5_ppc64el.deb ... 401s Unpacking libglib2.0-bin (2.79.3-3ubuntu5) ... 401s Selecting previously unselected package libffi-dev:ppc64el. 401s Preparing to unpack .../39-libffi-dev_3.4.6-1_ppc64el.deb ... 401s Unpacking libffi-dev:ppc64el (3.4.6-1) ... 401s Selecting previously unselected package python3-packaging. 401s Preparing to unpack .../40-python3-packaging_23.2-1_all.deb ... 401s Unpacking python3-packaging (23.2-1) ... 401s Selecting previously unselected package libglib2.0-dev-bin. 401s Preparing to unpack .../41-libglib2.0-dev-bin_2.79.3-3ubuntu5_ppc64el.deb ... 401s Unpacking libglib2.0-dev-bin (2.79.3-3ubuntu5) ... 401s Selecting previously unselected package uuid-dev:ppc64el. 401s Preparing to unpack .../42-uuid-dev_2.39.3-9ubuntu2_ppc64el.deb ... 402s Unpacking uuid-dev:ppc64el (2.39.3-9ubuntu2) ... 402s Selecting previously unselected package libblkid-dev:ppc64el. 402s Preparing to unpack .../43-libblkid-dev_2.39.3-9ubuntu2_ppc64el.deb ... 402s Unpacking libblkid-dev:ppc64el (2.39.3-9ubuntu2) ... 402s Selecting previously unselected package libsepol-dev:ppc64el. 402s Preparing to unpack .../44-libsepol-dev_3.5-2_ppc64el.deb ... 402s Unpacking libsepol-dev:ppc64el (3.5-2) ... 402s Selecting previously unselected package libpcre2-16-0:ppc64el. 402s Preparing to unpack .../45-libpcre2-16-0_10.42-4ubuntu1_ppc64el.deb ... 402s Unpacking libpcre2-16-0:ppc64el (10.42-4ubuntu1) ... 402s Selecting previously unselected package libpcre2-32-0:ppc64el. 402s Preparing to unpack .../46-libpcre2-32-0_10.42-4ubuntu1_ppc64el.deb ... 402s Unpacking libpcre2-32-0:ppc64el (10.42-4ubuntu1) ... 402s Selecting previously unselected package libpcre2-posix3:ppc64el. 402s Preparing to unpack .../47-libpcre2-posix3_10.42-4ubuntu1_ppc64el.deb ... 402s Unpacking libpcre2-posix3:ppc64el (10.42-4ubuntu1) ... 402s Selecting previously unselected package libpcre2-dev:ppc64el. 402s Preparing to unpack .../48-libpcre2-dev_10.42-4ubuntu1_ppc64el.deb ... 402s Unpacking libpcre2-dev:ppc64el (10.42-4ubuntu1) ... 402s Selecting previously unselected package libselinux1-dev:ppc64el. 402s Preparing to unpack .../49-libselinux1-dev_3.5-2ubuntu1_ppc64el.deb ... 402s Unpacking libselinux1-dev:ppc64el (3.5-2ubuntu1) ... 402s Selecting previously unselected package libmount-dev:ppc64el. 402s Preparing to unpack .../50-libmount-dev_2.39.3-9ubuntu2_ppc64el.deb ... 402s Unpacking libmount-dev:ppc64el (2.39.3-9ubuntu2) ... 402s Selecting previously unselected package libpkgconf3:ppc64el. 402s Preparing to unpack .../51-libpkgconf3_1.8.1-2_ppc64el.deb ... 402s Unpacking libpkgconf3:ppc64el (1.8.1-2) ... 402s Selecting previously unselected package pkgconf-bin. 402s Preparing to unpack .../52-pkgconf-bin_1.8.1-2_ppc64el.deb ... 402s Unpacking pkgconf-bin (1.8.1-2) ... 402s Selecting previously unselected package pkgconf:ppc64el. 402s Preparing to unpack .../53-pkgconf_1.8.1-2_ppc64el.deb ... 402s Unpacking pkgconf:ppc64el (1.8.1-2) ... 402s Selecting previously unselected package zlib1g-dev:ppc64el. 402s Preparing to unpack .../54-zlib1g-dev_1%3a1.3.dfsg-3.1ubuntu1_ppc64el.deb ... 402s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg-3.1ubuntu1) ... 402s Selecting previously unselected package libglib2.0-dev:ppc64el. 402s Preparing to unpack .../55-libglib2.0-dev_2.79.3-3ubuntu5_ppc64el.deb ... 402s Unpacking libglib2.0-dev:ppc64el (2.79.3-3ubuntu5) ... 402s Selecting previously unselected package autopkgtest-satdep. 402s Preparing to unpack .../56-1-autopkgtest-satdep.deb ... 402s Unpacking autopkgtest-satdep (0) ... 402s Setting up bsdextrautils (2.39.3-9ubuntu2) ... 402s Setting up libgirepository-2.0-0:ppc64el (2.79.3-3ubuntu5) ... 402s Setting up linux-libc-dev:ppc64el (6.8.0-20.20) ... 402s Setting up libgomp1:ppc64el (14-20240315-1ubuntu1) ... 402s Setting up libffi-dev:ppc64el (3.4.6-1) ... 402s Setting up locales (2.39-0ubuntu6) ... 402s Generating locales (this might take a while)... 404s en_US.UTF-8... done 404s Generation complete. 404s Setting up libpcre2-16-0:ppc64el (10.42-4ubuntu1) ... 404s Setting up libelf1t64:ppc64el (0.190-1.1build2) ... 404s Setting up eject (2.39.3-9ubuntu2) ... 404s Setting up libpcre2-32-0:ppc64el (10.42-4ubuntu1) ... 404s Setting up libglib2.0-data (2.79.3-3ubuntu5) ... 404s Setting up python3-packaging (23.2-1) ... 404s Setting up libpkgconf3:ppc64el (1.8.1-2) ... 404s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 404s Setting up gcc-13-base:ppc64el (13.2.0-19ubuntu1) ... 404s Setting up libquadmath0:ppc64el (14-20240315-1ubuntu1) ... 404s Setting up libmpc3:ppc64el (1.3.1-1) ... 404s Setting up libatomic1:ppc64el (14-20240315-1ubuntu1) ... 404s Setting up libsepol-dev:ppc64el (3.5-2) ... 404s Setting up pkgconf-bin (1.8.1-2) ... 404s Setting up libfdisk1:ppc64el (2.39.3-9ubuntu2) ... 404s Setting up libubsan1:ppc64el (14-20240315-1ubuntu1) ... 404s Setting up libpcre2-posix3:ppc64el (10.42-4ubuntu1) ... 404s Setting up mount (2.39.3-9ubuntu2) ... 404s Setting up uuid-runtime (2.39.3-9ubuntu2) ... 405s uuidd.service is a disabled or a static unit not running, not starting it. 405s Setting up libcrypt-dev:ppc64el (1:4.4.36-4) ... 405s Setting up libasan8:ppc64el (14-20240315-1ubuntu1) ... 405s Setting up libtsan2:ppc64el (14-20240315-1ubuntu1) ... 405s Setting up libisl23:ppc64el (0.26-3) ... 405s Setting up libc-dev-bin (2.39-0ubuntu6) ... 405s Setting up cpp-13-powerpc64le-linux-gnu (13.2.0-19ubuntu1) ... 405s Setting up readline-common (8.2-3.1) ... 405s Setting up libcc1-0:ppc64el (14-20240315-1ubuntu1) ... 405s Setting up liblsan0:ppc64el (14-20240315-1ubuntu1) ... 405s Setting up libitm1:ppc64el (14-20240315-1ubuntu1) ... 405s Setting up cpp-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 405s Setting up libglib2.0-dev-bin (2.79.3-3ubuntu5) ... 405s Setting up cpp-13 (13.2.0-19ubuntu1) ... 405s Setting up libglib2.0-bin (2.79.3-3ubuntu5) ... 405s Setting up pkgconf:ppc64el (1.8.1-2) ... 405s Setting up libreadline8t64:ppc64el (8.2-3.1) ... 405s Setting up libgcc-13-dev:ppc64el (13.2.0-19ubuntu1) ... 405s Setting up cpp (4:13.2.0-7ubuntu1) ... 405s Setting up libc6-dev:ppc64el (2.39-0ubuntu6) ... 405s Setting up libstdc++-13-dev:ppc64el (13.2.0-19ubuntu1) ... 405s Setting up libpcre2-dev:ppc64el (10.42-4ubuntu1) ... 405s Setting up libselinux1-dev:ppc64el (3.5-2ubuntu1) ... 405s Setting up fdisk (2.39.3-9ubuntu2) ... 405s Setting up uuid-dev:ppc64el (2.39.3-9ubuntu2) ... 405s Setting up gcc-13-powerpc64le-linux-gnu (13.2.0-19ubuntu1) ... 405s Setting up gcc-13 (13.2.0-19ubuntu1) ... 405s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg-3.1ubuntu1) ... 405s Setting up libblkid-dev:ppc64el (2.39.3-9ubuntu2) ... 405s Setting up g++-13-powerpc64le-linux-gnu (13.2.0-19ubuntu1) ... 405s Setting up gcc-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 405s Setting up libmount-dev:ppc64el (2.39.3-9ubuntu2) ... 405s Setting up g++-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 405s Setting up g++-13 (13.2.0-19ubuntu1) ... 405s Setting up gcc (4:13.2.0-7ubuntu1) ... 405s Setting up libglib2.0-dev:ppc64el (2.79.3-3ubuntu5) ... 405s Setting up g++ (4:13.2.0-7ubuntu1) ... 405s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 405s Setting up build-essential (12.10ubuntu1) ... 405s Processing triggers for libc-bin (2.39-0ubuntu6) ... 405s Processing triggers for man-db (2.12.0-3) ... 406s Processing triggers for libglib2.0-0t64:ppc64el (2.79.3-3ubuntu5) ... 406s No schema files found: doing nothing. 406s Processing triggers for install-info (7.1-3) ... 406s Setting up autopkgtest-satdep (0) ... 409s (Reading database ... 73416 files and directories currently installed.) 409s Removing autopkgtest-satdep (0) ... 409s autopkgtest [18:29:01]: test build: [----------------------- 409s + mode=dynamic 409s + getopt -o --long static -n debian/tests/build -- 409s + getopt_temp= -- 409s + eval set -- -- 409s + set -- -- 409s + true 409s + shift 409s + break 409s + mktemp -d 409s + WORKDIR=/tmp/tmp.IH9nkalHgw 409s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 409s + cd /tmp/tmp.IH9nkalHgw 409s + [ -n ] 409s + CROSS_COMPILE= 409s + cat 409s + cat 409s + cat 409s + cat 409s + cat 409s + cat 409s + cflags= 409s + pcflags= 409s + packages=glib-2.0 409s + pkg-config --cflags --libs glib-2.0 409s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -lglib-2.0 409s + echo build (glib, dynamic): OK 409s + [ -x glib-dynamic ] 409s + foo=bar ./glib-dynamic 409s build (glib, dynamic): OK 409s run (glib, dynamic): OK 409s + echo run (glib, dynamic): OK 409s + cflags= 409s + pcflags= 409s + packages=gobject-2.0 409s + pkg-config --cflags --libs gobject-2.0 409s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -lgobject-2.0 -lglib-2.0 410s build (gobject, dynamic): OK 410s + echo build (gobject, dynamic): OK 410s + [ -x gobject-dynamic ] 410s + foo=bar ./gobject-dynamic 410s + echo run (gobject, dynamic): OK 410s + cflags= 410s + pcflags= 410s + packages=gio-2.0 410s + pkg-configrun (gobject, dynamic): OK 410s --cflags --libs gio-2.0 410s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -lgio-2.0 -lgobject-2.0 -lglib-2.0 410s build (gio, dynamic): OK 410s + echo build (gio, dynamic): OK 410s + [ -x gio-dynamic ] 410s + foo=bar ./gio-dynamic 410s + echo run (gio, dynamic): OK 410s run (gio, dynamic): OK 410s + cflags= 410s + pcflags= 410s + packages=gio-unix-2.0 410s + pkg-config --cflags --libs gio-unix-2.0 410s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -lgio-2.0 -lgobject-2.0 -lglib-2.0 410s + echo build (gio-unix, dynamic): OKbuild (gio-unix, dynamic): OK 410s 410s + [ -x gio-unix-dynamic ] 410s + foo=bar ./gio-unix-dynamic 410s + echorun (gio-unix, dynamic): OK 410s run (gio-unix, dynamic): OK 410s + cflags= 410s + pcflags= 410s + packages=gmodule-2.0 410s + pkg-config --cflags --libs gmodule-2.0 410s + gcc -o gmodule-dynamic gmodule.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 410s build (gmodule, dynamic): OK 410s + echo build (gmodule, dynamic): OK 410s + [ -x gmodule-dynamic ] 410s + foo=bar ./gmodule-dynamic 410s + echo run (gmodule, dynamic): OK 410s + cflags= 410s + pcflags= 410s + packages=gthread-2.0 410s + pkg-config --cflags --libs gthread-2.0 410s + gcc -o gthread-dynamic gthread.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -lgthread-2.0 -pthread -lglib-2.0 410s run (gmodule, dynamic): OK 410s + build (gthread, dynamic): OK 410s echo build (gthread, dynamic): OK 410s + [ -x gthread-dynamic ] 410s + foo=bar ./gthread-dynamic 410s run (gthread, dynamic): OK 410s + echo run (gthread, dynamic): OK 410s + rm -rf /tmp/tmp.IH9nkalHgw 410s autopkgtest [18:29:02]: test build: -----------------------] 411s build PASS (superficial) 411s autopkgtest [18:29:03]: test build: - - - - - - - - - - results - - - - - - - - - - 411s autopkgtest [18:29:03]: test build-static: preparing testbed 415s Reading package lists... 416s Building dependency tree... 416s Reading state information... 416s Starting pkgProblemResolver with broken count: 0 416s Starting 2 pkgProblemResolver with broken count: 0 416s Done 416s The following NEW packages will be installed: 416s autopkgtest-satdep 416s 0 upgraded, 1 newly installed, 0 to remove and 221 not upgraded. 416s Need to get 0 B/724 B of archives. 416s After this operation, 0 B of additional disk space will be used. 416s Get:1 /tmp/autopkgtest.lortaT/2-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [724 B] 416s Selecting previously unselected package autopkgtest-satdep. 416s (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 ... 73416 files and directories currently installed.) 416s Preparing to unpack .../2-autopkgtest-satdep.deb ... 416s Unpacking autopkgtest-satdep (0) ... 416s Setting up autopkgtest-satdep (0) ... 418s (Reading database ... 73416 files and directories currently installed.) 418s Removing autopkgtest-satdep (0) ... 419s autopkgtest [18:29:11]: test build-static: [----------------------- 419s + mode=dynamic 419s + getopt -o --long static -n debian/tests/build -- --static 419s + getopt_temp= --static -- 419s + eval set -- --static -- 419s + set -- --static -- 419s + true 419s + mode=static 419s + shift 419s + continue 419s + true 419s + shift 419s + break 419s + mktemp -d 419s + WORKDIR=/tmp/tmp.bSfQP9tVov 419s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 419s + cd /tmp/tmp.bSfQP9tVov 419s + [ -n ] 419s + CROSS_COMPILE= 419s + cat 419s + cat 419s + cat 419s + cat 419s + cat 419s + cat 419s + cflags= 419s + pcflags= 419s + packages=glib-2.0 419s + cflags=-static 419s + pcflags=--static 419s + pkg-config --static --cflags --libs glib-2.0 419s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -lglib-2.0 -lm -pthread -lpcre2-8 419s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/13/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 419s (.text+0x170): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 419s /usr/bin/ld: (.text+0x448): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 419s /usr/bin/ld: (.text+0x1b4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 419s + echo build (glib, static): OK 419s + [ -x glib-static ] 419s + foo=bar ./glib-static 419s + echo run (glib, static): OK 419s + cflags= 419s + pcflags= 419s + packages=gobject-2.0 419s + cflags=-static 419s + pcflags=--static 419s + build (glib, static): OK 419s run (glib, static): OK 419s pkg-config --static --cflags --libs gobject-2.0 419s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -lgobject-2.0 -lglib-2.0 -lm -pthread -lpcre2-8 -lffi 419s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/13/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 419s (.text+0x170): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 419s /usr/bin/ld: (.text+0x448): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 419s /usr/bin/ld: (.text+0x1b4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 419s + echo build (gobject, static): OK 419s + [build (gobject, static): OK 419s -x gobject-static ] 419s + foo=bar ./gobject-static 419s + echorun (gobject, static): OK 419s run (gobject, static): OK 419s + cflags= 419s + pcflags= 419s + packages=gio-2.0 419s + cflags=-static 419s + pcflags=--static 419s + continue 419s + cflags= 419s + pcflags= 419s + packages=gio-unix-2.0 419s + cflags=-static 419s + pcflags=--static 419s + continue 419s + cflags= 419s + pcflags= 419s + packages=gmodule-2.0 419s + cflags=-static 419s + pcflags=--static 419s + pkg-config --static --cflags --libs gmodule-2.0 419s + gcc -static -o gmodule-static gmodule.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-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 419s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/13/../../../powerpc64le-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 419s (.text+0x9b8): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 419s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/13/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 419s (.text+0x170): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 419s /usr/bin/ld: (.text+0x448): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 419s /usr/bin/ld: (.text+0x1b4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 419s + echo build (gmodule, static): OK 419s + build (gmodule, static): OK 419s [ -x gmodule-static ] 419s + foo=bar ./gmodule-static 419s + echo run (gmodule, static): OK 419s + cflags= 419s + pcflags= 419s + packages=gthread-2.0 419s + cflags=-static 419s + pcflags=--static 419s run (gmodule, static): OK 419s + pkg-config --static --cflags --libs gthread-2.0 419s + gcc -static -o gthread-static gthread.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -lgthread-2.0 -pthread -lglib-2.0 -lm -pthread -lpcre2-8 419s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/13/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 419s (.text+0x170): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 419s /usr/bin/ld: (.text+0x448): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 419s /usr/bin/ld: (.text+0x1b4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 419s build (gthread, static): OK 419s + echo build (gthread, static): OK 419s + [ -x gthread-static ] 419s + foo=bar ./gthread-static 419s + echo run (gthread, static): OK 419s run (gthread, static): OK 419s + rm -rf /tmp/tmp.bSfQP9tVov 420s autopkgtest [18:29:12]: test build-static: -----------------------] 420s build-static PASS (superficial) 420s autopkgtest [18:29:12]: test build-static: - - - - - - - - - - results - - - - - - - - - - 421s autopkgtest [18:29:13]: test installed-tests: preparing testbed 530s autopkgtest [18:31:02]: testbed dpkg architecture: ppc64el 530s autopkgtest [18:31:02]: testbed apt version: 2.7.12 530s autopkgtest [18:31:02]: @@@@@@@@@@@@@@@@@@@@ test bed setup 534s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 534s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [53.9 kB] 534s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 534s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3809 kB] 534s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [501 kB] 534s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el Packages [686 kB] 534s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el c-n-f Metadata [3116 B] 534s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el Packages [1372 B] 534s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el c-n-f Metadata [116 B] 534s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el Packages [4160 kB] 534s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el c-n-f Metadata [8652 B] 534s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el Packages [58.6 kB] 534s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el c-n-f Metadata [116 B] 535s Fetched 9405 kB in 2s (4175 kB/s) 536s Reading package lists... 538s Reading package lists... 538s Building dependency tree... 538s Reading state information... 538s Calculating upgrade... 538s The following packages were automatically installed and are no longer required: 538s apport-symptoms libgirepository-1.0-1 python3-apport python3-httplib2 538s python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri 538s python3-problem-report python3-pyparsing python3-six python3-systemd 538s python3-wadllib 538s Use 'sudo apt autoremove' to remove them. 538s The following packages will be REMOVED: 538s apport apport-core-dump-handler gir1.2-girepository-2.0 gir1.2-glib-2.0 538s libglib2.0-0 networkd-dispatcher python3-gi 538s The following NEW packages will be installed: 539s libglib2.0-0t64 xdg-user-dirs 539s The following packages will be upgraded: 539s shared-mime-info 539s 1 upgraded, 2 newly installed, 7 to remove and 0 not upgraded. 539s Need to get 2274 kB of archives. 539s After this operation, 2973 kB disk space will be freed. 539s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el shared-mime-info ppc64el 2.4-1build1 [481 kB] 539s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libglib2.0-0t64 ppc64el 2.79.3-3ubuntu5 [1773 kB] 539s Get:3 http://ftpmaster.internal/ubuntu noble/main ppc64el xdg-user-dirs ppc64el 0.18-1 [20.0 kB] 539s Fetched 2274 kB in 1s (3343 kB/s) 540s (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 ... 70095 files and directories currently installed.) 540s Removing networkd-dispatcher (2.2.4-1) ... 540s Removing apport-core-dump-handler (2.28.0-0ubuntu1) ... 540s Removing apport (2.28.0-0ubuntu1) ... 541s Removing python3-gi (3.47.0-3) ... 541s Removing gir1.2-girepository-2.0:ppc64el (1.79.1-1) ... 541s Removing gir1.2-glib-2.0:ppc64el (2.79.2-1~ubuntu1) ... 541s (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 ... 69926 files and directories currently installed.) 541s Preparing to unpack .../shared-mime-info_2.4-1build1_ppc64el.deb ... 541s Unpacking shared-mime-info (2.4-1build1) over (2.4-1) ... 541s dpkg: libglib2.0-0:ppc64el: dependency problems, but removing anyway as you requested: 541s udisks2 depends on libglib2.0-0 (>= 2.77.0). 541s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 541s netplan.io depends on libglib2.0-0 (>= 2.70.0). 541s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 541s libxmlb2:ppc64el depends on libglib2.0-0 (>= 2.54.0). 541s libvolume-key1:ppc64el depends on libglib2.0-0 (>= 2.18.0). 541s libudisks2-0:ppc64el depends on libglib2.0-0 (>= 2.75.3). 541s libqrtr-glib0:ppc64el depends on libglib2.0-0 (>= 2.56). 541s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 541s libqmi-glib5:ppc64el depends on libglib2.0-0 (>= 2.54.0). 541s libpolkit-gobject-1-0:ppc64el depends on libglib2.0-0 (>= 2.38.0). 541s libpolkit-agent-1-0:ppc64el depends on libglib2.0-0 (>= 2.38.0). 541s libnetplan0:ppc64el depends on libglib2.0-0 (>= 2.75.3). 541s libmm-glib0:ppc64el depends on libglib2.0-0 (>= 2.62.0). 541s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 541s libmbim-glib4:ppc64el depends on libglib2.0-0 (>= 2.56). 541s libjson-glib-1.0-0:ppc64el depends on libglib2.0-0 (>= 2.75.3). 541s libjcat1:ppc64el depends on libglib2.0-0 (>= 2.75.3). 541s libgusb2:ppc64el depends on libglib2.0-0 (>= 2.75.3). 541s libgudev-1.0-0:ppc64el depends on libglib2.0-0 (>= 2.38.0). 541s libgirepository-1.0-1:ppc64el depends on libglib2.0-0 (>= 2.79.0). 541s libfwupd2:ppc64el depends on libglib2.0-0 (>= 2.79.0). 541s libblockdev3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 541s libblockdev-utils3:ppc64el depends on libglib2.0-0 (>= 2.75.3). 541s libblockdev-swap3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 541s libblockdev-part3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 541s libblockdev-nvme3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 541s libblockdev-mdraid3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 541s libblockdev-loop3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 541s libblockdev-fs3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 541s libblockdev-crypto3:ppc64el depends on libglib2.0-0 (>= 2.42.2). 541s fwupd depends on libglib2.0-0 (>= 2.79.0). 541s bolt depends on libglib2.0-0 (>= 2.56.0). 541s 541s (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 ... 69926 files and directories currently installed.) 541s Removing libglib2.0-0:ppc64el (2.79.2-1~ubuntu1) ... 541s Selecting previously unselected package libglib2.0-0t64:ppc64el. 541s (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 ... 69901 files and directories currently installed.) 541s Preparing to unpack .../libglib2.0-0t64_2.79.3-3ubuntu5_ppc64el.deb ... 541s libglib2.0-0t64.preinst: Removing /var/lib/dpkg/info/libglib2.0-0:ppc64el.postrm to avoid loss of /usr/share/glib-2.0/schemas/gschemas.compiled... 541s removed '/var/lib/dpkg/info/libglib2.0-0:ppc64el.postrm' 541s Unpacking libglib2.0-0t64:ppc64el (2.79.3-3ubuntu5) ... 541s Selecting previously unselected package xdg-user-dirs. 541s Preparing to unpack .../xdg-user-dirs_0.18-1_ppc64el.deb ... 541s Unpacking xdg-user-dirs (0.18-1) ... 541s Setting up xdg-user-dirs (0.18-1) ... 541s Setting up libglib2.0-0t64:ppc64el (2.79.3-3ubuntu5) ... 541s No schema files found: doing nothing. 541s Setting up shared-mime-info (2.4-1build1) ... 542s Processing triggers for man-db (2.12.0-3) ... 542s Processing triggers for libc-bin (2.39-0ubuntu2) ... 543s Reading package lists... 543s Building dependency tree... 543s Reading state information... 544s The following packages will be REMOVED: 544s apport-symptoms* libgirepository-1.0-1* python3-apport* python3-httplib2* 544s python3-launchpadlib* python3-lazr.restfulclient* python3-lazr.uri* 544s python3-problem-report* python3-pyparsing* python3-six* python3-systemd* 544s python3-wadllib* 544s 0 upgraded, 0 newly installed, 12 to remove and 0 not upgraded. 544s After this operation, 4758 kB disk space will be freed. 544s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 69940 files and directories currently installed.) 544s Removing apport-symptoms (0.24) ... 544s Removing libgirepository-1.0-1:ppc64el (1.79.1-1) ... 544s Removing python3-apport (2.28.0-0ubuntu1) ... 544s Removing python3-launchpadlib (1.11.0-6) ... 544s Removing python3-lazr.restfulclient (0.14.6-1) ... 544s Removing python3-httplib2 (0.20.4-3) ... 544s Removing python3-wadllib (1.3.6-5) ... 544s Removing python3-lazr.uri (1.0.6-3) ... 544s Removing python3-problem-report (2.28.0-0ubuntu1) ... 544s Removing python3-pyparsing (3.1.1-1) ... 544s Removing python3-six (1.16.0-4) ... 544s Removing python3-systemd (235-1build3) ... 544s Processing triggers for libc-bin (2.39-0ubuntu2) ... 544s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 69680 files and directories currently installed.) 544s Purging configuration files for python3-launchpadlib (1.11.0-6) ... 544s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 544s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 545s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 545s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 546s Reading package lists... 546s Reading package lists... 546s Building dependency tree... 546s Reading state information... 546s Calculating upgrade... 546s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 546s Reading package lists... 546s Building dependency tree... 546s Reading state information... 547s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 547s autopkgtest [18:31:19]: rebooting testbed after setup commands that affected boot 712s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 729s Reading package lists... 729s Building dependency tree... 729s Reading state information... 730s Starting pkgProblemResolver with broken count: 5 730s Starting 2 pkgProblemResolver with broken count: 5 730s Investigating (0) gir1.2-glib-2.0:ppc64el < none -> 2.79.2-1~ubuntu1 @un puN Ib > 730s Broken gir1.2-glib-2.0:ppc64el Depends on libglib2.0-0:ppc64el < none @rc pmH > (= 2.79.2-1~ubuntu1) 730s Considering libglib2.0-0:ppc64el 0 as a solution to gir1.2-glib-2.0:ppc64el 10 730s Investigating (0) libgirepository-2.0-0:ppc64el < none -> 2.79.2-1~ubuntu1 @un puN Ib > 730s Broken libgirepository-2.0-0:ppc64el Depends on libglib2.0-0:ppc64el < none @rc pmH > (= 2.79.2-1~ubuntu1) 730s Considering libglib2.0-0:ppc64el 0 as a solution to libgirepository-2.0-0:ppc64el 1 730s Investigating (0) libglib2.0-bin:ppc64el < none -> 2.79.2-1~ubuntu1 @un puN Ib > 730s Broken libglib2.0-bin:ppc64el Depends on libglib2.0-0:ppc64el < none @rc pmH > (= 2.79.2-1~ubuntu1) 730s Considering libglib2.0-0:ppc64el 0 as a solution to libglib2.0-bin:ppc64el 0 730s Investigating (0) libglib2.0-dev-bin:ppc64el < none -> 2.79.2-1~ubuntu1 @un puN Ib > 730s Broken libglib2.0-dev-bin:ppc64el Depends on libglib2.0-0:ppc64el < none @rc pmH > (= 2.79.2-1~ubuntu1) 730s Considering libglib2.0-0:ppc64el 0 as a solution to libglib2.0-dev-bin:ppc64el 0 730s Investigating (0) libglib2.0-tests:ppc64el < none -> 2.79.2-1~ubuntu1 @un puN Ib > 730s Broken libglib2.0-tests:ppc64el Depends on libglib2.0-0:ppc64el < none @rc pmH > (= 2.79.2-1~ubuntu1) 730s Considering libglib2.0-0:ppc64el 0 as a solution to libglib2.0-tests:ppc64el 0 730s Done 730s Some packages could not be installed. This may mean that you have 730s requested an impossible situation or if you are using the unstable 730s distribution that some required packages have not yet been created 730s or been moved out of Incoming. 730s The following information may help to resolve the situation: 730s 730s The following packages have unmet dependencies: 730s gir1.2-glib-2.0 : Depends: libglib2.0-0 (= 2.79.2-1~ubuntu1) 730s libgirepository-2.0-0 : Depends: libglib2.0-0 (= 2.79.2-1~ubuntu1) 730s libglib2.0-bin : Depends: libglib2.0-0 (= 2.79.2-1~ubuntu1) 730s libglib2.0-dev-bin : Depends: libglib2.0-0 (= 2.79.2-1~ubuntu1) 730s libglib2.0-tests : Depends: libglib2.0-0 (= 2.79.2-1~ubuntu1) 730s E: Unable to correct problems, you have held broken packages. 730s autopkgtest: WARNING: Test dependencies are unsatisfiable with using apt pinning. Retrying with using all packages from noble-proposed 730s Reading package lists... 731s Building dependency tree... 731s Reading state information... 731s Starting pkgProblemResolver with broken count: 0 731s Starting 2 pkgProblemResolver with broken count: 0 731s Done 731s The following additional packages will be installed: 731s dbus dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common 731s dbus-user-session dbus-x11 desktop-file-utils gir1.2-girepository-2.0 731s gir1.2-glib-2.0 gnome-desktop-testing libdbus-1-3 libdrm-amdgpu1 731s libdrm-nouveau2 libdrm-radeon1 libelf1t64 libfontenc1 libgirepository-1.0-1 731s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin 731s libglib2.0-data libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 731s libglx0 libice6 libllvm17t64 libpixman-1-0 libsm6 libunwind8 libvulkan1 731s libx11-xcb1 libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 731s libxcb-randr0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 731s libxkbfile1 libxmu6 libxmuu1 libxpm4 libxrandr2 libxrender1 libxshmfence1 731s libxt6t64 libxxf86vm1 python3-dbusmock python3-gi python3-packaging 731s x11-common x11-xkb-utils xserver-common xvfb 731s Suggested packages: 731s libgdk-pixbuf2.0-bin libxml2-utils python3-pytest 731s Recommended packages: 731s libgl1-amber-dri xdg-desktop-portal mesa-vulkan-drivers | vulkan-icd 731s xfonts-base 731s The following packages will be REMOVED: 731s libelf1 731s The following NEW packages will be installed: 731s autopkgtest-satdep dbus-x11 desktop-file-utils gir1.2-girepository-2.0 731s gir1.2-glib-2.0 gnome-desktop-testing libdrm-amdgpu1 libdrm-nouveau2 731s libdrm-radeon1 libelf1t64 libfontenc1 libgirepository-1.0-1 731s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin 731s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 731s libllvm17t64 libpixman-1-0 libsm6 libunwind8 libvulkan1 libx11-xcb1 libxaw7 731s libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 731s libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 731s libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 731s python3-dbusmock python3-gi python3-packaging x11-common x11-xkb-utils 731s xserver-common xvfb 731s The following packages will be upgraded: 731s dbus dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common 731s dbus-user-session libdbus-1-3 libglib2.0-data libxmuu1 731s 9 upgraded, 55 newly installed, 1 to remove and 235 not upgraded. 731s Need to get 40.7 MB/40.7 MB of archives. 731s After this operation, 214 MB of additional disk space will be used. 731s Get:1 /tmp/autopkgtest.lortaT/3-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 731s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libelf1t64 ppc64el 0.190-1.1build2 [69.3 kB] 731s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el dbus-system-bus-common all 1.14.10-4ubuntu2 [81.5 kB] 731s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el dbus-session-bus-common all 1.14.10-4ubuntu2 [80.3 kB] 732s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el dbus-user-session ppc64el 1.14.10-4ubuntu2 [9960 B] 732s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el dbus-daemon ppc64el 1.14.10-4ubuntu2 [136 kB] 732s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el dbus-bin ppc64el 1.14.10-4ubuntu2 [48.1 kB] 732s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el dbus ppc64el 1.14.10-4ubuntu2 [26.9 kB] 732s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libdbus-1-3 ppc64el 1.14.10-4ubuntu2 [244 kB] 732s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el gir1.2-glib-2.0 ppc64el 2.79.3-3ubuntu5 [182 kB] 732s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libgirepository-1.0-1 ppc64el 1.79.1-1ubuntu6 [93.8 kB] 732s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libglib2.0-data all 2.79.3-3ubuntu5 [46.6 kB] 732s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el gir1.2-girepository-2.0 ppc64el 1.79.1-1ubuntu6 [24.8 kB] 732s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el python3-gi ppc64el 3.47.0-3build1 [261 kB] 732s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libxmuu1 ppc64el 2:1.1.3-3build1 [9488 B] 732s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el dbus-x11 ppc64el 1.14.10-4ubuntu2 [24.4 kB] 732s Get:17 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el desktop-file-utils ppc64el 0.27-2 [62.0 kB] 732s Get:18 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el gnome-desktop-testing ppc64el 2021.1-3build1 [17.8 kB] 732s Get:19 http://ftpmaster.internal/ubuntu noble/main ppc64el libdrm-amdgpu1 ppc64el 2.4.120-2 [24.5 kB] 732s Get:20 http://ftpmaster.internal/ubuntu noble/main ppc64el libdrm-nouveau2 ppc64el 2.4.120-2 [21.2 kB] 732s Get:21 http://ftpmaster.internal/ubuntu noble/main ppc64el libdrm-radeon1 ppc64el 2.4.120-2 [30.6 kB] 732s Get:22 http://ftpmaster.internal/ubuntu noble/main ppc64el libfontenc1 ppc64el 1:1.1.8-1 [15.7 kB] 732s Get:23 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libgirepository-2.0-0 ppc64el 2.79.3-3ubuntu5 [84.2 kB] 732s Get:24 http://ftpmaster.internal/ubuntu noble/main ppc64el libvulkan1 ppc64el 1.3.275.0-1 [176 kB] 732s Get:25 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libglapi-mesa ppc64el 24.0.2-1ubuntu8 [42.1 kB] 732s Get:26 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libllvm17t64 ppc64el 1:17.0.6-9build1 [27.3 MB] 733s Get:27 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-dri3-0 ppc64el 1.15-1 [7392 B] 733s Get:28 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libgl1-mesa-dri ppc64el 24.0.2-1ubuntu8 [5896 kB] 733s Get:29 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libglib2.0-bin ppc64el 2.79.3-3ubuntu5 [111 kB] 733s Get:30 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-packaging all 23.2-1 [40.6 kB] 733s Get:31 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libglib2.0-dev-bin ppc64el 2.79.3-3ubuntu5 [245 kB] 733s Get:32 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-dbusmock all 0.31.1-1 [85.5 kB] 733s Get:33 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el libglib2.0-tests ppc64el 2.79.3-3ubuntu5 [2192 kB] 733s Get:34 http://ftpmaster.internal/ubuntu noble/main ppc64el libx11-xcb1 ppc64el 2:1.8.7-1 [7866 B] 733s Get:35 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-dri2-0 ppc64el 1.15-1 [7444 B] 733s Get:36 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-glx0 ppc64el 1.15-1 [26.2 kB] 733s Get:37 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-present0 ppc64el 1.15-1 [5814 B] 733s Get:38 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-randr0 ppc64el 1.15-1 [18.9 kB] 733s Get:39 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-shm0 ppc64el 1.15-1 [5896 B] 733s Get:40 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-sync1 ppc64el 1.15-1 [9720 B] 733s Get:41 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-xfixes0 ppc64el 1.15-1 [10.6 kB] 733s Get:42 http://ftpmaster.internal/ubuntu noble/main ppc64el libxfixes3 ppc64el 1:6.0.0-2 [11.6 kB] 733s Get:43 http://ftpmaster.internal/ubuntu noble/main ppc64el libxshmfence1 ppc64el 1.3-1build4 [5566 B] 733s Get:44 http://ftpmaster.internal/ubuntu noble/main ppc64el libxxf86vm1 ppc64el 1:1.1.4-1build3 [11.8 kB] 733s Get:45 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libglx-mesa0 ppc64el 24.0.2-1ubuntu8 [171 kB] 733s Get:46 http://ftpmaster.internal/ubuntu noble/main ppc64el x11-common all 1:7.7+23ubuntu2 [23.4 kB] 733s Get:47 http://ftpmaster.internal/ubuntu noble/main ppc64el libice6 ppc64el 2:1.0.10-1build2 [49.3 kB] 733s Get:48 http://ftpmaster.internal/ubuntu noble/main ppc64el libpixman-1-0 ppc64el 0.42.2-1 [300 kB] 733s Get:49 http://ftpmaster.internal/ubuntu noble/main ppc64el libsm6 ppc64el 2:1.2.3-1build2 [18.5 kB] 733s Get:50 http://ftpmaster.internal/ubuntu noble/main ppc64el libunwind8 ppc64el 1.6.2-3 [59.9 kB] 733s Get:51 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libxt6t64 ppc64el 1:1.2.1-1.2 [204 kB] 733s Get:52 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libxmu6 ppc64el 2:1.1.3-3build1 [56.7 kB] 733s Get:53 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libxpm4 ppc64el 1:3.5.17-1build1 [50.2 kB] 733s Get:54 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libxaw7 ppc64el 2:1.0.14-1build1 [232 kB] 733s Get:55 http://ftpmaster.internal/ubuntu noble/main ppc64el libxfont2 ppc64el 1:2.0.6-1 [115 kB] 733s Get:56 http://ftpmaster.internal/ubuntu noble/main ppc64el libxkbfile1 ppc64el 1:1.1.0-1build3 [89.3 kB] 733s Get:57 http://ftpmaster.internal/ubuntu noble/main ppc64el libxrender1 ppc64el 1:0.9.10-1.1 [23.3 kB] 733s Get:58 http://ftpmaster.internal/ubuntu noble/main ppc64el libxrandr2 ppc64el 2:1.5.2-2 [22.7 kB] 733s Get:59 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el x11-xkb-utils ppc64el 7.7+8build1 [201 kB] 733s Get:60 http://ftpmaster.internal/ubuntu noble/main ppc64el xserver-common all 2:21.1.11-2ubuntu1 [32.6 kB] 733s Get:61 http://ftpmaster.internal/ubuntu noble/main ppc64el libglvnd0 ppc64el 1.7.0-1 [84.0 kB] 733s Get:62 http://ftpmaster.internal/ubuntu noble/main ppc64el libglx0 ppc64el 1.7.0-1 [42.1 kB] 733s Get:63 http://ftpmaster.internal/ubuntu noble/main ppc64el libgl1 ppc64el 1.7.0-1 [108 kB] 733s Get:64 http://ftpmaster.internal/ubuntu noble/universe ppc64el xvfb ppc64el 2:21.1.11-2ubuntu1 [1093 kB] 734s Fetched 40.7 MB in 2s (17.2 MB/s) 734s dpkg: libelf1:ppc64el: dependency problems, but removing anyway as you requested: 734s linux-headers-6.8.0-11-generic depends on libelf1 (>= 0.144). 734s libbpf1:ppc64el depends on libelf1 (>= 0.144). 734s iproute2 depends on libelf1 (>= 0.131). 734s 734s (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 ... 69680 files and directories currently installed.) 734s Removing libelf1:ppc64el (0.190-1) ... 734s Selecting previously unselected package libelf1t64:ppc64el. 734s (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 ... 69675 files and directories currently installed.) 734s Preparing to unpack .../00-libelf1t64_0.190-1.1build2_ppc64el.deb ... 734s Unpacking libelf1t64:ppc64el (0.190-1.1build2) ... 734s Preparing to unpack .../01-dbus-system-bus-common_1.14.10-4ubuntu2_all.deb ... 734s Unpacking dbus-system-bus-common (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 734s Preparing to unpack .../02-dbus-session-bus-common_1.14.10-4ubuntu2_all.deb ... 734s Unpacking dbus-session-bus-common (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 734s Preparing to unpack .../03-dbus-user-session_1.14.10-4ubuntu2_ppc64el.deb ... 734s Unpacking dbus-user-session (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 734s Preparing to unpack .../04-dbus-daemon_1.14.10-4ubuntu2_ppc64el.deb ... 734s Unpacking dbus-daemon (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 734s Preparing to unpack .../05-dbus-bin_1.14.10-4ubuntu2_ppc64el.deb ... 734s Unpacking dbus-bin (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 734s Preparing to unpack .../06-dbus_1.14.10-4ubuntu2_ppc64el.deb ... 734s Unpacking dbus (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 734s Preparing to unpack .../07-libdbus-1-3_1.14.10-4ubuntu2_ppc64el.deb ... 734s Unpacking libdbus-1-3:ppc64el (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 734s Selecting previously unselected package gir1.2-glib-2.0:ppc64el. 734s Preparing to unpack .../08-gir1.2-glib-2.0_2.79.3-3ubuntu5_ppc64el.deb ... 734s Unpacking gir1.2-glib-2.0:ppc64el (2.79.3-3ubuntu5) ... 734s Selecting previously unselected package libgirepository-1.0-1:ppc64el. 734s Preparing to unpack .../09-libgirepository-1.0-1_1.79.1-1ubuntu6_ppc64el.deb ... 734s Unpacking libgirepository-1.0-1:ppc64el (1.79.1-1ubuntu6) ... 734s Preparing to unpack .../10-libglib2.0-data_2.79.3-3ubuntu5_all.deb ... 734s Unpacking libglib2.0-data (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 734s Selecting previously unselected package gir1.2-girepository-2.0:ppc64el. 734s Preparing to unpack .../11-gir1.2-girepository-2.0_1.79.1-1ubuntu6_ppc64el.deb ... 734s Unpacking gir1.2-girepository-2.0:ppc64el (1.79.1-1ubuntu6) ... 734s Selecting previously unselected package python3-gi. 734s Preparing to unpack .../12-python3-gi_3.47.0-3build1_ppc64el.deb ... 734s Unpacking python3-gi (3.47.0-3build1) ... 734s Preparing to unpack .../13-libxmuu1_2%3a1.1.3-3build1_ppc64el.deb ... 734s Unpacking libxmuu1:ppc64el (2:1.1.3-3build1) over (2:1.1.3-3) ... 734s Selecting previously unselected package dbus-x11. 734s Preparing to unpack .../14-dbus-x11_1.14.10-4ubuntu2_ppc64el.deb ... 734s Unpacking dbus-x11 (1.14.10-4ubuntu2) ... 734s Selecting previously unselected package desktop-file-utils. 734s Preparing to unpack .../15-desktop-file-utils_0.27-2_ppc64el.deb ... 734s Unpacking desktop-file-utils (0.27-2) ... 734s Selecting previously unselected package gnome-desktop-testing. 734s Preparing to unpack .../16-gnome-desktop-testing_2021.1-3build1_ppc64el.deb ... 734s Unpacking gnome-desktop-testing (2021.1-3build1) ... 734s Selecting previously unselected package libdrm-amdgpu1:ppc64el. 734s Preparing to unpack .../17-libdrm-amdgpu1_2.4.120-2_ppc64el.deb ... 734s Unpacking libdrm-amdgpu1:ppc64el (2.4.120-2) ... 734s Selecting previously unselected package libdrm-nouveau2:ppc64el. 734s Preparing to unpack .../18-libdrm-nouveau2_2.4.120-2_ppc64el.deb ... 734s Unpacking libdrm-nouveau2:ppc64el (2.4.120-2) ... 734s Selecting previously unselected package libdrm-radeon1:ppc64el. 734s Preparing to unpack .../19-libdrm-radeon1_2.4.120-2_ppc64el.deb ... 734s Unpacking libdrm-radeon1:ppc64el (2.4.120-2) ... 734s Selecting previously unselected package libfontenc1:ppc64el. 734s Preparing to unpack .../20-libfontenc1_1%3a1.1.8-1_ppc64el.deb ... 734s Unpacking libfontenc1:ppc64el (1:1.1.8-1) ... 734s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 734s Preparing to unpack .../21-libgirepository-2.0-0_2.79.3-3ubuntu5_ppc64el.deb ... 734s Unpacking libgirepository-2.0-0:ppc64el (2.79.3-3ubuntu5) ... 734s Selecting previously unselected package libvulkan1:ppc64el. 734s Preparing to unpack .../22-libvulkan1_1.3.275.0-1_ppc64el.deb ... 734s Unpacking libvulkan1:ppc64el (1.3.275.0-1) ... 734s Selecting previously unselected package libglapi-mesa:ppc64el. 734s Preparing to unpack .../23-libglapi-mesa_24.0.2-1ubuntu8_ppc64el.deb ... 734s Unpacking libglapi-mesa:ppc64el (24.0.2-1ubuntu8) ... 734s Selecting previously unselected package libllvm17t64:ppc64el. 734s Preparing to unpack .../24-libllvm17t64_1%3a17.0.6-9build1_ppc64el.deb ... 734s Unpacking libllvm17t64:ppc64el (1:17.0.6-9build1) ... 735s Selecting previously unselected package libxcb-dri3-0:ppc64el. 735s Preparing to unpack .../25-libxcb-dri3-0_1.15-1_ppc64el.deb ... 735s Unpacking libxcb-dri3-0:ppc64el (1.15-1) ... 735s Selecting previously unselected package libgl1-mesa-dri:ppc64el. 735s Preparing to unpack .../26-libgl1-mesa-dri_24.0.2-1ubuntu8_ppc64el.deb ... 735s Unpacking libgl1-mesa-dri:ppc64el (24.0.2-1ubuntu8) ... 735s Selecting previously unselected package libglib2.0-bin. 735s Preparing to unpack .../27-libglib2.0-bin_2.79.3-3ubuntu5_ppc64el.deb ... 735s Unpacking libglib2.0-bin (2.79.3-3ubuntu5) ... 735s Selecting previously unselected package python3-packaging. 735s Preparing to unpack .../28-python3-packaging_23.2-1_all.deb ... 735s Unpacking python3-packaging (23.2-1) ... 735s Selecting previously unselected package libglib2.0-dev-bin. 735s Preparing to unpack .../29-libglib2.0-dev-bin_2.79.3-3ubuntu5_ppc64el.deb ... 735s Unpacking libglib2.0-dev-bin (2.79.3-3ubuntu5) ... 735s Selecting previously unselected package python3-dbusmock. 735s Preparing to unpack .../30-python3-dbusmock_0.31.1-1_all.deb ... 735s Unpacking python3-dbusmock (0.31.1-1) ... 735s Selecting previously unselected package libglib2.0-tests. 735s Preparing to unpack .../31-libglib2.0-tests_2.79.3-3ubuntu5_ppc64el.deb ... 735s Unpacking libglib2.0-tests (2.79.3-3ubuntu5) ... 736s Selecting previously unselected package libx11-xcb1:ppc64el. 736s Preparing to unpack .../32-libx11-xcb1_2%3a1.8.7-1_ppc64el.deb ... 736s Unpacking libx11-xcb1:ppc64el (2:1.8.7-1) ... 736s Selecting previously unselected package libxcb-dri2-0:ppc64el. 736s Preparing to unpack .../33-libxcb-dri2-0_1.15-1_ppc64el.deb ... 736s Unpacking libxcb-dri2-0:ppc64el (1.15-1) ... 736s Selecting previously unselected package libxcb-glx0:ppc64el. 736s Preparing to unpack .../34-libxcb-glx0_1.15-1_ppc64el.deb ... 736s Unpacking libxcb-glx0:ppc64el (1.15-1) ... 736s Selecting previously unselected package libxcb-present0:ppc64el. 736s Preparing to unpack .../35-libxcb-present0_1.15-1_ppc64el.deb ... 736s Unpacking libxcb-present0:ppc64el (1.15-1) ... 736s Selecting previously unselected package libxcb-randr0:ppc64el. 736s Preparing to unpack .../36-libxcb-randr0_1.15-1_ppc64el.deb ... 736s Unpacking libxcb-randr0:ppc64el (1.15-1) ... 736s Selecting previously unselected package libxcb-shm0:ppc64el. 736s Preparing to unpack .../37-libxcb-shm0_1.15-1_ppc64el.deb ... 736s Unpacking libxcb-shm0:ppc64el (1.15-1) ... 736s Selecting previously unselected package libxcb-sync1:ppc64el. 736s Preparing to unpack .../38-libxcb-sync1_1.15-1_ppc64el.deb ... 736s Unpacking libxcb-sync1:ppc64el (1.15-1) ... 736s Selecting previously unselected package libxcb-xfixes0:ppc64el. 736s Preparing to unpack .../39-libxcb-xfixes0_1.15-1_ppc64el.deb ... 736s Unpacking libxcb-xfixes0:ppc64el (1.15-1) ... 736s Selecting previously unselected package libxfixes3:ppc64el. 736s Preparing to unpack .../40-libxfixes3_1%3a6.0.0-2_ppc64el.deb ... 736s Unpacking libxfixes3:ppc64el (1:6.0.0-2) ... 736s Selecting previously unselected package libxshmfence1:ppc64el. 736s Preparing to unpack .../41-libxshmfence1_1.3-1build4_ppc64el.deb ... 736s Unpacking libxshmfence1:ppc64el (1.3-1build4) ... 736s Selecting previously unselected package libxxf86vm1:ppc64el. 736s Preparing to unpack .../42-libxxf86vm1_1%3a1.1.4-1build3_ppc64el.deb ... 736s Unpacking libxxf86vm1:ppc64el (1:1.1.4-1build3) ... 736s Selecting previously unselected package libglx-mesa0:ppc64el. 736s Preparing to unpack .../43-libglx-mesa0_24.0.2-1ubuntu8_ppc64el.deb ... 736s Unpacking libglx-mesa0:ppc64el (24.0.2-1ubuntu8) ... 736s Selecting previously unselected package x11-common. 736s Preparing to unpack .../44-x11-common_1%3a7.7+23ubuntu2_all.deb ... 736s Unpacking x11-common (1:7.7+23ubuntu2) ... 736s Selecting previously unselected package libice6:ppc64el. 736s Preparing to unpack .../45-libice6_2%3a1.0.10-1build2_ppc64el.deb ... 736s Unpacking libice6:ppc64el (2:1.0.10-1build2) ... 736s Selecting previously unselected package libpixman-1-0:ppc64el. 736s Preparing to unpack .../46-libpixman-1-0_0.42.2-1_ppc64el.deb ... 736s Unpacking libpixman-1-0:ppc64el (0.42.2-1) ... 736s Selecting previously unselected package libsm6:ppc64el. 736s Preparing to unpack .../47-libsm6_2%3a1.2.3-1build2_ppc64el.deb ... 736s Unpacking libsm6:ppc64el (2:1.2.3-1build2) ... 736s Selecting previously unselected package libunwind8:ppc64el. 736s Preparing to unpack .../48-libunwind8_1.6.2-3_ppc64el.deb ... 736s Unpacking libunwind8:ppc64el (1.6.2-3) ... 736s Selecting previously unselected package libxt6t64:ppc64el. 736s Preparing to unpack .../49-libxt6t64_1%3a1.2.1-1.2_ppc64el.deb ... 736s Unpacking libxt6t64:ppc64el (1:1.2.1-1.2) ... 736s Selecting previously unselected package libxmu6:ppc64el. 736s Preparing to unpack .../50-libxmu6_2%3a1.1.3-3build1_ppc64el.deb ... 736s Unpacking libxmu6:ppc64el (2:1.1.3-3build1) ... 736s Selecting previously unselected package libxpm4:ppc64el. 736s Preparing to unpack .../51-libxpm4_1%3a3.5.17-1build1_ppc64el.deb ... 736s Unpacking libxpm4:ppc64el (1:3.5.17-1build1) ... 736s Selecting previously unselected package libxaw7:ppc64el. 736s Preparing to unpack .../52-libxaw7_2%3a1.0.14-1build1_ppc64el.deb ... 736s Unpacking libxaw7:ppc64el (2:1.0.14-1build1) ... 736s Selecting previously unselected package libxfont2:ppc64el. 736s Preparing to unpack .../53-libxfont2_1%3a2.0.6-1_ppc64el.deb ... 736s Unpacking libxfont2:ppc64el (1:2.0.6-1) ... 736s Selecting previously unselected package libxkbfile1:ppc64el. 736s Preparing to unpack .../54-libxkbfile1_1%3a1.1.0-1build3_ppc64el.deb ... 736s Unpacking libxkbfile1:ppc64el (1:1.1.0-1build3) ... 736s Selecting previously unselected package libxrender1:ppc64el. 736s Preparing to unpack .../55-libxrender1_1%3a0.9.10-1.1_ppc64el.deb ... 736s Unpacking libxrender1:ppc64el (1:0.9.10-1.1) ... 736s Selecting previously unselected package libxrandr2:ppc64el. 736s Preparing to unpack .../56-libxrandr2_2%3a1.5.2-2_ppc64el.deb ... 736s Unpacking libxrandr2:ppc64el (2:1.5.2-2) ... 736s Selecting previously unselected package x11-xkb-utils. 736s Preparing to unpack .../57-x11-xkb-utils_7.7+8build1_ppc64el.deb ... 736s Unpacking x11-xkb-utils (7.7+8build1) ... 736s Selecting previously unselected package xserver-common. 736s Preparing to unpack .../58-xserver-common_2%3a21.1.11-2ubuntu1_all.deb ... 736s Unpacking xserver-common (2:21.1.11-2ubuntu1) ... 736s Selecting previously unselected package libglvnd0:ppc64el. 736s Preparing to unpack .../59-libglvnd0_1.7.0-1_ppc64el.deb ... 736s Unpacking libglvnd0:ppc64el (1.7.0-1) ... 736s Selecting previously unselected package libglx0:ppc64el. 736s Preparing to unpack .../60-libglx0_1.7.0-1_ppc64el.deb ... 736s Unpacking libglx0:ppc64el (1.7.0-1) ... 736s Selecting previously unselected package libgl1:ppc64el. 736s Preparing to unpack .../61-libgl1_1.7.0-1_ppc64el.deb ... 736s Unpacking libgl1:ppc64el (1.7.0-1) ... 736s Selecting previously unselected package xvfb. 736s Preparing to unpack .../62-xvfb_2%3a21.1.11-2ubuntu1_ppc64el.deb ... 736s Unpacking xvfb (2:21.1.11-2ubuntu1) ... 736s Selecting previously unselected package autopkgtest-satdep. 736s Preparing to unpack .../63-3-autopkgtest-satdep.deb ... 736s Unpacking autopkgtest-satdep (0) ... 736s Setting up gnome-desktop-testing (2021.1-3build1) ... 736s Setting up libxcb-dri3-0:ppc64el (1.15-1) ... 736s Setting up libpixman-1-0:ppc64el (0.42.2-1) ... 736s Setting up libx11-xcb1:ppc64el (2:1.8.7-1) ... 736s Setting up libdrm-nouveau2:ppc64el (2.4.120-2) ... 736s Setting up libxcb-xfixes0:ppc64el (1.15-1) ... 736s Setting up desktop-file-utils (0.27-2) ... 736s Setting up libxpm4:ppc64el (1:3.5.17-1build1) ... 736s Setting up libxrender1:ppc64el (1:0.9.10-1.1) ... 736s Setting up libgirepository-2.0-0:ppc64el (2.79.3-3ubuntu5) ... 736s Setting up libdrm-radeon1:ppc64el (2.4.120-2) ... 736s Setting up libglvnd0:ppc64el (1.7.0-1) ... 736s Setting up libxcb-glx0:ppc64el (1.15-1) ... 736s Setting up x11-common (1:7.7+23ubuntu2) ... 737s Setting up libxcb-shm0:ppc64el (1.15-1) ... 737s Setting up libunwind8:ppc64el (1.6.2-3) ... 737s Setting up libelf1t64:ppc64el (0.190-1.1build2) ... 737s Setting up libxxf86vm1:ppc64el (1:1.1.4-1build3) ... 737s Setting up libxcb-present0:ppc64el (1.15-1) ... 737s Setting up libfontenc1:ppc64el (1:1.1.8-1) ... 737s Setting up libglib2.0-data (2.79.3-3ubuntu5) ... 737s Setting up python3-packaging (23.2-1) ... 737s Setting up libllvm17t64:ppc64el (1:17.0.6-9build1) ... 737s Setting up libxfixes3:ppc64el (1:6.0.0-2) ... 737s Setting up libxcb-sync1:ppc64el (1.15-1) ... 737s Setting up libdbus-1-3:ppc64el (1.14.10-4ubuntu2) ... 737s Setting up libxrandr2:ppc64el (2:1.5.2-2) ... 737s Setting up gir1.2-glib-2.0:ppc64el (2.79.3-3ubuntu5) ... 737s Setting up libglapi-mesa:ppc64el (24.0.2-1ubuntu8) ... 737s Setting up libvulkan1:ppc64el (1.3.275.0-1) ... 737s Setting up libxcb-dri2-0:ppc64el (1.15-1) ... 737s Setting up libxshmfence1:ppc64el (1.3-1build4) ... 737s Setting up libxcb-randr0:ppc64el (1.15-1) ... 737s Setting up dbus-session-bus-common (1.14.10-4ubuntu2) ... 737s Setting up libgirepository-1.0-1:ppc64el (1.79.1-1ubuntu6) ... 737s Setting up libxkbfile1:ppc64el (1:1.1.0-1build3) ... 737s Setting up dbus-system-bus-common (1.14.10-4ubuntu2) ... 737s Setting up libxfont2:ppc64el (1:2.0.6-1) ... 737s Setting up libxmuu1:ppc64el (2:1.1.3-3build1) ... 737s Setting up dbus-bin (1.14.10-4ubuntu2) ... 737s Setting up libdrm-amdgpu1:ppc64el (2.4.120-2) ... 737s Setting up libglib2.0-dev-bin (2.79.3-3ubuntu5) ... 737s Setting up libice6:ppc64el (2:1.0.10-1build2) ... 737s Setting up libgl1-mesa-dri:ppc64el (24.0.2-1ubuntu8) ... 737s Setting up libglib2.0-bin (2.79.3-3ubuntu5) ... 737s Setting up dbus-daemon (1.14.10-4ubuntu2) ... 737s Setting up dbus-user-session (1.14.10-4ubuntu2) ... 737s Setting up gir1.2-girepository-2.0:ppc64el (1.79.1-1ubuntu6) ... 737s Setting up dbus (1.14.10-4ubuntu2) ... 737s A reboot is required to replace the running dbus-daemon. 737s Please reboot the system when convenient. 737s Setting up python3-gi (3.47.0-3build1) ... 738s Setting up dbus-x11 (1.14.10-4ubuntu2) ... 738s Setting up libsm6:ppc64el (2:1.2.3-1build2) ... 738s Setting up libglx-mesa0:ppc64el (24.0.2-1ubuntu8) ... 738s Setting up libglx0:ppc64el (1.7.0-1) ... 738s Setting up python3-dbusmock (0.31.1-1) ... 738s Setting up libgl1:ppc64el (1.7.0-1) ... 738s Setting up libxt6t64:ppc64el (1:1.2.1-1.2) ... 738s Setting up libglib2.0-tests (2.79.3-3ubuntu5) ... 738s Setting up libxmu6:ppc64el (2:1.1.3-3build1) ... 738s Setting up libxaw7:ppc64el (2:1.0.14-1build1) ... 738s Setting up x11-xkb-utils (7.7+8build1) ... 738s Setting up xserver-common (2:21.1.11-2ubuntu1) ... 738s Setting up xvfb (2:21.1.11-2ubuntu1) ... 738s Setting up autopkgtest-satdep (0) ... 738s Processing triggers for man-db (2.12.0-3) ... 738s Processing triggers for libc-bin (2.39-0ubuntu2) ... 742s (Reading database ... 71178 files and directories currently installed.) 742s Removing autopkgtest-satdep (0) ... 746s autopkgtest [18:34:38]: test installed-tests: [----------------------- 746s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),104(lxd) 746s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 746s group entry: ubuntu:x:1000: 746s Environment: 746s ADTTMP=/tmp/autopkgtest.lortaT/autopkgtest_tmp 746s ADT_ARTIFACTS=/tmp/autopkgtest.lortaT/installed-tests-artifacts 746s ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1 746s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.lortaT/installed-tests-artifacts 746s AUTOPKGTEST_TESTBED_ARCH=ppc64el 746s AUTOPKGTEST_TEST_ARCH=ppc64el 746s AUTOPKGTEST_TMP=/tmp/autopkgtest.lortaT/autopkgtest_tmp 746s DEBIAN_FRONTEND=noninteractive 746s DEB_BUILD_OPTIONS=parallel=1 746s GIO_USE_VFS=local 746s GIO_USE_VOLUME_MONITOR=unix 746s HOME=/home/ubuntu 746s LANG=C.UTF-8 746s LOGNAME=ubuntu 746s MAIL=/var/mail/ubuntu 746s OLDPWD=/home/ubuntu 746s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 746s PWD=/tmp/autopkgtest.lortaT/build.03q/src 746s SHELL=/bin/bash 746s SHLVL=1 746s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests 746s SUDO_GID=1000 746s SUDO_UID=1000 746s SUDO_USER=ubuntu 746s TERM=linux 746s USER=ubuntu 746s XDG_RUNTIME_DIR=/tmp/autopkgtest.lortaT/autopkgtest_tmp 746s http_proxy=http://squid.internal:3128 746s https_proxy=http://squid.internal:3128 746s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com 746s run-with-locales: de_DE=ISO-8859-1... 746s Character set: ISO-8859-1 746s Source file: de_DE 746s Output: /tmp/tmp.Jh3tnkGzle/de_DE 747s run-with-locales: de_DE.utf8... 747s Character set: UTF-8 747s Source file: de_DE 747s Output: /tmp/tmp.Jh3tnkGzle/de_DE.utf8 748s run-with-locales: de_DE@euro.utf8... 748s Character set: UTF-8 748s Source file: de_DE@euro 748s Output: /tmp/tmp.Jh3tnkGzle/de_DE@euro.utf8 750s run-with-locales: el_GR.utf8... 750s Character set: UTF-8 750s Source file: el_GR 750s Output: /tmp/tmp.Jh3tnkGzle/el_GR.utf8 751s run-with-locales: en_GB=ISO-8859-1... 751s Character set: ISO-8859-1 751s Source file: en_GB 751s Output: /tmp/tmp.Jh3tnkGzle/en_GB 751s run-with-locales: en_GB.utf8... 751s Character set: UTF-8 751s Source file: en_GB 751s Output: /tmp/tmp.Jh3tnkGzle/en_GB.utf8 753s run-with-locales: en_US=ISO-8859-1... 753s Character set: ISO-8859-1 753s Source file: en_US 753s Output: /tmp/tmp.Jh3tnkGzle/en_US 753s run-with-locales: en_US.utf8... 753s Character set: UTF-8 753s Source file: en_US 753s Output: /tmp/tmp.Jh3tnkGzle/en_US.utf8 755s run-with-locales: es_ES.utf8... 755s Character set: UTF-8 755s Source file: es_ES 755s Output: /tmp/tmp.Jh3tnkGzle/es_ES.utf8 756s run-with-locales: fa_IR=UTF-8... 756s Character set: UTF-8 756s Source file: fa_IR 756s Output: /tmp/tmp.Jh3tnkGzle/fa_IR 758s run-with-locales: fa_IR.utf8... 758s Character set: UTF-8 758s Source file: fa_IR 758s Output: /tmp/tmp.Jh3tnkGzle/fa_IR.utf8 759s run-with-locales: fr_FR.utf8... 759s Character set: UTF-8 759s Source file: fr_FR 759s Output: /tmp/tmp.Jh3tnkGzle/fr_FR.utf8 761s run-with-locales: hr_HR.utf8... 761s Character set: UTF-8 761s Source file: hr_HR 761s Output: /tmp/tmp.Jh3tnkGzle/hr_HR.utf8 762s run-with-locales: ja_JP.utf8... 762s Character set: UTF-8 762s Source file: ja_JP 762s Output: /tmp/tmp.Jh3tnkGzle/ja_JP.utf8 763s run-with-locales: ja_JP.EUC-JP... 763s Character set: EUC-JP 763s Source file: ja_JP 763s Output: /tmp/tmp.Jh3tnkGzle/ja_JP.eucjp 763s run-with-locales: lt_LT.utf8... 763s Character set: UTF-8 763s Source file: lt_LT 763s Output: /tmp/tmp.Jh3tnkGzle/lt_LT.utf8 765s run-with-locales: pl_PL=ISO-8859-2... 765s Character set: ISO-8859-2 765s Source file: pl_PL 765s Output: /tmp/tmp.Jh3tnkGzle/pl_PL 765s run-with-locales: pl_PL.ISO-8859-2... 765s Character set: ISO-8859-2 765s Source file: pl_PL 765s Output: /tmp/tmp.Jh3tnkGzle/pl_PL.iso88592 766s run-with-locales: pl_PL.utf8... 766s Character set: UTF-8 766s Source file: pl_PL 766s Output: /tmp/tmp.Jh3tnkGzle/pl_PL.utf8 767s run-with-locales: ru_RU=ISO-8859-5... 767s Character set: ISO-8859-5 767s Source file: ru_RU 767s Output: /tmp/tmp.Jh3tnkGzle/ru_RU 767s run-with-locales: ru_RU.utf8... 767s Character set: UTF-8 767s Source file: ru_RU 767s Output: /tmp/tmp.Jh3tnkGzle/ru_RU.utf8 769s run-with-locales: sr_RS=UTF-8... 769s Character set: UTF-8 769s Source file: sr_RS 769s Output: /tmp/tmp.Jh3tnkGzle/sr_RS 770s run-with-locales: sr_RS@latin=UTF-8... 770s Character set: UTF-8 770s Source file: sr_RS@latin 770s Output: /tmp/tmp.Jh3tnkGzle/sr_RS@latin 771s run-with-locales: sv_SE=ISO-8859-1... 771s Character set: ISO-8859-1 771s Source file: sv_SE 771s Output: /tmp/tmp.Jh3tnkGzle/sv_SE 772s run-with-locales: sv_SE.utf8... 772s Character set: UTF-8 772s Source file: sv_SE 772s Output: /tmp/tmp.Jh3tnkGzle/sv_SE.utf8 773s run-with-locales: tr_TR=ISO-8859-9... 773s Character set: ISO-8859-9 773s Source file: tr_TR 773s Output: /tmp/tmp.Jh3tnkGzle/tr_TR 773s run-with-locales: tr_TR.utf8... 773s Character set: UTF-8 773s Source file: tr_TR 773s Output: /tmp/tmp.Jh3tnkGzle/tr_TR.utf8 775s run-with-locales: tt_RU=UTF-8... 775s Character set: UTF-8 775s Source file: tt_RU 775s Output: /tmp/tmp.Jh3tnkGzle/tt_RU 776s run-with-locales: tt_RU.utf8... 776s Character set: UTF-8 776s Source file: tt_RU 776s Output: /tmp/tmp.Jh3tnkGzle/tt_RU.utf8 778s run-with-locales: tt_RU@iqtelif=UTF-8... 778s Character set: UTF-8 778s Source file: tt_RU@iqtelif 778s Output: /tmp/tmp.Jh3tnkGzle/tt_RU@iqtelif 779s /tmp/tmp.Jh3tnkGzle 779s /tmp/tmp.Jh3tnkGzle/ja_JP.utf8 779s /tmp/tmp.Jh3tnkGzle/ja_JP.utf8/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/ja_JP.utf8/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/ja_JP.utf8/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/ja_JP.utf8/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/ja_JP.utf8/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/ja_JP.utf8/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/ja_JP.utf8/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/ja_JP.utf8/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/ja_JP.utf8/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/ja_JP.utf8/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/ja_JP.utf8/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/ja_JP.utf8/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/es_ES.utf8 779s /tmp/tmp.Jh3tnkGzle/es_ES.utf8/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/es_ES.utf8/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/es_ES.utf8/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/es_ES.utf8/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/es_ES.utf8/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/es_ES.utf8/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/es_ES.utf8/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/es_ES.utf8/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/es_ES.utf8/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/es_ES.utf8/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/es_ES.utf8/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/es_ES.utf8/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/pl_PL.iso88592 779s /tmp/tmp.Jh3tnkGzle/pl_PL.iso88592/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/pl_PL.iso88592/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/pl_PL.iso88592/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/pl_PL.iso88592/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/pl_PL.iso88592/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/pl_PL.iso88592/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/pl_PL.iso88592/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/pl_PL.iso88592/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/pl_PL.iso88592/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/pl_PL.iso88592/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/pl_PL.iso88592/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/pl_PL.iso88592/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/en_GB 779s /tmp/tmp.Jh3tnkGzle/en_GB/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/en_GB/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/en_GB/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/en_GB/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/en_GB/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/en_GB/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/en_GB/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/en_GB/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/en_GB/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/en_GB/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/en_GB/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/en_GB/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/sv_SE.utf8 779s /tmp/tmp.Jh3tnkGzle/sv_SE.utf8/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/sv_SE.utf8/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/sv_SE.utf8/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/sv_SE.utf8/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/sv_SE.utf8/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/sv_SE.utf8/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/sv_SE.utf8/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/sv_SE.utf8/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/sv_SE.utf8/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/sv_SE.utf8/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/sv_SE.utf8/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/sv_SE.utf8/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/en_US 779s /tmp/tmp.Jh3tnkGzle/en_US/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/en_US/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/en_US/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/en_US/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/en_US/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/en_US/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/en_US/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/en_US/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/en_US/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/en_US/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/en_US/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/en_US/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/en_US/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/ru_RU 779s /tmp/tmp.Jh3tnkGzle/ru_RU/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/ru_RU/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/ru_RU/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/ru_RU/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/ru_RU/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/ru_RU/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/ru_RU/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/ru_RU/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/ru_RU/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/ru_RU/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/ru_RU/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/ru_RU/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/tr_TR.utf8 779s /tmp/tmp.Jh3tnkGzle/tr_TR.utf8/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/tr_TR.utf8/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/tr_TR.utf8/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/tr_TR.utf8/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/tr_TR.utf8/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/tr_TR.utf8/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/tr_TR.utf8/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/tr_TR.utf8/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/tr_TR.utf8/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/tr_TR.utf8/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/tr_TR.utf8/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/tr_TR.utf8/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/en_GB.utf8 779s /tmp/tmp.Jh3tnkGzle/en_GB.utf8/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/en_GB.utf8/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/en_GB.utf8/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/en_GB.utf8/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/en_GB.utf8/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/en_GB.utf8/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/en_GB.utf8/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/en_GB.utf8/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/en_GB.utf8/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/en_GB.utf8/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/en_GB.utf8/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/en_GB.utf8/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/pl_PL.utf8 779s /tmp/tmp.Jh3tnkGzle/pl_PL.utf8/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/pl_PL.utf8/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/pl_PL.utf8/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/pl_PL.utf8/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/pl_PL.utf8/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/pl_PL.utf8/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/pl_PL.utf8/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/pl_PL.utf8/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/pl_PL.utf8/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/pl_PL.utf8/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/pl_PL.utf8/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/pl_PL.utf8/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/sv_SE 779s /tmp/tmp.Jh3tnkGzle/sv_SE/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/sv_SE/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/sv_SE/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/sv_SE/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/sv_SE/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/sv_SE/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/sv_SE/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/sv_SE/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/sv_SE/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/sv_SE/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/sv_SE/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/sv_SE/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/ja_JP.eucjp 779s /tmp/tmp.Jh3tnkGzle/ja_JP.eucjp/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/ja_JP.eucjp/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/ja_JP.eucjp/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/ja_JP.eucjp/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/ja_JP.eucjp/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/ja_JP.eucjp/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/ja_JP.eucjp/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/ja_JP.eucjp/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/ja_JP.eucjp/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/ja_JP.eucjp/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/ja_JP.eucjp/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/ja_JP.eucjp/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/fa_IR 779s /tmp/tmp.Jh3tnkGzle/fa_IR/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/fa_IR/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/fa_IR/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/fa_IR/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/fa_IR/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/fa_IR/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/fa_IR/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/fa_IR/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/fa_IR/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/fa_IR/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/fa_IR/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/fa_IR/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/hr_HR.utf8 779s /tmp/tmp.Jh3tnkGzle/hr_HR.utf8/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/hr_HR.utf8/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/hr_HR.utf8/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/hr_HR.utf8/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/hr_HR.utf8/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/hr_HR.utf8/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/hr_HR.utf8/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/hr_HR.utf8/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/hr_HR.utf8/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/hr_HR.utf8/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/hr_HR.utf8/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/hr_HR.utf8/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/fa_IR.utf8 779s /tmp/tmp.Jh3tnkGzle/fa_IR.utf8/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/fa_IR.utf8/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/fa_IR.utf8/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/fa_IR.utf8/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/fa_IR.utf8/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/fa_IR.utf8/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/fa_IR.utf8/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/fa_IR.utf8/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/fa_IR.utf8/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/fa_IR.utf8/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/fa_IR.utf8/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/fa_IR.utf8/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/de_DE.utf8 779s /tmp/tmp.Jh3tnkGzle/de_DE.utf8/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/de_DE.utf8/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/de_DE.utf8/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/de_DE.utf8/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/de_DE.utf8/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/de_DE.utf8/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/de_DE.utf8/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/de_DE.utf8/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/de_DE.utf8/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/de_DE.utf8/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/de_DE.utf8/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/de_DE.utf8/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/en_US.utf8 779s /tmp/tmp.Jh3tnkGzle/en_US.utf8/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/en_US.utf8/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/en_US.utf8/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/en_US.utf8/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/en_US.utf8/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/en_US.utf8/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/en_US.utf8/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/en_US.utf8/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/en_US.utf8/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/en_US.utf8/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/en_US.utf8/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/en_US.utf8/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/de_DE 779s /tmp/tmp.Jh3tnkGzle/de_DE/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/de_DE/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/de_DE/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/de_DE/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/de_DE/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/de_DE/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/de_DE/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/de_DE/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/de_DE/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/de_DE/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/de_DE/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/de_DE/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/tt_RU@iqtelif 779s /tmp/tmp.Jh3tnkGzle/tt_RU@iqtelif/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/tt_RU@iqtelif/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/tt_RU@iqtelif/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/tt_RU@iqtelif/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/tt_RU@iqtelif/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/tt_RU@iqtelif/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/tt_RU@iqtelif/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/tt_RU@iqtelif/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/tt_RU@iqtelif/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/tt_RU@iqtelif/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/tt_RU@iqtelif/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/tt_RU@iqtelif/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/el_GR.utf8 779s /tmp/tmp.Jh3tnkGzle/el_GR.utf8/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/el_GR.utf8/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/el_GR.utf8/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/el_GR.utf8/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/el_GR.utf8/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/el_GR.utf8/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/el_GR.utf8/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/el_GR.utf8/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/el_GR.utf8/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/el_GR.utf8/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/el_GR.utf8/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/el_GR.utf8/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/tr_TR 779s /tmp/tmp.Jh3tnkGzle/tr_TR/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/tr_TR/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/tr_TR/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/tr_TR/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/tr_TR/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/tr_TR/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/tr_TR/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/tr_TR/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/tr_TR/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/tr_TR/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/tr_TR/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/tr_TR/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/fr_FR.utf8 779s /tmp/tmp.Jh3tnkGzle/fr_FR.utf8/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/fr_FR.utf8/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/fr_FR.utf8/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/fr_FR.utf8/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/fr_FR.utf8/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/fr_FR.utf8/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/fr_FR.utf8/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/fr_FR.utf8/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/fr_FR.utf8/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/fr_FR.utf8/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/fr_FR.utf8/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/fr_FR.utf8/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/de_DE@euro.utf8 779s /tmp/tmp.Jh3tnkGzle/de_DE@euro.utf8/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/de_DE@euro.utf8/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/de_DE@euro.utf8/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/de_DE@euro.utf8/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/de_DE@euro.utf8/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/de_DE@euro.utf8/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/de_DE@euro.utf8/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/de_DE@euro.utf8/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/de_DE@euro.utf8/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/de_DE@euro.utf8/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/de_DE@euro.utf8/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/de_DE@euro.utf8/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/lt_LT.utf8 779s /tmp/tmp.Jh3tnkGzle/lt_LT.utf8/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/lt_LT.utf8/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/lt_LT.utf8/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/lt_LT.utf8/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/lt_LT.utf8/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/lt_LT.utf8/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/lt_LT.utf8/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/lt_LT.utf8/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/lt_LT.utf8/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/lt_LT.utf8/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/lt_LT.utf8/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/lt_LT.utf8/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/sr_RS 779s /tmp/tmp.Jh3tnkGzle/sr_RS/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/sr_RS/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/sr_RS/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/sr_RS/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/sr_RS/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/sr_RS/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/sr_RS/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/sr_RS/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/sr_RS/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/sr_RS/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/sr_RS/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/sr_RS/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/pl_PL 779s /tmp/tmp.Jh3tnkGzle/pl_PL/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/pl_PL/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/pl_PL/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/pl_PL/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/pl_PL/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/pl_PL/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/pl_PL/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/pl_PL/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/pl_PL/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/pl_PL/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/pl_PL/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/pl_PL/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/sr_RS@latin 779s /tmp/tmp.Jh3tnkGzle/sr_RS@latin/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/sr_RS@latin/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/sr_RS@latin/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/sr_RS@latin/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/sr_RS@latin/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/sr_RS@latin/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/sr_RS@latin/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/sr_RS@latin/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/sr_RS@latin/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/sr_RS@latin/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/sr_RS@latin/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/sr_RS@latin/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/tt_RU.utf8 779s /tmp/tmp.Jh3tnkGzle/tt_RU.utf8/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/tt_RU.utf8/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/tt_RU.utf8/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/tt_RU.utf8/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/tt_RU.utf8/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/tt_RU.utf8/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/tt_RU.utf8/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/tt_RU.utf8/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/tt_RU.utf8/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/tt_RU.utf8/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/tt_RU.utf8/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/tt_RU.utf8/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/ru_RU.utf8 779s /tmp/tmp.Jh3tnkGzle/ru_RU.utf8/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/ru_RU.utf8/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/ru_RU.utf8/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/ru_RU.utf8/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/ru_RU.utf8/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/ru_RU.utf8/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/ru_RU.utf8/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/ru_RU.utf8/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/ru_RU.utf8/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/ru_RU.utf8/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/ru_RU.utf8/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/ru_RU.utf8/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/tt_RU 779s /tmp/tmp.Jh3tnkGzle/tt_RU/LC_MONETARY 779s /tmp/tmp.Jh3tnkGzle/tt_RU/LC_NUMERIC 779s /tmp/tmp.Jh3tnkGzle/tt_RU/LC_CTYPE 779s /tmp/tmp.Jh3tnkGzle/tt_RU/LC_NAME 779s /tmp/tmp.Jh3tnkGzle/tt_RU/LC_ADDRESS 779s /tmp/tmp.Jh3tnkGzle/tt_RU/LC_IDENTIFICATION 779s /tmp/tmp.Jh3tnkGzle/tt_RU/LC_COLLATE 779s /tmp/tmp.Jh3tnkGzle/tt_RU/LC_TELEPHONE 779s /tmp/tmp.Jh3tnkGzle/tt_RU/LC_PAPER 779s /tmp/tmp.Jh3tnkGzle/tt_RU/LC_MEASUREMENT 779s /tmp/tmp.Jh3tnkGzle/tt_RU/LC_TIME 779s /tmp/tmp.Jh3tnkGzle/tt_RU/LC_MESSAGES 779s /tmp/tmp.Jh3tnkGzle/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 779s 1..316 779s # Running test: glib/object.test 779s TAP version 13 779s # random seed: R02S0af3347520fba864dd62a977978687da 779s 1..2 779s # Start of object tests 779s # Start of constructor tests 779s ok 1 /object/constructor/singleton 779s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 779s # End of constructor tests 779s # End of object tests 779s ok - glib/object.test 779s # Running test: glib/resources.test 779s TAP version 13 779s # random seed: R02Se089045c03a73ca0e918cb169d3bc9ad 779s 1..17 779s # Start of resource tests 779s ok 1 /resource/file 779s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 779s ok 2 /resource/file-path 779s ok 3 /resource/data 779s ok 4 /resource/data_unaligned 779s ok 5 /resource/data-corrupt 779s ok 6 /resource/data-empty 779s ok 7 /resource/registered 779s ok 8 /resource/manual 779s ok 9 /resource/manual2 779s ok 10 /resource/automatic 779s ok 11 /resource/module 779s ok 12 /resource/binary-linked 779s ok 13 /resource/64k 779s GLib-GIO-Message: 18:35:11.194: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 779s ok 14 /resource/overlay 779s ok 15 /resource/digits 779s # Start of uri tests 779s ok 16 /resource/uri/query-info 779s ok 17 /resource/uri/file 779s # End of uri tests 779s # End of resource tests 779s ok - glib/resources.test 779s # Running test: glib/test-printf.test 779s TAP version 13 779s # random seed: R02Sd84686eba194591baf824ee17cfa9e05 779s 1..22 779s # Start of snprintf tests 779s ok 1 /snprintf/retval-and-trunc 779s ok 2 /snprintf/%d 779s ok 3 /snprintf/%d-invalid 779s ok 4 /snprintf/%o 779s ok 5 /snprintf/%u 779s ok 6 /snprintf/%x 779s ok 7 /snprintf/%X 779s ok 8 /snprintf/%f 779s ok 9 /snprintf/%e 779s ok 10 /snprintf/%c 779s ok 11 /snprintf/%s 779s ok 12 /snprintf/%n 779s ok 13 /snprintf/test-percent 779s ok 14 /snprintf/test-positional-params 779s ok 15 /snprintf/test-64bit 779s # End of snprintf tests 779s # Start of printf tests 779s ok 16 /printf/test-percent 779s ok 17 /printf/test-positional-params 779s ok 18 /printf/test-64bit 779s # Start of test-64bit tests 779s # Start of subprocess tests 779s # End of subprocess tests 779s # End of test-64bit tests 779s # End of printf tests 779s # Start of sprintf tests 779s ok 19 /sprintf/test-positional-params 779s ok 20 /sprintf/upper-bound 779s # End of sprintf tests 779s # Start of vasprintf tests 779s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 779s ok 21 /vasprintf/invalid-format-placeholder 779s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 779s ok 22 /vasprintf/invalid-wide-string 779s # End of vasprintf tests 779s ok - glib/test-printf.test 779s # Running test: glib/defaultiface.test 779s TAP version 13 779s # random seed: R02S78748600aaff388e185db91df515ef60 779s 1..2 779s # Start of gobject tests 779s ok 1 /gobject/static-iface 779s ok 2 /gobject/dynamic-iface 779s # End of gobject tests 779s ok - glib/defaultiface.test 779s # Running test: glib/hmac.test 779s TAP version 13 779s # random seed: R02S757a4734d79b0fe8f717e236d5643478 779s 1..37 779s # Start of hmac tests 779s ok 1 /hmac/sha1-1 779s ok 2 /hmac/sha1-2 779s ok 3 /hmac/sha1-3 779s ok 4 /hmac/sha1-4 779s ok 5 /hmac/sha1-5 779s ok 6 /hmac/sha1-6 779s ok 7 /hmac/sha1-7 779s ok 8 /hmac/sha256-1 779s ok 9 /hmac/sha256-2 779s ok 10 /hmac/sha256-3 779s ok 11 /hmac/sha256-4 779s ok 12 /hmac/sha256-5 779s ok 13 /hmac/sha256-6 779s ok 14 /hmac/sha384-1 779s ok 15 /hmac/sha384-2 779s ok 16 /hmac/sha384-3 779s ok 17 /hmac/sha384-4 779s ok 18 /hmac/sha384-5 779s ok 19 /hmac/sha384-6 779s ok 20 /hmac/sha512-1 779s ok 21 /hmac/sha512-2 779s ok 22 /hmac/sha512-3 779s ok 23 /hmac/sha512-4 779s ok 24 /hmac/sha512-5 779s ok 25 /hmac/sha512-6 779s ok 26 /hmac/md5-1 779s ok 27 /hmac/md5-2 779s ok 28 /hmac/md5-3 779s ok 29 /hmac/md5-4 779s ok 30 /hmac/md5-5 779s ok 31 /hmac/md5-6 779s ok 32 /hmac/md5-7 779s ok 33 /hmac/ref-unref 779s ok 34 /hmac/copy 779s ok 35 /hmac/for-data 779s ok 36 /hmac/for-string 779s ok 37 /hmac/for-bytes 779s # End of hmac tests 779s ok - glib/hmac.test 779s # Running test: glib/convert.test 779s TAP version 13 779s # random seed: R02S912908e48334cfa9e1c187fa905c596c 779s 1..14 779s # Start of conversion tests 779s ok 1 /conversion/no-conv 779s ok 2 /conversion/iconv-state 779s ok 3 /conversion/illegal-sequence 779s ok 4 /conversion/byte-order 779s ok 5 /conversion/unicode 779s ok 6 /conversion/filename-utf8 779s ok 7 /conversion/filename-display 779s ok 8 /conversion/convert-embedded-nul 779s # Start of locale-to-utf8 tests 779s ok 9 /conversion/locale-to-utf8/embedded-nul 779s # Start of embedded-nul tests 779s # Start of subprocess tests 779s # End of subprocess tests 779s # End of embedded-nul tests 779s # End of locale-to-utf8 tests 779s # Start of locale-from-utf8 tests 779s ok 10 /conversion/locale-from-utf8/embedded-nul 779s # Start of embedded-nul tests 779s # Start of subprocess tests 779s # End of subprocess tests 779s # End of embedded-nul tests 779s # End of locale-from-utf8 tests 779s # Start of filename-to-utf8 tests 779s ok 11 /conversion/filename-to-utf8/embedded-nul 779s # Start of embedded-nul tests 779s # Start of subprocess tests 779s # End of subprocess tests 779s # End of embedded-nul tests 779s # End of filename-to-utf8 tests 779s # Start of filename-from-utf8 tests 779s ok 12 /conversion/filename-from-utf8/embedded-nul 779s # Start of embedded-nul tests 779s # Start of subprocess tests 779s # End of subprocess tests 779s # End of embedded-nul tests 779s # End of filename-from-utf8 tests 779s # Start of filename-from-uri tests 779s ok 13 /conversion/filename-from-uri/query-is-ignored 779s ok 14 /conversion/filename-from-uri/fragment-is-ignored 779s # End of filename-from-uri tests 779s # End of conversion tests 779s ok - glib/convert.test 779s # Running test: glib/function-info.test 779s TAP version 13 779s # random seed: R02Sa66d45d05d4cf90cc0b55a2a77fb06c1 779s 1..1 779s # Start of function-info tests 779s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_EE1TK2/function-info/invoker/.dirs/home 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_EE1TK2/function-info/invoker/.dirs/cache 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_EE1TK2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_EE1TK2/function-info/invoker/.dirs/system-config2 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_EE1TK2/function-info/invoker/.dirs/config 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_EE1TK2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_EE1TK2/function-info/invoker/.dirs/system-data2 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_EE1TK2/function-info/invoker/.dirs/data 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_EE1TK2/function-info/invoker/.dirs/state 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_EE1TK2/function-info/invoker/.dirs/runtime 779s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 779s # /function-info/invoker summary: Test preparing a function invoker 779s ok 1 /function-info/invoker 779s # End of function-info tests 779s ok - glib/function-info.test 779s # Running test: glib/readwrite.test 779s TAP version 13 779s # random seed: R02S364878135cc1c6df02806ecb8e6b6c6d 779s 1..3 779s # Start of readwrite tests 779s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 779s ok 1 /readwrite/test_g_file_open_readwrite 779s ok 2 /readwrite/test_g_file_create_readwrite 779s ok 3 /readwrite/test_g_file_replace_readwrite 779s # End of readwrite tests 779s ok - glib/readwrite.test 779s # Running test: glib/genmarshal.py.test 779s TAP version 13 779s ok 1 __main__.TestGenmarshal.test_empty_list 779s # tmpdir: /tmp/tmpm6pksop0 779s # genmarshal: /usr/bin/glib-genmarshal 779s # /tmp/tmpm6pksop0/tmp9_q3rwke.list: 779s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpm6pksop0/tmp9_q3rwke.list', '--header', '--quiet'] 779s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 779s # 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. */ 779s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 779s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 779s # 779s # #include 779s # 779s # G_BEGIN_DECLS 779s # 779s # 779s # G_END_DECLS 779s # 779s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 779s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpm6pksop0/tmp9_q3rwke.list', '--body', '--quiet'] 779s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 779s # 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. */ 779s # #include 779s # 779s # #ifdef G_ENABLE_DEBUG 779s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 779s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 779s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 779s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 779s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 779s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 779s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 779s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 779s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 779s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 779s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 779s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 779s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 779s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 779s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 779s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 779s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 779s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 779s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 779s # #else /* !G_ENABLE_DEBUG */ 779s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 779s # * Do not access GValues directly in your code. Instead, use the 779s # * g_value_get_*() functions 779s # */ 779s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 779s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 779s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 779s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 779s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 779s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 779s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 779s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 779s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 779s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 779s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 779s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 779s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 779s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 779s # #endif /* !G_ENABLE_DEBUG */ 779s ok 2 __main__.TestGenmarshal.test_help 779s # tmpdir: /tmp/tmpdlif9vth 779s # genmarshal: /usr/bin/glib-genmarshal 779s # Running: ['/usr/bin/glib-genmarshal', '--help'] 779s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 779s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 779s # [--internal] [--valist-marshallers] [-v] 779s # [--g-fatal-warnings] [--include-header [HEADER]] 779s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 779s # [--prototypes] [--header] [--body] 779s # [--stdinc | --nostdinc] [--quiet | --verbose] 779s # [FILE ...] 779s # 779s # Generate signal marshallers for GObject 779s # 779s # positional arguments: 779s # FILE Files with lists of marshallers to generate, or "-" 779s # for standard input 779s # 779s # options: 779s # -h, --help show this help message and exit 779s # --prefix STRING Specify marshaller prefix 779s # --output FILE Write output into the specified file 779s # --skip-source Skip source location comments 779s # --internal Mark generated functions as internal 779s # --valist-marshallers Generate va_list marshallers 779s # -v, --version Print version information, and exit 779s # --g-fatal-warnings Make warnings fatal 779s # --include-header [HEADER] 779s # Include the specified header in the body 779s # --pragma-once Use "pragma once" as the inclusion guard 779s # -D CPP_DEFINES Pre-processor define 779s # -U CPP_UNDEFINES Pre-processor undefine 779s # --prototypes Generate the marshallers prototype in the C code 779s # --header Generate C headers 779s # --body Generate C code 779s # --stdinc Include standard marshallers 779s # --nostdinc Use standard marshallers 779s # --quiet Only print warnings and errors 779s # --verbose Be verbose, and include debugging information 779s ok 3 __main__.TestGenmarshal.test_no_args 779s # tmpdir: /tmp/tmpymqp23n0 779s # genmarshal: /usr/bin/glib-genmarshal 779s # Running: ['/usr/bin/glib-genmarshal'] 779s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 779s # Output: 779s ok 4 __main__.TestGenmarshal.test_void_boolean 779s # tmpdir: /tmp/tmpxcwcmy35 779s # genmarshal: /usr/bin/glib-genmarshal 779s # /tmp/tmpxcwcmy35/tmpi9ygp4li.list: VOID:BOOLEAN 779s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpxcwcmy35/tmpi9ygp4li.list', '--header', '--quiet'] 779s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 779s # 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. */ 779s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 779s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 779s # 779s # #include 779s # 779s # G_BEGIN_DECLS 779s # 779s # /* VOID:BOOLEAN (/tmp/tmpxcwcmy35/tmpi9ygp4li.list:1) */ 779s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 779s # 779s # 779s # G_END_DECLS 779s # 779s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 779s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpxcwcmy35/tmpi9ygp4li.list', '--body', '--quiet'] 779s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 779s # 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. */ 779s # #include 779s # 779s # #ifdef G_ENABLE_DEBUG 779s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 779s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 779s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 779s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 779s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 779s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 779s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 779s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 779s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 779s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 779s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 779s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 779s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 779s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 779s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 779s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 779s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 779s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 779s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 779s # #else /* !G_ENABLE_DEBUG */ 779s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 779s # * Do not access GValues directly in your code. Instead, use the 779s # * g_value_get_*() functions 779s # */ 779s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 779s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 779s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 779s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 779s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 779s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 779s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 779s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 779s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 779s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 779s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 779s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 779s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 779s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 779s # #endif /* !G_ENABLE_DEBUG */ 779s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 779s # tmpdir: /tmp/tmptfes55ol 779s # genmarshal: /usr/bin/glib-genmarshal 779s # /tmp/tmptfes55ol/tmponxq0flr.list: VOID:BOOLEAN,INT64 779s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmptfes55ol/tmponxq0flr.list', '--header', '--quiet'] 779s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 779s # 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. */ 779s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 779s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 779s # 779s # #include 779s # 779s # G_BEGIN_DECLS 779s # 779s # /* VOID:BOOLEAN,INT64 (/tmp/tmptfes55ol/tmponxq0flr.list:1) */ 779s # extern 779s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 779s # GValue *return_value, 779s # guint n_param_values, 779s # const GValue *param_values, 779s # gpointer invocation_hint, 779s # gpointer marshal_data); 779s # 779s # 779s # G_END_DECLS 779s # 779s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 779s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmptfes55ol/tmponxq0flr.list', '--body', '--quiet'] 779s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 779s # 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. */ 779s # #include 779s # 779s # #ifdef G_ENABLE_DEBUG 779s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 779s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 779s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 779s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 779s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 779s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 779s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 779s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 779s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 779s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 779s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 779s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 779s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 779s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 779s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 779s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 779s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 779s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 779s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 779s # #else /* !G_ENABLE_DEBUG */ 779s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 779s # * Do not access GValues directly in your code. Instead, use the 779s # * g_value_get_*() functions 779s # */ 779s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 779s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 779s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 779s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 779s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 779s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 779s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 779s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 779s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 779s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 779s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 779s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 779s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 779s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 779s # #endif /* !G_ENABLE_DEBUG */ 779s # 779s # /* VOID:BOOLEAN,INT64 (/tmp/tmptfes55ol/tmponxq0flr.list:1) */ 779s # void 779s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 779s # GValue *return_value G_GNUC_UNUSED, 779s # guint n_param_values, 779s # const GValue *param_values, 779s # gpointer invocation_hint G_GNUC_UNUSED, 779s # gpointer marshal_data) 779s # { 779s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 779s # gboolean arg1, 779s # gint64 arg2, 779s # gpointer data2); 779s # GCClosure *cc = (GCClosure *) closure; 779s # gpointer data1, data2; 779s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 779s # 779s # g_return_if_fail (n_param_values == 3); 779s # 779s # if (G_CCLOSURE_SWAP_DATA (closure)) 779s # { 779s # data1 = closure->data; 779s # data2 = g_value_peek_pointer (param_values + 0); 779s # } 779s # else 779s # { 779s # data1 = g_value_peek_pointer (param_values + 0); 779s # data2 = closure->data; 779s # } 779s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 779s # 779s # callback (data1, 779s # g_marshal_value_peek_boolean (param_values + 1), 779s # g_marshal_value_peek_int64 (param_values + 2), 779s # data2); 779s # } 779s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 779s # tmpdir: /tmp/tmppf9s0fou 779s # genmarshal: /usr/bin/glib-genmarshal 779s # /tmp/tmppf9s0fou/tmpj57wkll4.list: VOID:PARAM 779s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmppf9s0fou/tmpj57wkll4.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 779s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 779s # 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. */ 779s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 779s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 779s # 779s # G_BEGIN_DECLS 779s # 779s # /* VOID:PARAM (/tmp/tmppf9s0fou/tmpj57wkll4.list:1) */ 779s # extern 779s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 779s # GValue *return_value, 779s # guint n_param_values, 779s # const GValue *param_values, 779s # gpointer invocation_hint, 779s # gpointer marshal_data); 779s # extern 779s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 779s # GValue *return_value, 779s # gpointer instance, 779s # va_list args, 779s # gpointer marshal_data, 779s # int n_params, 779s # GType *param_types); 779s # 779s # 779s # G_END_DECLS 779s # 779s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 779s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmppf9s0fou/tmpj57wkll4.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 779s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 779s # 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. */ 779s # #ifdef G_ENABLE_DEBUG 779s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 779s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 779s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 779s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 779s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 779s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 779s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 779s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 779s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 779s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 779s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 779s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 779s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 779s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 779s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 779s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 779s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 779s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 779s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 779s # #else /* !G_ENABLE_DEBUG */ 779s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 779s # * Do not access GValues directly in your code. Instead, use the 779s # * g_value_get_*() functions 779s # */ 779s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 779s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 779s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 779s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 779s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 779s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 779s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 779s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 779s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 779s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 779s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 779s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 779s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 779s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 779s # #endif /* !G_ENABLE_DEBUG */ 779s # 779s # /* VOID:PARAM (/tmp/tmppf9s0fou/tmpj57wkll4.list:1) */ 779s # void 779s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 779s # GValue *return_value G_GNUC_UNUSED, 779s # guint n_param_values, 779s # const GValue *param_values, 779s # gpointer invocation_hint G_GNUC_UNUSED, 779s # gpointer marshal_data) 779s # { 779s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 779s # gpointer arg1, 779s # gpointer data2); 779s # GCClosure *cc = (GCClosure *) closure; 779s # gpointer data1, data2; 779s # GMarshalFunc_VOID__PARAM callback; 779s # 779s # g_return_if_fail (n_param_values == 2); 779s # 779s # if (G_CCLOSURE_SWAP_DATA (closure)) 779s # { 779s # data1 = closure->data; 779s # data2 = g_value_peek_pointer (param_values + 0); 779s # } 779s # else 779s # { 779s # data1 = g_value_peek_pointer (param_values + 0); 779s # data2 = closure->data; 779s # } 779s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 779s # 779s # callback (data1, 779s # g_marshal_value_peek_param (param_values + 1), 779s # data2); 779s # } 779s # 779s # void 779s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 779s # GValue *return_value G_GNUC_UNUSED, 779s # gpointer instance, 779s # va_list args, 779s # gpointer marshal_data, 779s # int n_params, 779s # GType *param_types) 779s # { 779s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 779s # gpointer arg1, 779s # gpointer data2); 779s # GCClosure *cc = (GCClosure *) closure; 779s # gpointer data1, data2; 779s # GMarshalFunc_VOID__PARAM callback; 779s # gpointer arg0; 779s # va_list args_copy; 779s # 779s # va_copy (args_copy, args); 779s # arg0 = (gpointer) va_arg (args_copy, gpointer); 779s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 779s # arg0 = g_param_spec_ref (arg0); 779s # va_end (args_copy); 779s # 779s # 779s # if (G_CCLOSURE_SWAP_DATA (closure)) 779s # { 779s # data1 = closure->data; 779s # data2 = instance; 779s # } 779s # else 779s # { 779s # data1 = instance; 779s # data2 = closure->data; 779s # } 779s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 779s # 779s # callback (data1, 779s # arg0, 779s # data2); 779s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 779s # g_param_spec_unref (arg0); 779s # } 779s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 779s # tmpdir: /tmp/tmp872c98ub 779s # genmarshal: /usr/bin/glib-genmarshal 779s # /tmp/tmp872c98ub/tmp1keuqhtj.list: VOID:STRING 779s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp872c98ub/tmp1keuqhtj.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 779s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 779s # 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. */ 779s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 779s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 779s # 779s # G_BEGIN_DECLS 779s # 779s # /* VOID:STRING (/tmp/tmp872c98ub/tmp1keuqhtj.list:1) */ 779s # extern 779s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 779s # GValue *return_value, 779s # guint n_param_values, 779s # const GValue *param_values, 779s # gpointer invocation_hint, 779s # gpointer marshal_data); 779s # extern 779s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 779s # GValue *return_value, 779s # gpointer instance, 779s # va_list args, 779s # gpointer marshal_data, 779s # int n_params, 779s # GType *param_types); 779s # 779s # 779s # G_END_DECLS 779s # 779s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 779s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp872c98ub/tmp1keuqhtj.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 779s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 779s # 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. */ 779s # #ifdef G_ENABLE_DEBUG 779s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 779s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 779s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 779s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 779s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 779s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 779s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 779s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 779s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 779s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 779s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 779s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 779s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 779s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 779s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 779s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 779s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 779s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 779s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 779s # #else /* !G_ENABLE_DEBUG */ 779s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 779s # * Do not access GValues directly in your code. Instead, use the 779s # * g_value_get_*() functions 779s # */ 779s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 779s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 779s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 779s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 779s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 779s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 779s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 779s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 779s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 779s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 779s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 779s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 779s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 779s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 779s # #endif /* !G_ENABLE_DEBUG */ 779s # 779s # /* VOID:STRING (/tmp/tmp872c98ub/tmp1keuqhtj.list:1) */ 779s # void 779s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 779s # GValue *return_value G_GNUC_UNUSED, 779s # guint n_param_values, 779s # const GValue *param_values, 779s # gpointer invocation_hint G_GNUC_UNUSED, 779s # gpointer marshal_data) 779s # { 779s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 779s # gpointer arg1, 779s # gpointer data2); 779s # GCClosure *cc = (GCClosure *) closure; 779s # gpointer data1, data2; 779s # GMarshalFunc_VOID__STRING callback; 779s # 779s # g_return_if_fail (n_param_values == 2); 779s # 779s # if (G_CCLOSURE_SWAP_DATA (closure)) 779s # { 779s # data1 = closure->data; 779s # data2 = g_value_peek_pointer (param_values + 0); 779s # } 779s # else 779s # { 779s # data1 = g_value_peek_pointer (param_values + 0); 779s # data2 = closure->data; 779s # } 779s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 779s # 779s # callback (data1, 779s # g_marshal_value_peek_string (param_values + 1), 779s # data2); 779s # } 779s # 779s # void 779s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 779s # GValue *return_value G_GNUC_UNUSED, 779s # gpointer instance, 779s # va_list args, 779s # gpointer marshal_data, 779s # int n_params, 779s # GType *param_types) 779s # { 779s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 779s # gpointer arg1, 779s # gpointer data2); 779s # GCClosure *cc = (GCClosure *) closure; 779s # gpointer data1, data2; 779s # GMarshalFunc_VOID__STRING callback; 779s # gpointer arg0; 779s # va_list args_copy; 779s # 779s # va_copy (args_copy, args); 779s # arg0 = (gpointer) va_arg (args_copy, gpointer); 779s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 779s # arg0 = g_strdup (arg0); 779s # va_end (args_copy); 779s # 779s # 779s # if (G_CCLOSURE_SWAP_DATA (closure)) 779s # { 779s # data1 = closure->data; 779s # data2 = instance; 779s # } 779s # else 779s # { 779s # data1 = instance; 779s # data2 = closure->data; 779s # } 779s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 779s # 779s # callback (data1, 779s # arg0, 779s # data2); 779s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 779s # g_free (arg0); 779s # } 779s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 779s # tmpdir: /tmp/tmp0a2ydl0b 779s # genmarshal: /usr/bin/glib-genmarshal 779s # /tmp/tmp0a2ydl0b/tmpeozhjqjy.list: VOID:VARIANT 779s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp0a2ydl0b/tmpeozhjqjy.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 779s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 779s # 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. */ 779s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 779s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 779s # 779s # G_BEGIN_DECLS 779s # 779s # /* VOID:VARIANT (/tmp/tmp0a2ydl0b/tmpeozhjqjy.list:1) */ 779s # extern 779s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 779s # GValue *return_value, 779s # guint n_param_values, 779s # const GValue *param_values, 779s # gpointer invocation_hint, 779s # gpointer marshal_data); 779s # extern 779s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 779s # GValue *return_value, 779s # gpointer instance, 779s # va_list args, 779s # gpointer marshal_data, 779s # int n_params, 779s # GType *param_types); 779s # 779s # 779s # G_END_DECLS 779s # 779s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 779s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp0a2ydl0b/tmpeozhjqjy.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 779s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 779s # 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. */ 779s # #ifdef G_ENABLE_DEBUG 779s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 779s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 779s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 779s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 779s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 779s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 779s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 779s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 779s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 779s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 779s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 779s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 779s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 779s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 779s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 779s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 779s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 779s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 779s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 779s # #else /* !G_ENABLE_DEBUG */ 779s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 779s # * Do not access GValues directly in your code. Instead, use the 779s # * g_value_get_*() functions 779s # */ 779s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 779s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 779s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 779s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 779s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 779s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 779s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 779s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 779s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 779s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 779s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 779s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 779s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 779s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 779s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 779s # #endif /* !G_ENABLE_DEBUG */ 779s # 779s # /* VOID:VARIANT (/tmp/tmp0a2ydl0b/tmpeozhjqjy.list:1) */ 779s # void 779s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 779s # GValue *return_value G_GNUC_UNUSED, 779s # guint n_param_values, 779s # const GValue *param_values, 779s # gpointer invocation_hint G_GNUC_UNUSED, 779s # gpointer marshal_data) 779s # { 779s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 779s # gpointer arg1, 779s # gpointer data2); 779s # GCClosure *cc = (GCClosure *) closure; 779s # gpointer data1, data2; 779s # GMarshalFunc_VOID__VARIANT callback; 779s # 779s # g_return_if_fail (n_param_values == 2); 779s # 779s # if (G_CCLOSURE_SWAP_DATA (closure)) 779s # { 779s # data1 = closure->data; 779s # data2 = g_value_peek_pointer (param_values + 0); 779s # } 779s # else 779s # { 779s # data1 = g_value_peek_pointer (param_values + 0); 779s # data2 = closure->data; 779s # } 779s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 779s # 779s # callback (data1, 779s # g_marshal_value_peek_variant (param_values + 1), 779s # data2); 779s # } 779s # 779s # void 779s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 779s # GValue *return_value G_GNUC_UNUSED, 779s # gpointer instance, 779s # va_list args, 779s # gpointer marshal_data, 779s # int n_params, 779s # GType *param_types) 779s # { 779s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 779s # gpointer arg1, 779s # gpointer data2); 779s # GCClosure *cc = (GCClosure *) closure; 779s # gpointer data1, data2; 779s # GMarshalFunc_VOID__VARIANT callback; 779s # gpointer arg0; 779s # va_list args_copy; 779s # 779s # va_copy (args_copy, args); 779s # arg0 = (gpointer) va_arg (args_copy, gpointer); 779s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 779s # arg0 = g_variant_ref_sink (arg0); 779s # va_end (args_copy); 779s # 779s # 779s # if (G_CCLOSURE_SWAP_DATA (closure)) 779s # { 779s # data1 = closure->data; 779s # data2 = instance; 779s # } 779s # else 779s # { 779s # data1 = instance; 779s # data2 = closure->data; 779s # } 779s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 779s # 779s # callback (data1, 779s # arg0, 779s # data2); 779s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 779s # g_variant_unref (arg0); 779s # } 779s 1..8 779s ok - glib/genmarshal.py.test 779s # Running test: glib/string.test 779s TAP version 13 779s # random seed: R02S5f1e19279432fc53468080ac60622b57 779s 1..23 779s # Start of string tests 779s ok 1 /string/test-string-chunks 779s ok 2 /string/test-string-chunk-insert 779s ok 3 /string/test-string-new 779s ok 4 /string/test-string-printf 779s ok 5 /string/test-string-assign 779s ok 6 /string/test-string-append-c 779s ok 7 /string/test-string-append 779s ok 8 /string/test-string-append-vprintf 779s ok 9 /string/test-string-prepend-c 779s ok 10 /string/test-string-prepend 779s ok 11 /string/test-string-insert 779s ok 12 /string/test-string-insert-unichar 779s ok 13 /string/test-string-equal 779s ok 14 /string/test-string-truncate 779s ok 15 /string/test-string-overwrite 779s ok 16 /string/test-string-nul-handling 779s ok 17 /string/test-string-up-down 779s ok 18 /string/test-string-set-size 779s ok 19 /string/test-string-to-bytes 779s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 779s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 779s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 779s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 779s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 779s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 779s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 779s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 779s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 779s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 779s # 5: Replacing "o" with "" (limit 0) in "food for foals" 779s # -> 4 replacements, "fd fr fals" 779s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 779s # -> 3 replacements, "aaaaaaaaa" 779s # 7: Replacing "a" with "" (limit 0) in "aaa" 779s # -> 3 replacements, "" 779s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 779s # -> 1 replacements, "bba" 779s # 9: Replacing "" with "bar" (limit 0) in "foo" 779s # -> 4 replacements, "barfbarobarobar" 779s # 10: Replacing "" with "x" (limit 0) in "" 779s # -> 1 replacements, "x" 779s # 11: Replacing "" with "" (limit 0) in "" 779s # -> 1 replacements, "" 779s ok 20 /string/test-string-replace 779s ok 21 /string/test-string-steal 779s ok 22 /string/test-string-new-take 779s # Start of test-string-new-take tests 779s ok 23 /string/test-string-new-take/null 779s # End of test-string-new-take tests 779s # End of string tests 779s ok - glib/string.test 779s # Running test: glib/properties-refcount1.test 779s TAP version 13 779s # random seed: R02S233d2f4b859f96f80f0ed892bb6d7f46 779s 1..1 779s # Start of gobject tests 779s # Start of refcount tests 779s # .f 779s # .d 779s # .c 779s # .e 779s # .b 780s # .f 780s # .b 780s # .d 780s # .e 780s # .c 780s # .f 780s # .b 780s # .c 780s # .d 780s # .e 780s # .b 780s # .c 780s # .d 780s # .f 780s # .e 780s # .b 780s # .c 780s # .d 780s # .f 780s # .e 780s # .b 780s # .d 780s # .c 780s # .f 780s # .e 781s # .b 781s # .c 781s # .d 781s # .e 781s # .f 781s # .b 781s # .c 781s # .d 781s # .f 781s # .e 781s # .b 781s # .d 781s # .c 781s # .f 781s # .e 781s # .b 781s # .d 781s # .f 781s # .c 781s # .e 781s # .b 781s # .c 781s # .d 781s # .f 781s # .e 781s # .b 781s # .d 781s # .c 781s # .e 781s # .f 782s # .b 782s # .d 782s # .c 782s # .f 782s # .e 782s # .b 782s # .d 782s # .c 782s # .f 782s # .e 782s # .b 782s # .c 782s # .d 782s # .f 782s # .e 782s # .b 782s # .c 782s # .d 782s # .f 782s # .e 782s # .b 782s # .c 782s # .d 782s # .f 782s # .e 782s ok 1 /gobject/refcount/properties-1 782s # slow test /gobject/refcount/properties-1 executed in 3.01 secs 782s # End of refcount tests 782s # End of gobject tests 782s ok - glib/properties-refcount1.test 782s # Running test: glib/rwlock.test 782s TAP version 13 782s # random seed: R02S2a0cdb31fa1bba9a8bd4a07c2c61120e 782s 1..8 782s # Start of thread tests 782s ok 1 /thread/rwlock1 782s ok 2 /thread/rwlock2 782s ok 3 /thread/rwlock3 782s ok 4 /thread/rwlock4 782s ok 5 /thread/rwlock5 782s ok 6 /thread/rwlock6 784s # Executing: glib/rwlock.test 789s # Executing: glib/rwlock.test 791s ok 7 /thread/rwlock7 791s # slow test /thread/rwlock7 executed in 8.96 secs 791s ok 8 /thread/rwlock8 791s # End of thread tests 791s ok - glib/rwlock.test 791s # Running test: glib/gdbus-exit-on-close.test 791s TAP version 13 791s # random seed: R02S8d15db4e52156de83381ddfee23752f1 791s 1..4 791s # Start of gdbus tests 791s # Start of exit-on-close tests 791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/default/.dirs/home 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/default/.dirs/cache 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/default/.dirs/system-config2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/default/.dirs/config 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/default/.dirs/system-data2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/default/.dirs/data 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/default/.dirs/state 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/default/.dirs/runtime 791s ok 1 /gdbus/exit-on-close/default 791s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/true/.dirs/home 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/true/.dirs/cache 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/true/.dirs/system-config2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/true/.dirs/config 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/true/.dirs/system-data2 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/true/.dirs/data 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/true/.dirs/state 791s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/true/.dirs/runtime 792s ok 2 /gdbus/exit-on-close/true 792s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/false/.dirs/home 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/false/.dirs/cache 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/false/.dirs/system-config2 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/false/.dirs/config 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/false/.dirs/system-data2 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/false/.dirs/data 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/false/.dirs/state 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/false/.dirs/runtime 792s ok 3 /gdbus/exit-on-close/false 792s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/we-close/.dirs/home 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/we-close/.dirs/cache 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/we-close/.dirs/system-config2 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/we-close/.dirs/config 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/we-close/.dirs/system-data2 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/we-close/.dirs/data 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/we-close/.dirs/state 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_QICRK2/gdbus/exit-on-close/we-close/.dirs/runtime 792s ok 4 /gdbus/exit-on-close/we-close 792s # Start of default tests 792s # End of default tests 792s # Start of true tests 792s # End of true tests 792s # Start of false tests 792s # End of false tests 792s # Start of we-close tests 792s # End of we-close tests 792s # End of exit-on-close tests 792s # End of gdbus tests 792s ok - glib/gdbus-exit-on-close.test 792s # Running test: glib/basic-signals.test 792s TAP version 13 792s # random seed: R02S432c147af3c434edd517c9d078608386 792s 1..1 792s # Start of gobject tests 792s ok 1 /gobject/basic-signals 792s # End of gobject tests 792s ok - glib/basic-signals.test 792s # Running test: glib/throws.test 792s TAP version 13 792s # random seed: R02S8433042594c57b4a276b87178f335606 792s 1..3 792s # Start of throws tests 792s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_ETZTK2/throws/invoke-gerror/.dirs/home 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_ETZTK2/throws/invoke-gerror/.dirs/cache 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_ETZTK2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_ETZTK2/throws/invoke-gerror/.dirs/system-config2 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_ETZTK2/throws/invoke-gerror/.dirs/config 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_ETZTK2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_ETZTK2/throws/invoke-gerror/.dirs/system-data2 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_ETZTK2/throws/invoke-gerror/.dirs/data 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_ETZTK2/throws/invoke-gerror/.dirs/state 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_ETZTK2/throws/invoke-gerror/.dirs/runtime 792s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 792s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 792s ok 1 /throws/invoke-gerror 792s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_ETZTK2/throws/vfunc-can-throw-gerror/.dirs/home 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_ETZTK2/throws/vfunc-can-throw-gerror/.dirs/cache 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_ETZTK2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_ETZTK2/throws/vfunc-can-throw-gerror/.dirs/system-config2 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_ETZTK2/throws/vfunc-can-throw-gerror/.dirs/config 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_ETZTK2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_ETZTK2/throws/vfunc-can-throw-gerror/.dirs/system-data2 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_ETZTK2/throws/vfunc-can-throw-gerror/.dirs/data 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_ETZTK2/throws/vfunc-can-throw-gerror/.dirs/state 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_ETZTK2/throws/vfunc-can-throw-gerror/.dirs/runtime 792s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 792s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 792s ok 2 /throws/vfunc-can-throw-gerror 792s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_ETZTK2/throws/callback-can-throw-gerror/.dirs/home 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_ETZTK2/throws/callback-can-throw-gerror/.dirs/cache 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_ETZTK2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_ETZTK2/throws/callback-can-throw-gerror/.dirs/system-config2 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_ETZTK2/throws/callback-can-throw-gerror/.dirs/config 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_ETZTK2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_ETZTK2/throws/callback-can-throw-gerror/.dirs/system-data2 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_ETZTK2/throws/callback-can-throw-gerror/.dirs/data 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_ETZTK2/throws/callback-can-throw-gerror/.dirs/state 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_ETZTK2/throws/callback-can-throw-gerror/.dirs/runtime 792s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 792s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 792s ok 3 /throws/callback-can-throw-gerror 792s # End of throws tests 792s ok - glib/throws.test 792s # Running test: glib/macros-c-99.test 792s TAP version 13 792s # random seed: R02S68fbe12aac761cdfae4e321917265eb5 792s 1..4 792s # Start of C tests 792s ok 1 /C/standard-99 792s # End of C tests 792s # Start of alignof tests 792s ok 2 /alignof/fallback 792s # End of alignof tests 792s # Start of assert tests 792s ok 3 /assert/static 792s # End of assert tests 792s # Start of struct tests 792s ok 4 /struct/sizeof_member 792s # End of struct tests 792s ok - glib/macros-c-99.test 792s # Running test: glib/gdbus-proxy.test 792s TAP version 13 792s # random seed: R02S1ff47cc913cdd28d6393eb064b43ca77 792s 1..5 792s # Start of gdbus tests 792s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/.dirs/home 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/.dirs/cache 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/.dirs/system-config2 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/.dirs/config 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/.dirs/system-data2 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/.dirs/data 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/.dirs/state 792s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/.dirs/runtime 792s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 793s ok 1 /gdbus/proxy 793s # slow test /gdbus/proxy executed in 1.72 secs 793s # Start of proxy tests 793s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/no-properties/.dirs/home 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/no-properties/.dirs/cache 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/no-properties/.dirs/system-config2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/no-properties/.dirs/config 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/no-properties/.dirs/system-data2 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/no-properties/.dirs/data 793s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/no-properties/.dirs/state 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/no-properties/.dirs/runtime 794s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 794s ok 2 /gdbus/proxy/no-properties 794s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/wellknown-noauto/.dirs/home 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/wellknown-noauto/.dirs/cache 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/wellknown-noauto/.dirs/config 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/wellknown-noauto/.dirs/data 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/wellknown-noauto/.dirs/state 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/wellknown-noauto/.dirs/runtime 794s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 794s ok 3 /gdbus/proxy/wellknown-noauto 794s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/async/.dirs/home 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/async/.dirs/cache 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/async/.dirs/system-config2 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/async/.dirs/config 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/async/.dirs/system-data2 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/async/.dirs/data 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/async/.dirs/state 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/async/.dirs/runtime 794s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 794s # Executing: glib/gdbus-proxy.test 795s ok 4 /gdbus/proxy/async 795s # slow test /gdbus/proxy/async executed in 1.72 secs 795s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/no-match-rule/.dirs/home 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/no-match-rule/.dirs/cache 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/no-match-rule/.dirs/system-config2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/no-match-rule/.dirs/config 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/no-match-rule/.dirs/system-data2 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/no-match-rule/.dirs/data 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/no-match-rule/.dirs/state 795s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_UFOUK2/gdbus/proxy/no-match-rule/.dirs/runtime 795s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 795s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 795s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 797s ok 5 /gdbus/proxy/no-match-rule 797s # slow test /gdbus/proxy/no-match-rule executed in 1.73 secs 797s # End of proxy tests 797s # End of gdbus tests 797s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 797s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 797s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 797s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 797s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 797s ok - glib/gdbus-proxy.test 797s # Running test: glib/cxx-98.test 797s TAP version 13 797s # random seed: R02S82567c5bdf8e88da4da60976b87dfd26 797s 1..2 797s # Start of gtask tests 797s # 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. 797s ok 1 /gtask/name 797s # Start of name tests 797s # 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. 797s ok 2 /gtask/name/macro-wrapper 797s # End of name tests 797s # End of gtask tests 797s ok - glib/cxx-98.test 797s # Running test: glib/mkenums.py.test 797s TAP version 13 797s ok 1 __main__.TestMkenums.test_available_in 797s # tmpdir: /tmp/tmp3khirob7 797s # rspfile: False, mkenums: /usr/bin/glib-mkenums 797s # /tmp/tmp3khirob7/tmp96qd5b_g.h: 797s # typedef enum { 797s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 797s # } GDBusServerFlags; 797s # 797s # /tmp/tmp3khirob7/tmpyhdpi0bg.template: 797s # /*** BEGIN file-header ***/ 797s # file-header 797s # /*** END file-header ***/ 797s # 797s # /*** BEGIN file-production ***/ 797s # file-production 797s # filename: @filename@ 797s # basename: @basename@ 797s # /*** END file-production ***/ 797s # 797s # /*** BEGIN enumeration-production ***/ 797s # enumeration-production 797s # EnumName: @EnumName@ 797s # enum_name: @enum_name@ 797s # ENUMNAME: @ENUMNAME@ 797s # ENUMSHORT: @ENUMSHORT@ 797s # ENUMPREFIX: @ENUMPREFIX@ 797s # enumsince: @enumsince@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END enumeration-production ***/ 797s # 797s # /*** BEGIN value-header ***/ 797s # value-header 797s # EnumName: @EnumName@ 797s # enum_name: @enum_name@ 797s # ENUMNAME: @ENUMNAME@ 797s # ENUMSHORT: @ENUMSHORT@ 797s # ENUMPREFIX: @ENUMPREFIX@ 797s # enumsince: @enumsince@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END value-header ***/ 797s # 797s # /*** BEGIN value-production ***/ 797s # value-production 797s # VALUENAME: @VALUENAME@ 797s # valuenick: @valuenick@ 797s # valuenum: @valuenum@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END value-production ***/ 797s # 797s # /*** BEGIN value-tail ***/ 797s # value-tail 797s # EnumName: @EnumName@ 797s # enum_name: @enum_name@ 797s # ENUMNAME: @ENUMNAME@ 797s # ENUMSHORT: @ENUMSHORT@ 797s # ENUMPREFIX: @ENUMPREFIX@ 797s # enumsince: @enumsince@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END value-tail ***/ 797s # 797s # /*** BEGIN comment ***/ 797s # comment 797s # comment: @comment@ 797s # /*** END comment ***/ 797s # 797s # /*** BEGIN file-tail ***/ 797s # file-tail 797s # /*** END file-tail ***/ 797s # 797s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp3khirob7/tmpyhdpi0bg.template', '/tmp/tmp3khirob7/tmp96qd5b_g.h'] 797s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 797s # Output: comment 797s # 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. 797s # 797s # 797s # file-header 797s # file-production 797s # filename: /tmp/tmp3khirob7/tmp96qd5b_g.h 797s # basename: tmp96qd5b_g.h 797s # enumeration-production 797s # EnumName: GDBusServerFlags 797s # enum_name: g_dbus_server_flags 797s # ENUMNAME: G_DBUS_SERVER_FLAGS 797s # ENUMSHORT: DBUS_SERVER_FLAGS 797s # ENUMPREFIX: G 797s # enumsince: 797s # type: flags 797s # Type: Flags 797s # TYPE: FLAGS 797s # value-header 797s # EnumName: GDBusServerFlags 797s # enum_name: g_dbus_server_flags 797s # ENUMNAME: G_DBUS_SERVER_FLAGS 797s # ENUMSHORT: DBUS_SERVER_FLAGS 797s # ENUMPREFIX: G 797s # enumsince: 797s # type: flags 797s # Type: Flags 797s # TYPE: FLAGS 797s # value-production 797s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 797s # valuenick: user 797s # valuenum: 4 797s # type: flags 797s # Type: Flags 797s # TYPE: FLAGS 797s # value-tail 797s # EnumName: GDBusServerFlags 797s # enum_name: g_dbus_server_flags 797s # ENUMNAME: G_DBUS_SERVER_FLAGS 797s # ENUMSHORT: DBUS_SERVER_FLAGS 797s # ENUMPREFIX: G 797s # enumsince: 797s # type: flags 797s # Type: Flags 797s # TYPE: FLAGS 797s # file-tail 797s # 797s # comment 797s # comment: Generated data ends here 797s ok 2 __main__.TestMkenums.test_comma_in_enum_value 797s # tmpdir: /tmp/tmpb8zit418 797s # rspfile: False, mkenums: /usr/bin/glib-mkenums 797s # /tmp/tmpb8zit418/tmpiqhnzyjt.h: 797s # typedef enum { 797s # ENUM_VALUE_WITH_COMMA = ',', 797s # } TestCommaEnum; 797s # 797s # /tmp/tmpb8zit418/tmpsa76nj9y.template: 797s # /*** BEGIN file-header ***/ 797s # file-header 797s # /*** END file-header ***/ 797s # 797s # /*** BEGIN file-production ***/ 797s # file-production 797s # filename: @filename@ 797s # basename: @basename@ 797s # /*** END file-production ***/ 797s # 797s # /*** BEGIN enumeration-production ***/ 797s # enumeration-production 797s # EnumName: @EnumName@ 797s # enum_name: @enum_name@ 797s # ENUMNAME: @ENUMNAME@ 797s # ENUMSHORT: @ENUMSHORT@ 797s # ENUMPREFIX: @ENUMPREFIX@ 797s # enumsince: @enumsince@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END enumeration-production ***/ 797s # 797s # /*** BEGIN value-header ***/ 797s # value-header 797s # EnumName: @EnumName@ 797s # enum_name: @enum_name@ 797s # ENUMNAME: @ENUMNAME@ 797s # ENUMSHORT: @ENUMSHORT@ 797s # ENUMPREFIX: @ENUMPREFIX@ 797s # enumsince: @enumsince@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END value-header ***/ 797s # 797s # /*** BEGIN value-production ***/ 797s # value-production 797s # VALUENAME: @VALUENAME@ 797s # valuenick: @valuenick@ 797s # valuenum: @valuenum@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END value-production ***/ 797s # 797s # /*** BEGIN value-tail ***/ 797s # value-tail 797s # EnumName: @EnumName@ 797s # enum_name: @enum_name@ 797s # ENUMNAME: @ENUMNAME@ 797s # ENUMSHORT: @ENUMSHORT@ 797s # ENUMPREFIX: @ENUMPREFIX@ 797s # enumsince: @enumsince@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END value-tail ***/ 797s # 797s # /*** BEGIN comment ***/ 797s # comment 797s # comment: @comment@ 797s # /*** END comment ***/ 797s # 797s # /*** BEGIN file-tail ***/ 797s # file-tail 797s # /*** END file-tail ***/ 797s # 797s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpb8zit418/tmpsa76nj9y.template', '/tmp/tmpb8zit418/tmpiqhnzyjt.h'] 797s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 797s # Output: comment 797s # 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. 797s # 797s # 797s # file-header 797s # file-production 797s # filename: /tmp/tmpb8zit418/tmpiqhnzyjt.h 797s # basename: tmpiqhnzyjt.h 797s # enumeration-production 797s # EnumName: TestCommaEnum 797s # enum_name: test_comma_enum 797s # ENUMNAME: TEST_COMMA_ENUM 797s # ENUMSHORT: COMMA_ENUM 797s # ENUMPREFIX: TEST 797s # enumsince: 797s # type: enum 797s # Type: Enum 797s # TYPE: ENUM 797s # value-header 797s # EnumName: TestCommaEnum 797s # enum_name: test_comma_enum 797s # ENUMNAME: TEST_COMMA_ENUM 797s # ENUMSHORT: COMMA_ENUM 797s # ENUMPREFIX: TEST 797s # enumsince: 797s # type: enum 797s # Type: Enum 797s # TYPE: ENUM 797s # value-production 797s # VALUENAME: ENUM_VALUE_WITH_COMMA 797s # valuenick: comma 797s # valuenum: 44 797s # type: enum 797s # Type: Enum 797s # TYPE: ENUM 797s # value-tail 797s # EnumName: TestCommaEnum 797s # enum_name: test_comma_enum 797s # ENUMNAME: TEST_COMMA_ENUM 797s # ENUMSHORT: COMMA_ENUM 797s # ENUMPREFIX: TEST 797s # enumsince: 797s # type: enum 797s # Type: Enum 797s # TYPE: ENUM 797s # file-tail 797s # 797s # comment 797s # comment: Generated data ends here 797s ok 3 __main__.TestMkenums.test_deprecated_in 797s # tmpdir: /tmp/tmppccj4cpl 797s # rspfile: False, mkenums: /usr/bin/glib-mkenums 797s # /tmp/tmppccj4cpl/tmpdpu01k_o.h: 797s # typedef enum { 797s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 797s # } GDBusServerFlags; 797s # 797s # /tmp/tmppccj4cpl/tmph2xd_agr.template: 797s # /*** BEGIN file-header ***/ 797s # file-header 797s # /*** END file-header ***/ 797s # 797s # /*** BEGIN file-production ***/ 797s # file-production 797s # filename: @filename@ 797s # basename: @basename@ 797s # /*** END file-production ***/ 797s # 797s # /*** BEGIN enumeration-production ***/ 797s # enumeration-production 797s # EnumName: @EnumName@ 797s # enum_name: @enum_name@ 797s # ENUMNAME: @ENUMNAME@ 797s # ENUMSHORT: @ENUMSHORT@ 797s # ENUMPREFIX: @ENUMPREFIX@ 797s # enumsince: @enumsince@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END enumeration-production ***/ 797s # 797s # /*** BEGIN value-header ***/ 797s # value-header 797s # EnumName: @EnumName@ 797s # enum_name: @enum_name@ 797s # ENUMNAME: @ENUMNAME@ 797s # ENUMSHORT: @ENUMSHORT@ 797s # ENUMPREFIX: @ENUMPREFIX@ 797s # enumsince: @enumsince@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END value-header ***/ 797s # 797s # /*** BEGIN value-production ***/ 797s # value-production 797s # VALUENAME: @VALUENAME@ 797s # valuenick: @valuenick@ 797s # valuenum: @valuenum@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END value-production ***/ 797s # 797s # /*** BEGIN value-tail ***/ 797s # value-tail 797s # EnumName: @EnumName@ 797s # enum_name: @enum_name@ 797s # ENUMNAME: @ENUMNAME@ 797s # ENUMSHORT: @ENUMSHORT@ 797s # ENUMPREFIX: @ENUMPREFIX@ 797s # enumsince: @enumsince@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END value-tail ***/ 797s # 797s # /*** BEGIN comment ***/ 797s # comment 797s # comment: @comment@ 797s # /*** END comment ***/ 797s # 797s # /*** BEGIN file-tail ***/ 797s # file-tail 797s # /*** END file-tail ***/ 797s # 797s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmppccj4cpl/tmph2xd_agr.template', '/tmp/tmppccj4cpl/tmpdpu01k_o.h'] 797s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 797s # Output: comment 797s # 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. 797s # 797s # 797s # file-header 797s # file-production 797s # filename: /tmp/tmppccj4cpl/tmpdpu01k_o.h 797s # basename: tmpdpu01k_o.h 797s # enumeration-production 797s # EnumName: GDBusServerFlags 797s # enum_name: g_dbus_server_flags 797s # ENUMNAME: G_DBUS_SERVER_FLAGS 797s # ENUMSHORT: DBUS_SERVER_FLAGS 797s # ENUMPREFIX: G 797s # enumsince: 797s # type: flags 797s # Type: Flags 797s # TYPE: FLAGS 797s # value-header 797s # EnumName: GDBusServerFlags 797s # enum_name: g_dbus_server_flags 797s # ENUMNAME: G_DBUS_SERVER_FLAGS 797s # ENUMSHORT: DBUS_SERVER_FLAGS 797s # ENUMPREFIX: G 797s # enumsince: 797s # type: flags 797s # Type: Flags 797s # TYPE: FLAGS 797s # value-production 797s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 797s # valuenick: user 797s # valuenum: 4 797s # type: flags 797s # Type: Flags 797s # TYPE: FLAGS 797s # value-tail 797s # EnumName: GDBusServerFlags 797s # enum_name: g_dbus_server_flags 797s # ENUMNAME: G_DBUS_SERVER_FLAGS 797s # ENUMSHORT: DBUS_SERVER_FLAGS 797s # ENUMPREFIX: G 797s # enumsince: 797s # type: flags 797s # Type: Flags 797s # TYPE: FLAGS 797s # file-tail 797s # 797s # comment 797s # comment: Generated data ends here 797s ok 4 __main__.TestMkenums.test_deprecated_in_for 797s # tmpdir: /tmp/tmpwopqavpd 797s # rspfile: False, mkenums: /usr/bin/glib-mkenums 797s # /tmp/tmpwopqavpd/tmpy0xpwtq9.h: 797s # typedef enum { 797s # 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) 797s # } GDBusServerFlags; 797s # 797s # /tmp/tmpwopqavpd/tmpdl0ps0es.template: 797s # /*** BEGIN file-header ***/ 797s # file-header 797s # /*** END file-header ***/ 797s # 797s # /*** BEGIN file-production ***/ 797s # file-production 797s # filename: @filename@ 797s # basename: @basename@ 797s # /*** END file-production ***/ 797s # 797s # /*** BEGIN enumeration-production ***/ 797s # enumeration-production 797s # EnumName: @EnumName@ 797s # enum_name: @enum_name@ 797s # ENUMNAME: @ENUMNAME@ 797s # ENUMSHORT: @ENUMSHORT@ 797s # ENUMPREFIX: @ENUMPREFIX@ 797s # enumsince: @enumsince@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END enumeration-production ***/ 797s # 797s # /*** BEGIN value-header ***/ 797s # value-header 797s # EnumName: @EnumName@ 797s # enum_name: @enum_name@ 797s # ENUMNAME: @ENUMNAME@ 797s # ENUMSHORT: @ENUMSHORT@ 797s # ENUMPREFIX: @ENUMPREFIX@ 797s # enumsince: @enumsince@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END value-header ***/ 797s # 797s # /*** BEGIN value-production ***/ 797s # value-production 797s # VALUENAME: @VALUENAME@ 797s # valuenick: @valuenick@ 797s # valuenum: @valuenum@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END value-production ***/ 797s # 797s # /*** BEGIN value-tail ***/ 797s # value-tail 797s # EnumName: @EnumName@ 797s # enum_name: @enum_name@ 797s # ENUMNAME: @ENUMNAME@ 797s # ENUMSHORT: @ENUMSHORT@ 797s # ENUMPREFIX: @ENUMPREFIX@ 797s # enumsince: @enumsince@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END value-tail ***/ 797s # 797s # /*** BEGIN comment ***/ 797s # comment 797s # comment: @comment@ 797s # /*** END comment ***/ 797s # 797s # /*** BEGIN file-tail ***/ 797s # file-tail 797s # /*** END file-tail ***/ 797s # 797s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpwopqavpd/tmpdl0ps0es.template', '/tmp/tmpwopqavpd/tmpy0xpwtq9.h'] 797s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 797s # Output: comment 797s # 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. 797s # 797s # 797s # file-header 797s # file-production 797s # filename: /tmp/tmpwopqavpd/tmpy0xpwtq9.h 797s # basename: tmpy0xpwtq9.h 797s # enumeration-production 797s # EnumName: GDBusServerFlags 797s # enum_name: g_dbus_server_flags 797s # ENUMNAME: G_DBUS_SERVER_FLAGS 797s # ENUMSHORT: DBUS_SERVER_FLAGS 797s # ENUMPREFIX: G 797s # enumsince: 797s # type: flags 797s # Type: Flags 797s # TYPE: FLAGS 797s # value-header 797s # EnumName: GDBusServerFlags 797s # enum_name: g_dbus_server_flags 797s # ENUMNAME: G_DBUS_SERVER_FLAGS 797s # ENUMSHORT: DBUS_SERVER_FLAGS 797s # ENUMPREFIX: G 797s # enumsince: 797s # type: flags 797s # Type: Flags 797s # TYPE: FLAGS 797s # value-production 797s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 797s # valuenick: user 797s # valuenum: 4 797s # type: flags 797s # Type: Flags 797s # TYPE: FLAGS 797s # value-tail 797s # EnumName: GDBusServerFlags 797s # enum_name: g_dbus_server_flags 797s # ENUMNAME: G_DBUS_SERVER_FLAGS 797s # ENUMSHORT: DBUS_SERVER_FLAGS 797s # ENUMPREFIX: G 797s # enumsince: 797s # type: flags 797s # Type: Flags 797s # TYPE: FLAGS 797s # file-tail 797s # 797s # comment 797s # comment: Generated data ends here 797s ok 5 __main__.TestMkenums.test_empty_header 797s # tmpdir: /tmp/tmphxy65y38 797s # rspfile: False, mkenums: /usr/bin/glib-mkenums 797s # /tmp/tmphxy65y38/tmpqazz3xvo.h: 797s # /tmp/tmphxy65y38/tmp66b3nn58.template: 797s # /*** BEGIN file-header ***/ 797s # file-header 797s # /*** END file-header ***/ 797s # 797s # /*** BEGIN file-production ***/ 797s # file-production 797s # filename: @filename@ 797s # basename: @basename@ 797s # /*** END file-production ***/ 797s # 797s # /*** BEGIN enumeration-production ***/ 797s # enumeration-production 797s # EnumName: @EnumName@ 797s # enum_name: @enum_name@ 797s # ENUMNAME: @ENUMNAME@ 797s # ENUMSHORT: @ENUMSHORT@ 797s # ENUMPREFIX: @ENUMPREFIX@ 797s # enumsince: @enumsince@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END enumeration-production ***/ 797s # 797s # /*** BEGIN value-header ***/ 797s # value-header 797s # EnumName: @EnumName@ 797s # enum_name: @enum_name@ 797s # ENUMNAME: @ENUMNAME@ 797s # ENUMSHORT: @ENUMSHORT@ 797s # ENUMPREFIX: @ENUMPREFIX@ 797s # enumsince: @enumsince@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END value-header ***/ 797s # 797s # /*** BEGIN value-production ***/ 797s # value-production 797s # VALUENAME: @VALUENAME@ 797s # valuenick: @valuenick@ 797s # valuenum: @valuenum@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END value-production ***/ 797s # 797s # /*** BEGIN value-tail ***/ 797s # value-tail 797s # EnumName: @EnumName@ 797s # enum_name: @enum_name@ 797s # ENUMNAME: @ENUMNAME@ 797s # ENUMSHORT: @ENUMSHORT@ 797s # ENUMPREFIX: @ENUMPREFIX@ 797s # enumsince: @enumsince@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END value-tail ***/ 797s # 797s # /*** BEGIN comment ***/ 797s # comment 797s # comment: @comment@ 797s # /*** END comment ***/ 797s # 797s # /*** BEGIN file-tail ***/ 797s # file-tail 797s # /*** END file-tail ***/ 797s # 797s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmphxy65y38/tmp66b3nn58.template', '/tmp/tmphxy65y38/tmpqazz3xvo.h'] 797s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 797s # Output: comment 797s # 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. 797s # 797s # 797s # file-header 797s # file-tail 797s # 797s # comment 797s # comment: Generated data ends here 797s ok 6 __main__.TestMkenums.test_empty_template 797s # tmpdir: /tmp/tmpl3zrtc0s 797s # rspfile: False, mkenums: /usr/bin/glib-mkenums 797s # /tmp/tmpl3zrtc0s/tmp1st4t26i.template: 797s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpl3zrtc0s/tmp1st4t26i.template'] 797s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 797s # 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. */ 797s # 797s # 797s # /* Generated data ends here */ 797s ok 7 __main__.TestMkenums.test_enum_name 797s # tmpdir: /tmp/tmp5cwr3jfe 797s # rspfile: False, mkenums: /usr/bin/glib-mkenums 797s # /tmp/tmp5cwr3jfe/tmp113lg0tj.h: 797s # typedef enum _SomeEnumIdentifier { 797s # ENUM_VALUE 797s # } SomeEnumIdentifier; 797s # 797s # /tmp/tmp5cwr3jfe/tmpe4qmc6a0.template: 797s # /*** BEGIN file-header ***/ 797s # file-header 797s # /*** END file-header ***/ 797s # 797s # /*** BEGIN file-production ***/ 797s # file-production 797s # filename: @filename@ 797s # basename: @basename@ 797s # /*** END file-production ***/ 797s # 797s # /*** BEGIN enumeration-production ***/ 797s # enumeration-production 797s # EnumName: @EnumName@ 797s # enum_name: @enum_name@ 797s # ENUMNAME: @ENUMNAME@ 797s # ENUMSHORT: @ENUMSHORT@ 797s # ENUMPREFIX: @ENUMPREFIX@ 797s # enumsince: @enumsince@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END enumeration-production ***/ 797s # 797s # /*** BEGIN value-header ***/ 797s # value-header 797s # EnumName: @EnumName@ 797s # enum_name: @enum_name@ 797s # ENUMNAME: @ENUMNAME@ 797s # ENUMSHORT: @ENUMSHORT@ 797s # ENUMPREFIX: @ENUMPREFIX@ 797s # enumsince: @enumsince@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END value-header ***/ 797s # 797s # /*** BEGIN value-production ***/ 797s # value-production 797s # VALUENAME: @VALUENAME@ 797s # valuenick: @valuenick@ 797s # valuenum: @valuenum@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END value-production ***/ 797s # 797s # /*** BEGIN value-tail ***/ 797s # value-tail 797s # EnumName: @EnumName@ 797s # enum_name: @enum_name@ 797s # ENUMNAME: @ENUMNAME@ 797s # ENUMSHORT: @ENUMSHORT@ 797s # ENUMPREFIX: @ENUMPREFIX@ 797s # enumsince: @enumsince@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END value-tail ***/ 797s # 797s # /*** BEGIN comment ***/ 797s # comment 797s # comment: @comment@ 797s # /*** END comment ***/ 797s # 797s # /*** BEGIN file-tail ***/ 797s # file-tail 797s # /*** END file-tail ***/ 797s # 797s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5cwr3jfe/tmpe4qmc6a0.template', '/tmp/tmp5cwr3jfe/tmp113lg0tj.h'] 797s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 797s # Output: comment 797s # 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. 797s # 797s # 797s # file-header 797s # file-production 797s # filename: /tmp/tmp5cwr3jfe/tmp113lg0tj.h 797s # basename: tmp113lg0tj.h 797s # enumeration-production 797s # EnumName: SomeEnumIdentifier 797s # enum_name: some_enum_identifier 797s # ENUMNAME: SOME_ENUM_IDENTIFIER 797s # ENUMSHORT: ENUM_IDENTIFIER 797s # ENUMPREFIX: SOME 797s # enumsince: 797s # type: enum 797s # Type: Enum 797s # TYPE: ENUM 797s # value-header 797s # EnumName: SomeEnumIdentifier 797s # enum_name: some_enum_identifier 797s # ENUMNAME: SOME_ENUM_IDENTIFIER 797s # ENUMSHORT: ENUM_IDENTIFIER 797s # ENUMPREFIX: SOME 797s # enumsince: 797s # type: enum 797s # Type: Enum 797s # TYPE: ENUM 797s # value-production 797s # VALUENAME: ENUM_VALUE 797s # valuenick: value 797s # valuenum: 0 797s # type: enum 797s # Type: Enum 797s # TYPE: ENUM 797s # value-tail 797s # EnumName: SomeEnumIdentifier 797s # enum_name: some_enum_identifier 797s # ENUMNAME: SOME_ENUM_IDENTIFIER 797s # ENUMSHORT: ENUM_IDENTIFIER 797s # ENUMPREFIX: SOME 797s # enumsince: 797s # type: enum 797s # Type: Enum 797s # TYPE: ENUM 797s # file-tail 797s # 797s # comment 797s # comment: Generated data ends here 797s ok 8 __main__.TestMkenums.test_enum_private_public 797s # tmpdir: /tmp/tmp14co_z_d 797s # rspfile: False, mkenums: /usr/bin/glib-mkenums 797s # /tmp/tmp14co_z_d/tmpzfpa1mot.h: 797s # typedef enum { 797s # ENUM_VALUE_PUBLIC1, 797s # /*< private >*/ 797s # ENUM_VALUE_PRIVATE, 797s # } SomeEnumA 797s # 797s # /tmp/tmp14co_z_d/tmpmvd5hxn1.template: 797s # /*** BEGIN file-header ***/ 797s # file-header 797s # /*** END file-header ***/ 797s # 797s # /*** BEGIN file-production ***/ 797s # file-production 797s # filename: @filename@ 797s # basename: @basename@ 797s # /*** END file-production ***/ 797s # 797s # /*** BEGIN enumeration-production ***/ 797s # enumeration-production 797s # EnumName: @EnumName@ 797s # enum_name: @enum_name@ 797s # ENUMNAME: @ENUMNAME@ 797s # ENUMSHORT: @ENUMSHORT@ 797s # ENUMPREFIX: @ENUMPREFIX@ 797s # enumsince: @enumsince@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END enumeration-production ***/ 797s # 797s # /*** BEGIN value-header ***/ 797s # value-header 797s # EnumName: @EnumName@ 797s # enum_name: @enum_name@ 797s # ENUMNAME: @ENUMNAME@ 797s # ENUMSHORT: @ENUMSHORT@ 797s # ENUMPREFIX: @ENUMPREFIX@ 797s # enumsince: @enumsince@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END value-header ***/ 797s # 797s # /*** BEGIN value-production ***/ 797s # value-production 797s # VALUENAME: @VALUENAME@ 797s # valuenick: @valuenick@ 797s # valuenum: @valuenum@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END value-production ***/ 797s # 797s # /*** BEGIN value-tail ***/ 797s # value-tail 797s # EnumName: @EnumName@ 797s # enum_name: @enum_name@ 797s # ENUMNAME: @ENUMNAME@ 797s # ENUMSHORT: @ENUMSHORT@ 797s # ENUMPREFIX: @ENUMPREFIX@ 797s # enumsince: @enumsince@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END value-tail ***/ 797s # 797s # /*** BEGIN comment ***/ 797s # comment 797s # comment: @comment@ 797s # /*** END comment ***/ 797s # 797s # /*** BEGIN file-tail ***/ 797s # file-tail 797s # /*** END file-tail ***/ 797s # 797s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp14co_z_d/tmpmvd5hxn1.template', '/tmp/tmp14co_z_d/tmpzfpa1mot.h'] 797s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 797s # Output: comment 797s # 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. 797s # 797s # 797s # file-header 797s # file-production 797s # filename: /tmp/tmp14co_z_d/tmpzfpa1mot.h 797s # basename: tmpzfpa1mot.h 797s # enumeration-production 797s # EnumName: SomeEnumA 797s # enum_name: some_enum_a 797s # ENUMNAME: SOME_ENUM_A 797s # ENUMSHORT: ENUM_A 797s # ENUMPREFIX: SOME 797s # enumsince: 797s # type: enum 797s # Type: Enum 797s # TYPE: ENUM 797s # value-header 797s # EnumName: SomeEnumA 797s # enum_name: some_enum_a 797s # ENUMNAME: SOME_ENUM_A 797s # ENUMSHORT: ENUM_A 797s # ENUMPREFIX: SOME 797s # enumsince: 797s # type: enum 797s # Type: Enum 797s # TYPE: ENUM 797s # value-production 797s # VALUENAME: ENUM_VALUE_PUBLIC1 797s # valuenick: public1 797s # valuenum: 0 797s # type: enum 797s # Type: Enum 797s # TYPE: ENUM 797s # value-tail 797s # EnumName: SomeEnumA 797s # enum_name: some_enum_a 797s # ENUMNAME: SOME_ENUM_A 797s # ENUMSHORT: ENUM_A 797s # ENUMPREFIX: SOME 797s # enumsince: 797s # type: enum 797s # Type: Enum 797s # TYPE: ENUM 797s # file-tail 797s # 797s # comment 797s # comment: Generated data ends here 797s # /tmp/tmp14co_z_d/tmpv3m13zg2.h: 797s # typedef enum { 797s # /*< private >*/ 797s # ENUM_VALUE_PRIVATE, 797s # /*< public >*/ 797s # ENUM_VALUE_PUBLIC2, 797s # } SomeEnumB; 797s # 797s # /tmp/tmp14co_z_d/tmp2w3_41_p.template: 797s # /*** BEGIN file-header ***/ 797s # file-header 797s # /*** END file-header ***/ 797s # 797s # /*** BEGIN file-production ***/ 797s # file-production 797s # filename: @filename@ 797s # basename: @basename@ 797s # /*** END file-production ***/ 797s # 797s # /*** BEGIN enumeration-production ***/ 797s # enumeration-production 797s # EnumName: @EnumName@ 797s # enum_name: @enum_name@ 797s # ENUMNAME: @ENUMNAME@ 797s # ENUMSHORT: @ENUMSHORT@ 797s # ENUMPREFIX: @ENUMPREFIX@ 797s # enumsince: @enumsince@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END enumeration-production ***/ 797s # 797s # /*** BEGIN value-header ***/ 797s # value-header 797s # EnumName: @EnumName@ 797s # enum_name: @enum_name@ 797s # ENUMNAME: @ENUMNAME@ 797s # ENUMSHORT: @ENUMSHORT@ 797s # ENUMPREFIX: @ENUMPREFIX@ 797s # enumsince: @enumsince@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END value-header ***/ 797s # 797s # /*** BEGIN value-production ***/ 797s # value-production 797s # VALUENAME: @VALUENAME@ 797s # valuenick: @valuenick@ 797s # valuenum: @valuenum@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END value-production ***/ 797s # 797s # /*** BEGIN value-tail ***/ 797s # value-tail 797s # EnumName: @EnumName@ 797s # enum_name: @enum_name@ 797s # ENUMNAME: @ENUMNAME@ 797s # ENUMSHORT: @ENUMSHORT@ 797s # ENUMPREFIX: @ENUMPREFIX@ 797s # enumsince: @enumsince@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END value-tail ***/ 797s # 797s # /*** BEGIN comment ***/ 797s # comment 797s # comment: @comment@ 797s # /*** END comment ***/ 797s # 797s # /*** BEGIN file-tail ***/ 797s # file-tail 797s # /*** END file-tail ***/ 797s # 797s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp14co_z_d/tmp2w3_41_p.template', '/tmp/tmp14co_z_d/tmpv3m13zg2.h'] 797s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 797s # Output: comment 797s # 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. 797s # 797s # 797s # file-header 797s # file-production 797s # filename: /tmp/tmp14co_z_d/tmpv3m13zg2.h 797s # basename: tmpv3m13zg2.h 797s # enumeration-production 797s # EnumName: SomeEnumB 797s # enum_name: some_enum_b 797s # ENUMNAME: SOME_ENUM_B 797s # ENUMSHORT: ENUM_B 797s # ENUMPREFIX: SOME 797s # enumsince: 797s # type: enum 797s # Type: Enum 797s # TYPE: ENUM 797s # value-header 797s # EnumName: SomeEnumB 797s # enum_name: some_enum_b 797s # ENUMNAME: SOME_ENUM_B 797s # ENUMSHORT: ENUM_B 797s # ENUMPREFIX: SOME 797s # enumsince: 797s # type: enum 797s # Type: Enum 797s # TYPE: ENUM 797s # value-production 797s # VALUENAME: ENUM_VALUE_PUBLIC2 797s # valuenick: public2 797s # valuenum: 1 797s # type: enum 797s # Type: Enum 797s # TYPE: ENUM 797s # value-tail 797s # EnumName: SomeEnumB 797s # enum_name: some_enum_b 797s # ENUMNAME: SOME_ENUM_B 797s # ENUMSHORT: ENUM_B 797s # ENUMPREFIX: SOME 797s # enumsince: 797s # type: enum 797s # Type: Enum 797s # TYPE: ENUM 797s # file-tail 797s # 797s # comment 797s # comment: Generated data ends here 797s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 797s # tmpdir: /tmp/tmpfx5r9jhz 797s # rspfile: False, mkenums: /usr/bin/glib-mkenums 797s # /tmp/tmpfx5r9jhz/tmpq6n86n50.h: 797s # typedef enum { 797s # /*< private >*/ 797s # ENUM_VALUE_PRIVATE = 5, 797s # /*< public >*/ 797s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 797s # } TestSymbolicEnum; 797s # 797s # /tmp/tmpfx5r9jhz/tmpg1ed7cf0.template: 797s # /*** BEGIN file-header ***/ 797s # file-header 797s # /*** END file-header ***/ 797s # 797s # /*** BEGIN file-production ***/ 797s # file-production 797s # filename: @filename@ 797s # basename: @basename@ 797s # /*** END file-production ***/ 797s # 797s # /*** BEGIN enumeration-production ***/ 797s # enumeration-production 797s # EnumName: @EnumName@ 797s # enum_name: @enum_name@ 797s # ENUMNAME: @ENUMNAME@ 797s # ENUMSHORT: @ENUMSHORT@ 797s # ENUMPREFIX: @ENUMPREFIX@ 797s # enumsince: @enumsince@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END enumeration-production ***/ 797s # 797s # /*** BEGIN value-header ***/ 797s # value-header 797s # EnumName: @EnumName@ 797s # enum_name: @enum_name@ 797s # ENUMNAME: @ENUMNAME@ 797s # ENUMSHORT: @ENUMSHORT@ 797s # ENUMPREFIX: @ENUMPREFIX@ 797s # enumsince: @enumsince@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END value-header ***/ 797s # 797s # /*** BEGIN value-production ***/ 797s # value-production 797s # VALUENAME: @VALUENAME@ 797s # valuenick: @valuenick@ 797s # valuenum: @valuenum@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END value-production ***/ 797s # 797s # /*** BEGIN value-tail ***/ 797s # value-tail 797s # EnumName: @EnumName@ 797s # enum_name: @enum_name@ 797s # ENUMNAME: @ENUMNAME@ 797s # ENUMSHORT: @ENUMSHORT@ 797s # ENUMPREFIX: @ENUMPREFIX@ 797s # enumsince: @enumsince@ 797s # type: @type@ 797s # Type: @Type@ 797s # TYPE: @TYPE@ 797s # /*** END value-tail ***/ 797s # 797s # /*** BEGIN comment ***/ 797s # comment 797s # comment: @comment@ 797s # /*** END comment ***/ 797s # 797s # /*** BEGIN file-tail ***/ 797s # file-tail 797s # /*** END file-tail ***/ 797s # 797s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpfx5r9jhz/tmpg1ed7cf0.template', '/tmp/tmpfx5r9jhz/tmpq6n86n50.h'] 797s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 797s # Output: comment 797s # 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. 797s # 797s # 797s # file-header 797s # file-production 797s # filename: /tmp/tmpfx5r9jhz/tmpq6n86n50.h 797s # basename: tmpq6n86n50.h 797s # enumeration-production 797s # EnumName: TestSymbolicEnum 797s # enum_name: test_symbolic_enum 797s # ENUMNAME: TEST_SYMBOLIC_ENUM 797s # ENUMSHORT: SYMBOLIC_ENUM 797s # ENUMPREFIX: TEST 797s # enumsince: 797s # type: enum 797s # Type: Enum 797s # TYPE: ENUM 797s # value-header 797s # EnumName: TestSymbolicEnum 797s # enum_name: test_symbolic_enum 797s # ENUMNAME: TEST_SYMBOLIC_ENUM 797s # ENUMSHORT: SYMBOLIC_ENUM 797s # ENUMPREFIX: TEST 797s # enumsince: 797s # type: enum 797s # Type: Enum 797s # TYPE: ENUM 797s # value-production 797s # VALUENAME: ENUM_VALUE_PUBLIC 797s # valuenick: public 797s # valuenum: 7 797s # type: enum 797s # Type: Enum 797s # TYPE: ENUM 797s # value-tail 797s # EnumName: TestSymbolicEnum 797s # enum_name: test_symbolic_enum 797s # ENUMNAME: TEST_SYMBOLIC_ENUM 797s # ENUMSHORT: SYMBOLIC_ENUM 797s # ENUMPREFIX: TEST 797s # enumsince: 797s # type: enum 797s # Type: Enum 797s # TYPE: ENUM 797s # file-tail 797s # 797s # comment 797s # comment: Generated data ends here 797s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 797s # tmpdir: /tmp/tmpjnipl4xh 797s # rspfile: False, mkenums: /usr/bin/glib-mkenums 797s # /tmp/tmpjnipl4xh/tmpc92s3ot4.template: 797s # /*** BEGIN file-header ***/ 797s # file-header 797s # filename: @filename@ 797s # basename: @basename@ 797s # /*** END file-header ***/ 797s # 797s # /*** BEGIN comment ***/ 797s # comment 797s # comment: @comment@ 797s # /*** END comment ***/ 797s # 797s # /*** BEGIN file-tail ***/ 797s # file-tail 797s # filename: @filename@ 797s # basename: @basename@ 797s # /*** END file-tail ***/ 797s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpjnipl4xh/tmpc92s3ot4.template'] 797s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 797s # Output: comment 797s # 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. 797s # 797s # 797s # file-header 797s # filename: @filename@ 797s # basename: @basename@ 797s # file-tail 797s # filename: @filename@ 797s # basename: @basename@ 797s # 797s # comment 797s # comment: Generated data ends here 797s ok 11 __main__.TestMkenums.test_help 797s # tmpdir: /tmp/tmpabnf1n5x 797s # rspfile: False, mkenums: /usr/bin/glib-mkenums 797s # Running: ['/usr/bin/glib-mkenums', '--help'] 797s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 797s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 797s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 797s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 797s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 797s # [--comments COMMENT_TMPL] [--template TEMPLATE] 797s # [--output OUTPUT] [--version] 797s # [args ...] 797s # 797s # positional arguments: 797s # args One or more input files, or a single argument 797s # @rspfile_path pointing to a file that contains the 797s # actual arguments 797s # 797s # options: 797s # -h, --help show this help message and exit 797s # --identifier-prefix IDPREFIX 797s # Identifier prefix 797s # --symbol-prefix SYMPREFIX 797s # Symbol prefix 797s # --fhead FHEAD Output file header 797s # --ftail FTAIL Output file footer 797s # --fprod FPROD Put out TEXT every time a new input file is being 797s # processed. 797s # --eprod EPROD Per enum text, produced prior to value iterations 797s # --vhead VHEAD Value header, produced before iterating over enum 797s # values 797s # --vprod VPROD Value text, produced for each enum value. 797s # --vtail VTAIL Value tail, produced after iterating over enum values 797s # --comments COMMENT_TMPL 797s # Comment structure 797s # --template TEMPLATE Template file 797s # --output OUTPUT 797s # --version, -v Print version information 797s # 797s # Production text substitutions: 797s # @EnumName@ PrefixTheXEnum 797s # @enum_name@ prefix_the_xenum 797s # @ENUMNAME@ PREFIX_THE_XENUM 797s # @ENUMSHORT@ THE_XENUM 797s # @ENUMPREFIX@ PREFIX 797s # @enumsince@ the user-provided since value given 797s # @VALUENAME@ PREFIX_THE_XVALUE 797s # @valuenick@ the-xvalue 797s # @valuenum@ the integer value (limited support, Since: 2.26) 797s # @type@ either enum or flags 797s # @Type@ either Enum or Flags 797s # @TYPE@ either ENUM or FLAGS 797s # @filename@ name of current input file 797s # @basename@ base name of the current input file (Since: 2.22) 798s ok 12 __main__.TestMkenums.test_no_args 798s # tmpdir: /tmp/tmpzen7qs14 798s # rspfile: False, mkenums: /usr/bin/glib-mkenums 798s # Running: ['/usr/bin/glib-mkenums'] 798s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 798s # 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. */ 798s # 798s # 798s # /* Generated data ends here */ 798s ok 13 __main__.TestMkenums.test_no_headers 798s # tmpdir: /tmp/tmp34zg13j_ 798s # rspfile: False, mkenums: /usr/bin/glib-mkenums 798s # /tmp/tmp34zg13j_/tmpkr706862.template: 798s # /*** BEGIN file-header ***/ 798s # file-header 798s # /*** END file-header ***/ 798s # 798s # /*** BEGIN file-production ***/ 798s # file-production 798s # filename: @filename@ 798s # basename: @basename@ 798s # /*** END file-production ***/ 798s # 798s # /*** BEGIN enumeration-production ***/ 798s # enumeration-production 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END enumeration-production ***/ 798s # 798s # /*** BEGIN value-header ***/ 798s # value-header 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-header ***/ 798s # 798s # /*** BEGIN value-production ***/ 798s # value-production 798s # VALUENAME: @VALUENAME@ 798s # valuenick: @valuenick@ 798s # valuenum: @valuenum@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-production ***/ 798s # 798s # /*** BEGIN value-tail ***/ 798s # value-tail 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-tail ***/ 798s # 798s # /*** BEGIN comment ***/ 798s # comment 798s # comment: @comment@ 798s # /*** END comment ***/ 798s # 798s # /*** BEGIN file-tail ***/ 798s # file-tail 798s # /*** END file-tail ***/ 798s # 798s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp34zg13j_/tmpkr706862.template'] 798s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 798s # Output: comment 798s # 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. 798s # 798s # 798s # file-header 798s # file-tail 798s # 798s # comment 798s # comment: Generated data ends here 798s ok 14 __main__.TestMkenums.test_no_nick 798s # tmpdir: /tmp/tmpq5kj767v 798s # rspfile: False, mkenums: /usr/bin/glib-mkenums 798s # /tmp/tmpq5kj767v/tmpje1nb0cc.h: 798s # typedef enum { 798s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 798s # } GeglSamplerType; 798s # 798s # /tmp/tmpq5kj767v/tmppccufx82.template: 798s # /*** BEGIN file-header ***/ 798s # file-header 798s # /*** END file-header ***/ 798s # 798s # /*** BEGIN file-production ***/ 798s # file-production 798s # filename: @filename@ 798s # basename: @basename@ 798s # /*** END file-production ***/ 798s # 798s # /*** BEGIN enumeration-production ***/ 798s # enumeration-production 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END enumeration-production ***/ 798s # 798s # /*** BEGIN value-header ***/ 798s # value-header 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-header ***/ 798s # 798s # /*** BEGIN value-production ***/ 798s # value-production 798s # VALUENAME: @VALUENAME@ 798s # valuenick: @valuenick@ 798s # valuenum: @valuenum@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-production ***/ 798s # 798s # /*** BEGIN value-tail ***/ 798s # value-tail 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-tail ***/ 798s # 798s # /*** BEGIN comment ***/ 798s # comment 798s # comment: @comment@ 798s # /*** END comment ***/ 798s # 798s # /*** BEGIN file-tail ***/ 798s # file-tail 798s # /*** END file-tail ***/ 798s # 798s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpq5kj767v/tmppccufx82.template', '/tmp/tmpq5kj767v/tmpje1nb0cc.h'] 798s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 798s # Output: comment 798s # 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. 798s # 798s # 798s # file-header 798s # file-production 798s # filename: /tmp/tmpq5kj767v/tmpje1nb0cc.h 798s # basename: tmpje1nb0cc.h 798s # enumeration-production 798s # EnumName: GeglSamplerType 798s # enum_name: gegl_sampler_type 798s # ENUMNAME: GEGL_SAMPLER_TYPE 798s # ENUMSHORT: SAMPLER_TYPE 798s # ENUMPREFIX: GEGL 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-header 798s # EnumName: GeglSamplerType 798s # enum_name: gegl_sampler_type 798s # ENUMNAME: GEGL_SAMPLER_TYPE 798s # ENUMSHORT: SAMPLER_TYPE 798s # ENUMPREFIX: GEGL 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-production 798s # VALUENAME: GEGL_SAMPLER_NEAREST 798s # valuenick: nearest 798s # valuenum: 0 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-tail 798s # EnumName: GeglSamplerType 798s # enum_name: gegl_sampler_type 798s # ENUMNAME: GEGL_SAMPLER_TYPE 798s # ENUMSHORT: SAMPLER_TYPE 798s # ENUMPREFIX: GEGL 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # file-tail 798s # 798s # comment 798s # comment: Generated data ends here 798s ok 15 __main__.TestMkenums.test_non_utf8_encoding 798s # tmpdir: /tmp/tmpmygw_8q_ 798s # rspfile: False, mkenums: /usr/bin/glib-mkenums 798s # /tmp/tmpmygw_8q_/tmp511s6r8b.h: 798s # /* Copyright © La Peña */ 798s # typedef enum { 798s # ENUM_VALUE 798s # } SomeEnumIdentifier; 798s # 798s # /tmp/tmpmygw_8q_/tmph5ofa14l.template: 798s # /*** BEGIN file-header ***/ 798s # file-header 798s # /*** END file-header ***/ 798s # 798s # /*** BEGIN file-production ***/ 798s # file-production 798s # filename: @filename@ 798s # basename: @basename@ 798s # /*** END file-production ***/ 798s # 798s # /*** BEGIN enumeration-production ***/ 798s # enumeration-production 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END enumeration-production ***/ 798s # 798s # /*** BEGIN value-header ***/ 798s # value-header 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-header ***/ 798s # 798s # /*** BEGIN value-production ***/ 798s # value-production 798s # VALUENAME: @VALUENAME@ 798s # valuenick: @valuenick@ 798s # valuenum: @valuenum@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-production ***/ 798s # 798s # /*** BEGIN value-tail ***/ 798s # value-tail 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-tail ***/ 798s # 798s # /*** BEGIN comment ***/ 798s # comment 798s # comment: @comment@ 798s # /*** END comment ***/ 798s # 798s # /*** BEGIN file-tail ***/ 798s # file-tail 798s # /*** END file-tail ***/ 798s # 798s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpmygw_8q_/tmph5ofa14l.template', '/tmp/tmpmygw_8q_/tmp511s6r8b.h'] 798s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 798s # Output: comment 798s # 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. 798s # 798s # 798s # file-header 798s # file-production 798s # filename: /tmp/tmpmygw_8q_/tmp511s6r8b.h 798s # basename: tmp511s6r8b.h 798s # enumeration-production 798s # EnumName: SomeEnumIdentifier 798s # enum_name: some_enum_identifier 798s # ENUMNAME: SOME_ENUM_IDENTIFIER 798s # ENUMSHORT: ENUM_IDENTIFIER 798s # ENUMPREFIX: SOME 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-header 798s # EnumName: SomeEnumIdentifier 798s # enum_name: some_enum_identifier 798s # ENUMNAME: SOME_ENUM_IDENTIFIER 798s # ENUMSHORT: ENUM_IDENTIFIER 798s # ENUMPREFIX: SOME 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-production 798s # VALUENAME: ENUM_VALUE 798s # valuenick: value 798s # valuenum: 0 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-tail 798s # EnumName: SomeEnumIdentifier 798s # enum_name: some_enum_identifier 798s # ENUMNAME: SOME_ENUM_IDENTIFIER 798s # ENUMSHORT: ENUM_IDENTIFIER 798s # ENUMPREFIX: SOME 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # file-tail 798s # 798s # comment 798s # comment: Generated data ends here 798s ok 16 __main__.TestMkenums.test_reproducible 798s # tmpdir: /tmp/tmppt4m914q 798s # rspfile: False, mkenums: /usr/bin/glib-mkenums 798s # /tmp/tmppt4m914q/tmpqjv0r2mo.template: template 798s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmppt4m914q/tmpqjv0r2mo.template', '/tmp/tmppt4m914q/tmph0742n1p1.h', '/tmp/tmppt4m914q/tmpw8x9_6kc2.h'] 798s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 798s # 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. */ 798s # 798s # 798s # /* Generated data ends here */ 798s # /tmp/tmppt4m914q/tmpy4azvc6b.template: template 798s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmppt4m914q/tmpy4azvc6b.template', '/tmp/tmppt4m914q/tmpw8x9_6kc2.h', '/tmp/tmppt4m914q/tmph0742n1p1.h'] 798s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 798s # 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. */ 798s # 798s # 798s # /* Generated data ends here */ 798s ok 17 __main__.TestMkenums.test_since 798s # tmpdir: /tmp/tmps8zubhql 798s # rspfile: False, mkenums: /usr/bin/glib-mkenums 798s # /tmp/tmps8zubhql/tmp8fmp6l4e.h: 798s # typedef enum { /*< since=1.0 >*/ 798s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 798s # } QmiWmsMessageProtocol; 798s # 798s # /tmp/tmps8zubhql/tmpmdfobbjh.template: 798s # /*** BEGIN file-header ***/ 798s # file-header 798s # /*** END file-header ***/ 798s # 798s # /*** BEGIN file-production ***/ 798s # file-production 798s # filename: @filename@ 798s # basename: @basename@ 798s # /*** END file-production ***/ 798s # 798s # /*** BEGIN enumeration-production ***/ 798s # enumeration-production 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END enumeration-production ***/ 798s # 798s # /*** BEGIN value-header ***/ 798s # value-header 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-header ***/ 798s # 798s # /*** BEGIN value-production ***/ 798s # value-production 798s # VALUENAME: @VALUENAME@ 798s # valuenick: @valuenick@ 798s # valuenum: @valuenum@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-production ***/ 798s # 798s # /*** BEGIN value-tail ***/ 798s # value-tail 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-tail ***/ 798s # 798s # /*** BEGIN comment ***/ 798s # comment 798s # comment: @comment@ 798s # /*** END comment ***/ 798s # 798s # /*** BEGIN file-tail ***/ 798s # file-tail 798s # /*** END file-tail ***/ 798s # 798s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmps8zubhql/tmpmdfobbjh.template', '/tmp/tmps8zubhql/tmp8fmp6l4e.h'] 798s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 798s # Output: comment 798s # 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. 798s # 798s # 798s # file-header 798s # file-production 798s # filename: /tmp/tmps8zubhql/tmp8fmp6l4e.h 798s # basename: tmp8fmp6l4e.h 798s # enumeration-production 798s # EnumName: QmiWmsMessageProtocol 798s # enum_name: qmi_wms_message_protocol 798s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 798s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 798s # ENUMPREFIX: QMI 798s # enumsince: 1.0 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-header 798s # EnumName: QmiWmsMessageProtocol 798s # enum_name: qmi_wms_message_protocol 798s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 798s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 798s # ENUMPREFIX: QMI 798s # enumsince: 1.0 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-production 798s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 798s # valuenick: cdma 798s # valuenum: 0 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-tail 798s # EnumName: QmiWmsMessageProtocol 798s # enum_name: qmi_wms_message_protocol 798s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 798s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 798s # ENUMPREFIX: QMI 798s # enumsince: 1.0 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # file-tail 798s # 798s # comment 798s # comment: Generated data ends here 798s ok 18 __main__.TestMkenums.test_with_double_quotes 798s # tmpdir: /tmp/tmpf_mvsw1z 798s # rspfile: False, mkenums: /usr/bin/glib-mkenums 798s # /tmp/tmpf_mvsw1z/tmp8cwoioso.h: 798s # typedef enum { 798s # FOO_VALUE /*< nick="eek, a comma" >*/ 798s # } Foo; 798s # 798s # /tmp/tmpf_mvsw1z/tmpynmw7wcc.template: 798s # /*** BEGIN file-header ***/ 798s # file-header 798s # /*** END file-header ***/ 798s # 798s # /*** BEGIN file-production ***/ 798s # file-production 798s # filename: @filename@ 798s # basename: @basename@ 798s # /*** END file-production ***/ 798s # 798s # /*** BEGIN enumeration-production ***/ 798s # enumeration-production 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END enumeration-production ***/ 798s # 798s # /*** BEGIN value-header ***/ 798s # value-header 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-header ***/ 798s # 798s # /*** BEGIN value-production ***/ 798s # value-production 798s # VALUENAME: @VALUENAME@ 798s # valuenick: @valuenick@ 798s # valuenum: @valuenum@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-production ***/ 798s # 798s # /*** BEGIN value-tail ***/ 798s # value-tail 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-tail ***/ 798s # 798s # /*** BEGIN comment ***/ 798s # comment 798s # comment: @comment@ 798s # /*** END comment ***/ 798s # 798s # /*** BEGIN file-tail ***/ 798s # file-tail 798s # /*** END file-tail ***/ 798s # 798s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpf_mvsw1z/tmpynmw7wcc.template', '/tmp/tmpf_mvsw1z/tmp8cwoioso.h'] 798s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 798s # Output: comment 798s # 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. 798s # 798s # 798s # file-header 798s # file-production 798s # filename: /tmp/tmpf_mvsw1z/tmp8cwoioso.h 798s # basename: tmp8cwoioso.h 798s # enumeration-production 798s # EnumName: Foo 798s # enum_name: foo_ 798s # ENUMNAME: FOO_ 798s # ENUMSHORT: 798s # ENUMPREFIX: FOO 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-header 798s # EnumName: Foo 798s # enum_name: foo_ 798s # ENUMNAME: FOO_ 798s # ENUMSHORT: 798s # ENUMPREFIX: FOO 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-production 798s # VALUENAME: FOO_VALUE 798s # valuenick: eek, a comma 798s # valuenum: 0 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-tail 798s # EnumName: Foo 798s # enum_name: foo_ 798s # ENUMNAME: FOO_ 798s # ENUMSHORT: 798s # ENUMPREFIX: FOO 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # file-tail 798s # 798s # comment 798s # comment: Generated data ends here 798s ok 19 __main__.TestRspMkenums.test_available_in 798s # tmpdir: /tmp/tmpl97qv8ll 798s # rspfile: True, mkenums: /usr/bin/glib-mkenums 798s # /tmp/tmpl97qv8ll/tmpilu7a640.h: 798s # typedef enum { 798s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 798s # } GDBusServerFlags; 798s # 798s # /tmp/tmpl97qv8ll/tmp21r88gfy.template: 798s # /*** BEGIN file-header ***/ 798s # file-header 798s # /*** END file-header ***/ 798s # 798s # /*** BEGIN file-production ***/ 798s # file-production 798s # filename: @filename@ 798s # basename: @basename@ 798s # /*** END file-production ***/ 798s # 798s # /*** BEGIN enumeration-production ***/ 798s # enumeration-production 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END enumeration-production ***/ 798s # 798s # /*** BEGIN value-header ***/ 798s # value-header 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-header ***/ 798s # 798s # /*** BEGIN value-production ***/ 798s # value-production 798s # VALUENAME: @VALUENAME@ 798s # valuenick: @valuenick@ 798s # valuenum: @valuenum@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-production ***/ 798s # 798s # /*** BEGIN value-tail ***/ 798s # value-tail 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-tail ***/ 798s # 798s # /*** BEGIN comment ***/ 798s # comment 798s # comment: @comment@ 798s # /*** END comment ***/ 798s # 798s # /*** BEGIN file-tail ***/ 798s # file-tail 798s # /*** END file-tail ***/ 798s # 798s # Response file contains: --template /tmp/tmpl97qv8ll/tmp21r88gfy.template /tmp/tmpl97qv8ll/tmpilu7a640.h 798s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpl97qv8ll/tmpl1qc8g_n'] 798s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 798s # Output: comment 798s # 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. 798s # 798s # 798s # file-header 798s # file-production 798s # filename: /tmp/tmpl97qv8ll/tmpilu7a640.h 798s # basename: tmpilu7a640.h 798s # enumeration-production 798s # EnumName: GDBusServerFlags 798s # enum_name: g_dbus_server_flags 798s # ENUMNAME: G_DBUS_SERVER_FLAGS 798s # ENUMSHORT: DBUS_SERVER_FLAGS 798s # ENUMPREFIX: G 798s # enumsince: 798s # type: flags 798s # Type: Flags 798s # TYPE: FLAGS 798s # value-header 798s # EnumName: GDBusServerFlags 798s # enum_name: g_dbus_server_flags 798s # ENUMNAME: G_DBUS_SERVER_FLAGS 798s # ENUMSHORT: DBUS_SERVER_FLAGS 798s # ENUMPREFIX: G 798s # enumsince: 798s # type: flags 798s # Type: Flags 798s # TYPE: FLAGS 798s # value-production 798s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 798s # valuenick: user 798s # valuenum: 4 798s # type: flags 798s # Type: Flags 798s # TYPE: FLAGS 798s # value-tail 798s # EnumName: GDBusServerFlags 798s # enum_name: g_dbus_server_flags 798s # ENUMNAME: G_DBUS_SERVER_FLAGS 798s # ENUMSHORT: DBUS_SERVER_FLAGS 798s # ENUMPREFIX: G 798s # enumsince: 798s # type: flags 798s # Type: Flags 798s # TYPE: FLAGS 798s # file-tail 798s # 798s # comment 798s # comment: Generated data ends here 798s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 798s # tmpdir: /tmp/tmpsm8cy2xb 798s # rspfile: True, mkenums: /usr/bin/glib-mkenums 798s # /tmp/tmpsm8cy2xb/tmp3lrj1b_3.h: 798s # typedef enum { 798s # ENUM_VALUE_WITH_COMMA = ',', 798s # } TestCommaEnum; 798s # 798s # /tmp/tmpsm8cy2xb/tmpbt7kxlex.template: 798s # /*** BEGIN file-header ***/ 798s # file-header 798s # /*** END file-header ***/ 798s # 798s # /*** BEGIN file-production ***/ 798s # file-production 798s # filename: @filename@ 798s # basename: @basename@ 798s # /*** END file-production ***/ 798s # 798s # /*** BEGIN enumeration-production ***/ 798s # enumeration-production 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END enumeration-production ***/ 798s # 798s # /*** BEGIN value-header ***/ 798s # value-header 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-header ***/ 798s # 798s # /*** BEGIN value-production ***/ 798s # value-production 798s # VALUENAME: @VALUENAME@ 798s # valuenick: @valuenick@ 798s # valuenum: @valuenum@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-production ***/ 798s # 798s # /*** BEGIN value-tail ***/ 798s # value-tail 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-tail ***/ 798s # 798s # /*** BEGIN comment ***/ 798s # comment 798s # comment: @comment@ 798s # /*** END comment ***/ 798s # 798s # /*** BEGIN file-tail ***/ 798s # file-tail 798s # /*** END file-tail ***/ 798s # 798s # Response file contains: --template /tmp/tmpsm8cy2xb/tmpbt7kxlex.template /tmp/tmpsm8cy2xb/tmp3lrj1b_3.h 798s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsm8cy2xb/tmphv_k7owe'] 798s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 798s # Output: comment 798s # 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. 798s # 798s # 798s # file-header 798s # file-production 798s # filename: /tmp/tmpsm8cy2xb/tmp3lrj1b_3.h 798s # basename: tmp3lrj1b_3.h 798s # enumeration-production 798s # EnumName: TestCommaEnum 798s # enum_name: test_comma_enum 798s # ENUMNAME: TEST_COMMA_ENUM 798s # ENUMSHORT: COMMA_ENUM 798s # ENUMPREFIX: TEST 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-header 798s # EnumName: TestCommaEnum 798s # enum_name: test_comma_enum 798s # ENUMNAME: TEST_COMMA_ENUM 798s # ENUMSHORT: COMMA_ENUM 798s # ENUMPREFIX: TEST 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-production 798s # VALUENAME: ENUM_VALUE_WITH_COMMA 798s # valuenick: comma 798s # valuenum: 44 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-tail 798s # EnumName: TestCommaEnum 798s # enum_name: test_comma_enum 798s # ENUMNAME: TEST_COMMA_ENUM 798s # ENUMSHORT: COMMA_ENUM 798s # ENUMPREFIX: TEST 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # file-tail 798s # 798s # comment 798s # comment: Generated data ends here 798s ok 21 __main__.TestRspMkenums.test_deprecated_in 798s # tmpdir: /tmp/tmpnqhen5d8 798s # rspfile: True, mkenums: /usr/bin/glib-mkenums 798s # /tmp/tmpnqhen5d8/tmpynk951v5.h: 798s # typedef enum { 798s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 798s # } GDBusServerFlags; 798s # 798s # /tmp/tmpnqhen5d8/tmpabkcui55.template: 798s # /*** BEGIN file-header ***/ 798s # file-header 798s # /*** END file-header ***/ 798s # 798s # /*** BEGIN file-production ***/ 798s # file-production 798s # filename: @filename@ 798s # basename: @basename@ 798s # /*** END file-production ***/ 798s # 798s # /*** BEGIN enumeration-production ***/ 798s # enumeration-production 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END enumeration-production ***/ 798s # 798s # /*** BEGIN value-header ***/ 798s # value-header 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-header ***/ 798s # 798s # /*** BEGIN value-production ***/ 798s # value-production 798s # VALUENAME: @VALUENAME@ 798s # valuenick: @valuenick@ 798s # valuenum: @valuenum@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-production ***/ 798s # 798s # /*** BEGIN value-tail ***/ 798s # value-tail 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-tail ***/ 798s # 798s # /*** BEGIN comment ***/ 798s # comment 798s # comment: @comment@ 798s # /*** END comment ***/ 798s # 798s # /*** BEGIN file-tail ***/ 798s # file-tail 798s # /*** END file-tail ***/ 798s # 798s # Response file contains: --template /tmp/tmpnqhen5d8/tmpabkcui55.template /tmp/tmpnqhen5d8/tmpynk951v5.h 798s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpnqhen5d8/tmplp3vrmcq'] 798s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 798s # Output: comment 798s # 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. 798s # 798s # 798s # file-header 798s # file-production 798s # filename: /tmp/tmpnqhen5d8/tmpynk951v5.h 798s # basename: tmpynk951v5.h 798s # enumeration-production 798s # EnumName: GDBusServerFlags 798s # enum_name: g_dbus_server_flags 798s # ENUMNAME: G_DBUS_SERVER_FLAGS 798s # ENUMSHORT: DBUS_SERVER_FLAGS 798s # ENUMPREFIX: G 798s # enumsince: 798s # type: flags 798s # Type: Flags 798s # TYPE: FLAGS 798s # value-header 798s # EnumName: GDBusServerFlags 798s # enum_name: g_dbus_server_flags 798s # ENUMNAME: G_DBUS_SERVER_FLAGS 798s # ENUMSHORT: DBUS_SERVER_FLAGS 798s # ENUMPREFIX: G 798s # enumsince: 798s # type: flags 798s # Type: Flags 798s # TYPE: FLAGS 798s # value-production 798s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 798s # valuenick: user 798s # valuenum: 4 798s # type: flags 798s # Type: Flags 798s # TYPE: FLAGS 798s # value-tail 798s # EnumName: GDBusServerFlags 798s # enum_name: g_dbus_server_flags 798s # ENUMNAME: G_DBUS_SERVER_FLAGS 798s # ENUMSHORT: DBUS_SERVER_FLAGS 798s # ENUMPREFIX: G 798s # enumsince: 798s # type: flags 798s # Type: Flags 798s # TYPE: FLAGS 798s # file-tail 798s # 798s # comment 798s # comment: Generated data ends here 798s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 798s # tmpdir: /tmp/tmpg3vzeod7 798s # rspfile: True, mkenums: /usr/bin/glib-mkenums 798s # /tmp/tmpg3vzeod7/tmpp0cc4onu.h: 798s # typedef enum { 798s # 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) 798s # } GDBusServerFlags; 798s # 798s # /tmp/tmpg3vzeod7/tmp0pgjfumb.template: 798s # /*** BEGIN file-header ***/ 798s # file-header 798s # /*** END file-header ***/ 798s # 798s # /*** BEGIN file-production ***/ 798s # file-production 798s # filename: @filename@ 798s # basename: @basename@ 798s # /*** END file-production ***/ 798s # 798s # /*** BEGIN enumeration-production ***/ 798s # enumeration-production 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END enumeration-production ***/ 798s # 798s # /*** BEGIN value-header ***/ 798s # value-header 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-header ***/ 798s # 798s # /*** BEGIN value-production ***/ 798s # value-production 798s # VALUENAME: @VALUENAME@ 798s # valuenick: @valuenick@ 798s # valuenum: @valuenum@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-production ***/ 798s # 798s # /*** BEGIN value-tail ***/ 798s # value-tail 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-tail ***/ 798s # 798s # /*** BEGIN comment ***/ 798s # comment 798s # comment: @comment@ 798s # /*** END comment ***/ 798s # 798s # /*** BEGIN file-tail ***/ 798s # file-tail 798s # /*** END file-tail ***/ 798s # 798s # Response file contains: --template /tmp/tmpg3vzeod7/tmp0pgjfumb.template /tmp/tmpg3vzeod7/tmpp0cc4onu.h 798s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpg3vzeod7/tmpixc1xou_'] 798s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 798s # Output: comment 798s # 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. 798s # 798s # 798s # file-header 798s # file-production 798s # filename: /tmp/tmpg3vzeod7/tmpp0cc4onu.h 798s # basename: tmpp0cc4onu.h 798s # enumeration-production 798s # EnumName: GDBusServerFlags 798s # enum_name: g_dbus_server_flags 798s # ENUMNAME: G_DBUS_SERVER_FLAGS 798s # ENUMSHORT: DBUS_SERVER_FLAGS 798s # ENUMPREFIX: G 798s # enumsince: 798s # type: flags 798s # Type: Flags 798s # TYPE: FLAGS 798s # value-header 798s # EnumName: GDBusServerFlags 798s # enum_name: g_dbus_server_flags 798s # ENUMNAME: G_DBUS_SERVER_FLAGS 798s # ENUMSHORT: DBUS_SERVER_FLAGS 798s # ENUMPREFIX: G 798s # enumsince: 798s # type: flags 798s # Type: Flags 798s # TYPE: FLAGS 798s # value-production 798s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 798s # valuenick: user 798s # valuenum: 4 798s # type: flags 798s # Type: Flags 798s # TYPE: FLAGS 798s # value-tail 798s # EnumName: GDBusServerFlags 798s # enum_name: g_dbus_server_flags 798s # ENUMNAME: G_DBUS_SERVER_FLAGS 798s # ENUMSHORT: DBUS_SERVER_FLAGS 798s # ENUMPREFIX: G 798s # enumsince: 798s # type: flags 798s # Type: Flags 798s # TYPE: FLAGS 798s # file-tail 798s # 798s # comment 798s # comment: Generated data ends here 798s ok 23 __main__.TestRspMkenums.test_empty_header 798s # tmpdir: /tmp/tmppd7knqlw 798s # rspfile: True, mkenums: /usr/bin/glib-mkenums 798s # /tmp/tmppd7knqlw/tmpnzphieqb.h: 798s # /tmp/tmppd7knqlw/tmp3xvu9rw5.template: 798s # /*** BEGIN file-header ***/ 798s # file-header 798s # /*** END file-header ***/ 798s # 798s # /*** BEGIN file-production ***/ 798s # file-production 798s # filename: @filename@ 798s # basename: @basename@ 798s # /*** END file-production ***/ 798s # 798s # /*** BEGIN enumeration-production ***/ 798s # enumeration-production 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END enumeration-production ***/ 798s # 798s # /*** BEGIN value-header ***/ 798s # value-header 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-header ***/ 798s # 798s # /*** BEGIN value-production ***/ 798s # value-production 798s # VALUENAME: @VALUENAME@ 798s # valuenick: @valuenick@ 798s # valuenum: @valuenum@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-production ***/ 798s # 798s # /*** BEGIN value-tail ***/ 798s # value-tail 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-tail ***/ 798s # 798s # /*** BEGIN comment ***/ 798s # comment 798s # comment: @comment@ 798s # /*** END comment ***/ 798s # 798s # /*** BEGIN file-tail ***/ 798s # file-tail 798s # /*** END file-tail ***/ 798s # 798s # Response file contains: --template /tmp/tmppd7knqlw/tmp3xvu9rw5.template /tmp/tmppd7knqlw/tmpnzphieqb.h 798s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmppd7knqlw/tmp_79jpwrx'] 798s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 798s # Output: comment 798s # 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. 798s # 798s # 798s # file-header 798s # file-tail 798s # 798s # comment 798s # comment: Generated data ends here 798s ok 24 __main__.TestRspMkenums.test_empty_template 798s # tmpdir: /tmp/tmpakqj6ltu 798s # rspfile: True, mkenums: /usr/bin/glib-mkenums 798s # /tmp/tmpakqj6ltu/tmpu65qsq5w.template: 798s # Response file contains: --template /tmp/tmpakqj6ltu/tmpu65qsq5w.template 798s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpakqj6ltu/tmpxiinfp4i'] 798s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 798s # 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. */ 798s # 798s # 798s # /* Generated data ends here */ 798s ok 25 __main__.TestRspMkenums.test_enum_name 798s # tmpdir: /tmp/tmpnof6dcd7 798s # rspfile: True, mkenums: /usr/bin/glib-mkenums 798s # /tmp/tmpnof6dcd7/tmpr5gg0yw3.h: 798s # typedef enum _SomeEnumIdentifier { 798s # ENUM_VALUE 798s # } SomeEnumIdentifier; 798s # 798s # /tmp/tmpnof6dcd7/tmpxape_s02.template: 798s # /*** BEGIN file-header ***/ 798s # file-header 798s # /*** END file-header ***/ 798s # 798s # /*** BEGIN file-production ***/ 798s # file-production 798s # filename: @filename@ 798s # basename: @basename@ 798s # /*** END file-production ***/ 798s # 798s # /*** BEGIN enumeration-production ***/ 798s # enumeration-production 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END enumeration-production ***/ 798s # 798s # /*** BEGIN value-header ***/ 798s # value-header 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-header ***/ 798s # 798s # /*** BEGIN value-production ***/ 798s # value-production 798s # VALUENAME: @VALUENAME@ 798s # valuenick: @valuenick@ 798s # valuenum: @valuenum@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-production ***/ 798s # 798s # /*** BEGIN value-tail ***/ 798s # value-tail 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-tail ***/ 798s # 798s # /*** BEGIN comment ***/ 798s # comment 798s # comment: @comment@ 798s # /*** END comment ***/ 798s # 798s # /*** BEGIN file-tail ***/ 798s # file-tail 798s # /*** END file-tail ***/ 798s # 798s # Response file contains: --template /tmp/tmpnof6dcd7/tmpxape_s02.template /tmp/tmpnof6dcd7/tmpr5gg0yw3.h 798s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpnof6dcd7/tmpzu9stxov'] 798s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 798s # Output: comment 798s # 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. 798s # 798s # 798s # file-header 798s # file-production 798s # filename: /tmp/tmpnof6dcd7/tmpr5gg0yw3.h 798s # basename: tmpr5gg0yw3.h 798s # enumeration-production 798s # EnumName: SomeEnumIdentifier 798s # enum_name: some_enum_identifier 798s # ENUMNAME: SOME_ENUM_IDENTIFIER 798s # ENUMSHORT: ENUM_IDENTIFIER 798s # ENUMPREFIX: SOME 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-header 798s # EnumName: SomeEnumIdentifier 798s # enum_name: some_enum_identifier 798s # ENUMNAME: SOME_ENUM_IDENTIFIER 798s # ENUMSHORT: ENUM_IDENTIFIER 798s # ENUMPREFIX: SOME 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-production 798s # VALUENAME: ENUM_VALUE 798s # valuenick: value 798s # valuenum: 0 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-tail 798s # EnumName: SomeEnumIdentifier 798s # enum_name: some_enum_identifier 798s # ENUMNAME: SOME_ENUM_IDENTIFIER 798s # ENUMSHORT: ENUM_IDENTIFIER 798s # ENUMPREFIX: SOME 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # file-tail 798s # 798s # comment 798s # comment: Generated data ends here 798s ok 26 __main__.TestRspMkenums.test_enum_private_public 798s # tmpdir: /tmp/tmpwawo_0np 798s # rspfile: True, mkenums: /usr/bin/glib-mkenums 798s # /tmp/tmpwawo_0np/tmp5km_iwt2.h: 798s # typedef enum { 798s # ENUM_VALUE_PUBLIC1, 798s # /*< private >*/ 798s # ENUM_VALUE_PRIVATE, 798s # } SomeEnumA 798s # 798s # /tmp/tmpwawo_0np/tmpxzb327u4.template: 798s # /*** BEGIN file-header ***/ 798s # file-header 798s # /*** END file-header ***/ 798s # 798s # /*** BEGIN file-production ***/ 798s # file-production 798s # filename: @filename@ 798s # basename: @basename@ 798s # /*** END file-production ***/ 798s # 798s # /*** BEGIN enumeration-production ***/ 798s # enumeration-production 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END enumeration-production ***/ 798s # 798s # /*** BEGIN value-header ***/ 798s # value-header 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-header ***/ 798s # 798s # /*** BEGIN value-production ***/ 798s # value-production 798s # VALUENAME: @VALUENAME@ 798s # valuenick: @valuenick@ 798s # valuenum: @valuenum@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-production ***/ 798s # 798s # /*** BEGIN value-tail ***/ 798s # value-tail 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-tail ***/ 798s # 798s # /*** BEGIN comment ***/ 798s # comment 798s # comment: @comment@ 798s # /*** END comment ***/ 798s # 798s # /*** BEGIN file-tail ***/ 798s # file-tail 798s # /*** END file-tail ***/ 798s # 798s # Response file contains: --template /tmp/tmpwawo_0np/tmpxzb327u4.template /tmp/tmpwawo_0np/tmp5km_iwt2.h 798s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwawo_0np/tmpqerta3g2'] 798s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 798s # Output: comment 798s # 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. 798s # 798s # 798s # file-header 798s # file-production 798s # filename: /tmp/tmpwawo_0np/tmp5km_iwt2.h 798s # basename: tmp5km_iwt2.h 798s # enumeration-production 798s # EnumName: SomeEnumA 798s # enum_name: some_enum_a 798s # ENUMNAME: SOME_ENUM_A 798s # ENUMSHORT: ENUM_A 798s # ENUMPREFIX: SOME 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-header 798s # EnumName: SomeEnumA 798s # enum_name: some_enum_a 798s # ENUMNAME: SOME_ENUM_A 798s # ENUMSHORT: ENUM_A 798s # ENUMPREFIX: SOME 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-production 798s # VALUENAME: ENUM_VALUE_PUBLIC1 798s # valuenick: public1 798s # valuenum: 0 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-tail 798s # EnumName: SomeEnumA 798s # enum_name: some_enum_a 798s # ENUMNAME: SOME_ENUM_A 798s # ENUMSHORT: ENUM_A 798s # ENUMPREFIX: SOME 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # file-tail 798s # 798s # comment 798s # comment: Generated data ends here 798s # /tmp/tmpwawo_0np/tmptczoyiw0.h: 798s # typedef enum { 798s # /*< private >*/ 798s # ENUM_VALUE_PRIVATE, 798s # /*< public >*/ 798s # ENUM_VALUE_PUBLIC2, 798s # } SomeEnumB; 798s # 798s # /tmp/tmpwawo_0np/tmp0qv_frhy.template: 798s # /*** BEGIN file-header ***/ 798s # file-header 798s # /*** END file-header ***/ 798s # 798s # /*** BEGIN file-production ***/ 798s # file-production 798s # filename: @filename@ 798s # basename: @basename@ 798s # /*** END file-production ***/ 798s # 798s # /*** BEGIN enumeration-production ***/ 798s # enumeration-production 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END enumeration-production ***/ 798s # 798s # /*** BEGIN value-header ***/ 798s # value-header 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-header ***/ 798s # 798s # /*** BEGIN value-production ***/ 798s # value-production 798s # VALUENAME: @VALUENAME@ 798s # valuenick: @valuenick@ 798s # valuenum: @valuenum@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-production ***/ 798s # 798s # /*** BEGIN value-tail ***/ 798s # value-tail 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-tail ***/ 798s # 798s # /*** BEGIN comment ***/ 798s # comment 798s # comment: @comment@ 798s # /*** END comment ***/ 798s # 798s # /*** BEGIN file-tail ***/ 798s # file-tail 798s # /*** END file-tail ***/ 798s # 798s # Response file contains: --template /tmp/tmpwawo_0np/tmp0qv_frhy.template /tmp/tmpwawo_0np/tmptczoyiw0.h 798s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwawo_0np/tmpqfqp2qdq'] 798s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 798s # Output: comment 798s # 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. 798s # 798s # 798s # file-header 798s # file-production 798s # filename: /tmp/tmpwawo_0np/tmptczoyiw0.h 798s # basename: tmptczoyiw0.h 798s # enumeration-production 798s # EnumName: SomeEnumB 798s # enum_name: some_enum_b 798s # ENUMNAME: SOME_ENUM_B 798s # ENUMSHORT: ENUM_B 798s # ENUMPREFIX: SOME 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-header 798s # EnumName: SomeEnumB 798s # enum_name: some_enum_b 798s # ENUMNAME: SOME_ENUM_B 798s # ENUMSHORT: ENUM_B 798s # ENUMPREFIX: SOME 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-production 798s # VALUENAME: ENUM_VALUE_PUBLIC2 798s # valuenick: public2 798s # valuenum: 1 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-tail 798s # EnumName: SomeEnumB 798s # enum_name: some_enum_b 798s # ENUMNAME: SOME_ENUM_B 798s # ENUMSHORT: ENUM_B 798s # ENUMPREFIX: SOME 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # file-tail 798s # 798s # comment 798s # comment: Generated data ends here 798s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 798s # tmpdir: /tmp/tmp49qnhrok 798s # rspfile: True, mkenums: /usr/bin/glib-mkenums 798s # /tmp/tmp49qnhrok/tmpf_95w9f2.h: 798s # typedef enum { 798s # /*< private >*/ 798s # ENUM_VALUE_PRIVATE = 5, 798s # /*< public >*/ 798s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 798s # } TestSymbolicEnum; 798s # 798s # /tmp/tmp49qnhrok/tmpcup_hf81.template: 798s # /*** BEGIN file-header ***/ 798s # file-header 798s # /*** END file-header ***/ 798s # 798s # /*** BEGIN file-production ***/ 798s # file-production 798s # filename: @filename@ 798s # basename: @basename@ 798s # /*** END file-production ***/ 798s # 798s # /*** BEGIN enumeration-production ***/ 798s # enumeration-production 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END enumeration-production ***/ 798s # 798s # /*** BEGIN value-header ***/ 798s # value-header 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-header ***/ 798s # 798s # /*** BEGIN value-production ***/ 798s # value-production 798s # VALUENAME: @VALUENAME@ 798s # valuenick: @valuenick@ 798s # valuenum: @valuenum@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-production ***/ 798s # 798s # /*** BEGIN value-tail ***/ 798s # value-tail 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-tail ***/ 798s # 798s # /*** BEGIN comment ***/ 798s # comment 798s # comment: @comment@ 798s # /*** END comment ***/ 798s # 798s # /*** BEGIN file-tail ***/ 798s # file-tail 798s # /*** END file-tail ***/ 798s # 798s # Response file contains: --template /tmp/tmp49qnhrok/tmpcup_hf81.template /tmp/tmp49qnhrok/tmpf_95w9f2.h 798s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp49qnhrok/tmpe_ygafvm'] 798s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 798s # Output: comment 798s # 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. 798s # 798s # 798s # file-header 798s # file-production 798s # filename: /tmp/tmp49qnhrok/tmpf_95w9f2.h 798s # basename: tmpf_95w9f2.h 798s # enumeration-production 798s # EnumName: TestSymbolicEnum 798s # enum_name: test_symbolic_enum 798s # ENUMNAME: TEST_SYMBOLIC_ENUM 798s # ENUMSHORT: SYMBOLIC_ENUM 798s # ENUMPREFIX: TEST 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-header 798s # EnumName: TestSymbolicEnum 798s # enum_name: test_symbolic_enum 798s # ENUMNAME: TEST_SYMBOLIC_ENUM 798s # ENUMSHORT: SYMBOLIC_ENUM 798s # ENUMPREFIX: TEST 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-production 798s # VALUENAME: ENUM_VALUE_PUBLIC 798s # valuenick: public 798s # valuenum: 7 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-tail 798s # EnumName: TestSymbolicEnum 798s # enum_name: test_symbolic_enum 798s # ENUMNAME: TEST_SYMBOLIC_ENUM 798s # ENUMSHORT: SYMBOLIC_ENUM 798s # ENUMPREFIX: TEST 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # file-tail 798s # 798s # comment 798s # comment: Generated data ends here 798s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 798s # tmpdir: /tmp/tmppblq8etm 798s # rspfile: True, mkenums: /usr/bin/glib-mkenums 798s # /tmp/tmppblq8etm/tmp7_cvu9ln.template: 798s # /*** BEGIN file-header ***/ 798s # file-header 798s # filename: @filename@ 798s # basename: @basename@ 798s # /*** END file-header ***/ 798s # 798s # /*** BEGIN comment ***/ 798s # comment 798s # comment: @comment@ 798s # /*** END comment ***/ 798s # 798s # /*** BEGIN file-tail ***/ 798s # file-tail 798s # filename: @filename@ 798s # basename: @basename@ 798s # /*** END file-tail ***/ 798s # Response file contains: --template /tmp/tmppblq8etm/tmp7_cvu9ln.template 798s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmppblq8etm/tmpq0et2ux4'] 798s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 798s # Output: comment 798s # 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. 798s # 798s # 798s # file-header 798s # filename: @filename@ 798s # basename: @basename@ 798s # file-tail 798s # filename: @filename@ 798s # basename: @basename@ 798s # 798s # comment 798s # comment: Generated data ends here 798s ok 29 __main__.TestRspMkenums.test_help 798s # tmpdir: /tmp/tmp_g67f64f 798s # rspfile: True, mkenums: /usr/bin/glib-mkenums 798s # Response file contains: --help 798s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_g67f64f/tmpjrx3o78_'] 798s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 798s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 798s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 798s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 798s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 798s # [--comments COMMENT_TMPL] [--template TEMPLATE] 798s # [--output OUTPUT] [--version] 798s # [args ...] 798s # 798s # positional arguments: 798s # args One or more input files, or a single argument 798s # @rspfile_path pointing to a file that contains the 798s # actual arguments 798s # 798s # options: 798s # -h, --help show this help message and exit 798s # --identifier-prefix IDPREFIX 798s # Identifier prefix 798s # --symbol-prefix SYMPREFIX 798s # Symbol prefix 798s # --fhead FHEAD Output file header 798s # --ftail FTAIL Output file footer 798s # --fprod FPROD Put out TEXT every time a new input file is being 798s # processed. 798s # --eprod EPROD Per enum text, produced prior to value iterations 798s # --vhead VHEAD Value header, produced before iterating over enum 798s # values 798s # --vprod VPROD Value text, produced for each enum value. 798s # --vtail VTAIL Value tail, produced after iterating over enum values 798s # --comments COMMENT_TMPL 798s # Comment structure 798s # --template TEMPLATE Template file 798s # --output OUTPUT 798s # --version, -v Print version information 798s # 798s # Production text substitutions: 798s # @EnumName@ PrefixTheXEnum 798s # @enum_name@ prefix_the_xenum 798s # @ENUMNAME@ PREFIX_THE_XENUM 798s # @ENUMSHORT@ THE_XENUM 798s # @ENUMPREFIX@ PREFIX 798s # @enumsince@ the user-provided since value given 798s # @VALUENAME@ PREFIX_THE_XVALUE 798s # @valuenick@ the-xvalue 798s # @valuenum@ the integer value (limited support, Since: 2.26) 798s # @type@ either enum or flags 798s # @Type@ either Enum or Flags 798s # @TYPE@ either ENUM or FLAGS 798s # @filename@ name of current input file 798s # @basename@ base name of the current input file (Since: 2.22) 798s ok 30 __main__.TestRspMkenums.test_no_args 798s # tmpdir: /tmp/tmpt7ijenkj 798s # rspfile: True, mkenums: /usr/bin/glib-mkenums 798s # Response file contains: 798s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpt7ijenkj/tmps9yd113r'] 798s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 798s # 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. */ 798s # 798s # 798s # /* Generated data ends here */ 798s ok 31 __main__.TestRspMkenums.test_no_headers 798s # tmpdir: /tmp/tmpy8qrjkde 798s # rspfile: True, mkenums: /usr/bin/glib-mkenums 798s # /tmp/tmpy8qrjkde/tmp01ipjgoy.template: 798s # /*** BEGIN file-header ***/ 798s # file-header 798s # /*** END file-header ***/ 798s # 798s # /*** BEGIN file-production ***/ 798s # file-production 798s # filename: @filename@ 798s # basename: @basename@ 798s # /*** END file-production ***/ 798s # 798s # /*** BEGIN enumeration-production ***/ 798s # enumeration-production 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END enumeration-production ***/ 798s # 798s # /*** BEGIN value-header ***/ 798s # value-header 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-header ***/ 798s # 798s # /*** BEGIN value-production ***/ 798s # value-production 798s # VALUENAME: @VALUENAME@ 798s # valuenick: @valuenick@ 798s # valuenum: @valuenum@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-production ***/ 798s # 798s # /*** BEGIN value-tail ***/ 798s # value-tail 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-tail ***/ 798s # 798s # /*** BEGIN comment ***/ 798s # comment 798s # comment: @comment@ 798s # /*** END comment ***/ 798s # 798s # /*** BEGIN file-tail ***/ 798s # file-tail 798s # /*** END file-tail ***/ 798s # 798s # Response file contains: --template /tmp/tmpy8qrjkde/tmp01ipjgoy.template 798s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpy8qrjkde/tmp08nlhdl3'] 798s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 798s # Output: comment 798s # 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. 798s # 798s # 798s # file-header 798s # file-tail 798s # 798s # comment 798s # comment: Generated data ends here 798s ok 32 __main__.TestRspMkenums.test_no_nick 798s # tmpdir: /tmp/tmp69tna_tn 798s # rspfile: True, mkenums: /usr/bin/glib-mkenums 798s # /tmp/tmp69tna_tn/tmpksdybrq7.h: 798s # typedef enum { 798s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 798s # } GeglSamplerType; 798s # 798s # /tmp/tmp69tna_tn/tmpqx6oueuz.template: 798s # /*** BEGIN file-header ***/ 798s # file-header 798s # /*** END file-header ***/ 798s # 798s # /*** BEGIN file-production ***/ 798s # file-production 798s # filename: @filename@ 798s # basename: @basename@ 798s # /*** END file-production ***/ 798s # 798s # /*** BEGIN enumeration-production ***/ 798s # enumeration-production 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END enumeration-production ***/ 798s # 798s # /*** BEGIN value-header ***/ 798s # value-header 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-header ***/ 798s # 798s # /*** BEGIN value-production ***/ 798s # value-production 798s # VALUENAME: @VALUENAME@ 798s # valuenick: @valuenick@ 798s # valuenum: @valuenum@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-production ***/ 798s # 798s # /*** BEGIN value-tail ***/ 798s # value-tail 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-tail ***/ 798s # 798s # /*** BEGIN comment ***/ 798s # comment 798s # comment: @comment@ 798s # /*** END comment ***/ 798s # 798s # /*** BEGIN file-tail ***/ 798s # file-tail 798s # /*** END file-tail ***/ 798s # 798s # Response file contains: --template /tmp/tmp69tna_tn/tmpqx6oueuz.template /tmp/tmp69tna_tn/tmpksdybrq7.h 798s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp69tna_tn/tmp0ad6s1uh'] 798s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 798s # Output: comment 798s # 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. 798s # 798s # 798s # file-header 798s # file-production 798s # filename: /tmp/tmp69tna_tn/tmpksdybrq7.h 798s # basename: tmpksdybrq7.h 798s # enumeration-production 798s # EnumName: GeglSamplerType 798s # enum_name: gegl_sampler_type 798s # ENUMNAME: GEGL_SAMPLER_TYPE 798s # ENUMSHORT: SAMPLER_TYPE 798s # ENUMPREFIX: GEGL 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-header 798s # EnumName: GeglSamplerType 798s # enum_name: gegl_sampler_type 798s # ENUMNAME: GEGL_SAMPLER_TYPE 798s # ENUMSHORT: SAMPLER_TYPE 798s # ENUMPREFIX: GEGL 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-production 798s # VALUENAME: GEGL_SAMPLER_NEAREST 798s # valuenick: nearest 798s # valuenum: 0 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-tail 798s # EnumName: GeglSamplerType 798s # enum_name: gegl_sampler_type 798s # ENUMNAME: GEGL_SAMPLER_TYPE 798s # ENUMSHORT: SAMPLER_TYPE 798s # ENUMPREFIX: GEGL 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # file-tail 798s # 798s # comment 798s # comment: Generated data ends here 798s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 798s # tmpdir: /tmp/tmp7_9a3lco 798s # rspfile: True, mkenums: /usr/bin/glib-mkenums 798s # /tmp/tmp7_9a3lco/tmp6ygsualb.h: 798s # /* Copyright © La Peña */ 798s # typedef enum { 798s # ENUM_VALUE 798s # } SomeEnumIdentifier; 798s # 798s # /tmp/tmp7_9a3lco/tmplc8dvxmt.template: 798s # /*** BEGIN file-header ***/ 798s # file-header 798s # /*** END file-header ***/ 798s # 798s # /*** BEGIN file-production ***/ 798s # file-production 798s # filename: @filename@ 798s # basename: @basename@ 798s # /*** END file-production ***/ 798s # 798s # /*** BEGIN enumeration-production ***/ 798s # enumeration-production 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END enumeration-production ***/ 798s # 798s # /*** BEGIN value-header ***/ 798s # value-header 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-header ***/ 798s # 798s # /*** BEGIN value-production ***/ 798s # value-production 798s # VALUENAME: @VALUENAME@ 798s # valuenick: @valuenick@ 798s # valuenum: @valuenum@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-production ***/ 798s # 798s # /*** BEGIN value-tail ***/ 798s # value-tail 798s # EnumName: @EnumName@ 798s # enum_name: @enum_name@ 798s # ENUMNAME: @ENUMNAME@ 798s # ENUMSHORT: @ENUMSHORT@ 798s # ENUMPREFIX: @ENUMPREFIX@ 798s # enumsince: @enumsince@ 798s # type: @type@ 798s # Type: @Type@ 798s # TYPE: @TYPE@ 798s # /*** END value-tail ***/ 798s # 798s # /*** BEGIN comment ***/ 798s # comment 798s # comment: @comment@ 798s # /*** END comment ***/ 798s # 798s # /*** BEGIN file-tail ***/ 798s # file-tail 798s # /*** END file-tail ***/ 798s # 798s # Response file contains: --template /tmp/tmp7_9a3lco/tmplc8dvxmt.template /tmp/tmp7_9a3lco/tmp6ygsualb.h 798s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp7_9a3lco/tmppv3ntfdw'] 798s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 798s # Output: comment 798s # 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. 798s # 798s # 798s # file-header 798s # file-production 798s # filename: /tmp/tmp7_9a3lco/tmp6ygsualb.h 798s # basename: tmp6ygsualb.h 798s # enumeration-production 798s # EnumName: SomeEnumIdentifier 798s # enum_name: some_enum_identifier 798s # ENUMNAME: SOME_ENUM_IDENTIFIER 798s # ENUMSHORT: ENUM_IDENTIFIER 798s # ENUMPREFIX: SOME 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-header 798s # EnumName: SomeEnumIdentifier 798s # enum_name: some_enum_identifier 798s # ENUMNAME: SOME_ENUM_IDENTIFIER 798s # ENUMSHORT: ENUM_IDENTIFIER 798s # ENUMPREFIX: SOME 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-production 798s # VALUENAME: ENUM_VALUE 798s # valuenick: value 798s # valuenum: 0 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # value-tail 798s # EnumName: SomeEnumIdentifier 798s # enum_name: some_enum_identifier 798s # ENUMNAME: SOME_ENUM_IDENTIFIER 798s # ENUMSHORT: ENUM_IDENTIFIER 798s # ENUMPREFIX: SOME 798s # enumsince: 798s # type: enum 798s # Type: Enum 798s # TYPE: ENUM 798s # file-tail 798s # 798s # comment 798s # comment: Generated data ends here 798s ok 34 __main__.TestRspMkenums.test_reproducible 798s # tmpdir: /tmp/tmp5dkxmmbc 798s # rspfile: True, mkenums: /usr/bin/glib-mkenums 798s # /tmp/tmp5dkxmmbc/tmpem_auv43.template: template 798s # Response file contains: --template /tmp/tmp5dkxmmbc/tmpem_auv43.template /tmp/tmp5dkxmmbc/tmpf5dd45bo1.h /tmp/tmp5dkxmmbc/tmp12tvr1re2.h 798s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp5dkxmmbc/tmpbrqb5utc'] 798s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 798s # 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. */ 798s # 798s # 798s # /* Generated data ends here */ 798s # /tmp/tmp5dkxmmbc/tmpy7d7h517.template: template 798s # Response file contains: --template /tmp/tmp5dkxmmbc/tmpy7d7h517.template /tmp/tmp5dkxmmbc/tmp12tvr1re2.h /tmp/tmp5dkxmmbc/tmpf5dd45bo1.h 798s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp5dkxmmbc/tmpqe9ofw8x'] 798s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 798s # 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. */ 798s # 798s # 798s # /* Generated data ends here */ 799s ok 35 __main__.TestRspMkenums.test_since 799s # tmpdir: /tmp/tmpib6wthgi 799s # rspfile: True, mkenums: /usr/bin/glib-mkenums 799s # /tmp/tmpib6wthgi/tmp9gergwf_.h: 799s # typedef enum { /*< since=1.0 >*/ 799s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 799s # } QmiWmsMessageProtocol; 799s # 799s # /tmp/tmpib6wthgi/tmpufniz654.template: 799s # /*** BEGIN file-header ***/ 799s # file-header 799s # /*** END file-header ***/ 799s # 799s # /*** BEGIN file-production ***/ 799s # file-production 799s # filename: @filename@ 799s # basename: @basename@ 799s # /*** END file-production ***/ 799s # 799s # /*** BEGIN enumeration-production ***/ 799s # enumeration-production 799s # EnumName: @EnumName@ 799s # enum_name: @enum_name@ 799s # ENUMNAME: @ENUMNAME@ 799s # ENUMSHORT: @ENUMSHORT@ 799s # ENUMPREFIX: @ENUMPREFIX@ 799s # enumsince: @enumsince@ 799s # type: @type@ 799s # Type: @Type@ 799s # TYPE: @TYPE@ 799s # /*** END enumeration-production ***/ 799s # 799s # /*** BEGIN value-header ***/ 799s # value-header 799s # EnumName: @EnumName@ 799s # enum_name: @enum_name@ 799s # ENUMNAME: @ENUMNAME@ 799s # ENUMSHORT: @ENUMSHORT@ 799s # ENUMPREFIX: @ENUMPREFIX@ 799s # enumsince: @enumsince@ 799s # type: @type@ 799s # Type: @Type@ 799s # TYPE: @TYPE@ 799s # /*** END value-header ***/ 799s # 799s # /*** BEGIN value-production ***/ 799s # value-production 799s # VALUENAME: @VALUENAME@ 799s # valuenick: @valuenick@ 799s # valuenum: @valuenum@ 799s # type: @type@ 799s # Type: @Type@ 799s # TYPE: @TYPE@ 799s # /*** END value-production ***/ 799s # 799s # /*** BEGIN value-tail ***/ 799s # value-tail 799s # EnumName: @EnumName@ 799s # enum_name: @enum_name@ 799s # ENUMNAME: @ENUMNAME@ 799s # ENUMSHORT: @ENUMSHORT@ 799s # ENUMPREFIX: @ENUMPREFIX@ 799s # enumsince: @enumsince@ 799s # type: @type@ 799s # Type: @Type@ 799s # TYPE: @TYPE@ 799s # /*** END value-tail ***/ 799s # 799s # /*** BEGIN comment ***/ 799s # comment 799s # comment: @comment@ 799s # /*** END comment ***/ 799s # 799s # /*** BEGIN file-tail ***/ 799s # file-tail 799s # /*** END file-tail ***/ 799s # 799s # Response file contains: --template /tmp/tmpib6wthgi/tmpufniz654.template /tmp/tmpib6wthgi/tmp9gergwf_.h 799s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpib6wthgi/tmpevbb03_y'] 799s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 799s # Output: comment 799s # 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. 799s # 799s # 799s # file-header 799s # file-production 799s # filename: /tmp/tmpib6wthgi/tmp9gergwf_.h 799s # basename: tmp9gergwf_.h 799s # enumeration-production 799s # EnumName: QmiWmsMessageProtocol 799s # enum_name: qmi_wms_message_protocol 799s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 799s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 799s # ENUMPREFIX: QMI 799s # enumsince: 1.0 799s # type: enum 799s # Type: Enum 799s # TYPE: ENUM 799s # value-header 799s # EnumName: QmiWmsMessageProtocol 799s # enum_name: qmi_wms_message_protocol 799s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 799s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 799s # ENUMPREFIX: QMI 799s # enumsince: 1.0 799s # type: enum 799s # Type: Enum 799s # TYPE: ENUM 799s # value-production 799s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 799s # valuenick: cdma 799s # valuenum: 0 799s # type: enum 799s # Type: Enum 799s # TYPE: ENUM 799s # value-tail 799s # EnumName: QmiWmsMessageProtocol 799s # enum_name: qmi_wms_message_protocol 799s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 799s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 799s # ENUMPREFIX: QMI 799s # enumsince: 1.0 799s # type: enum 799s # Type: Enum 799s # TYPE: ENUM 799s # file-tail 799s # 799s # comment 799s # comment: Generated data ends here 799s ok 36 __main__.TestRspMkenums.test_with_double_quotes 799s # tmpdir: /tmp/tmp2dc2npag 799s # rspfile: True, mkenums: /usr/bin/glib-mkenums 799s # /tmp/tmp2dc2npag/tmps4z0gszx.h: 799s # typedef enum { 799s # FOO_VALUE /*< nick="eek, a comma" >*/ 799s # } Foo; 799s # 799s # /tmp/tmp2dc2npag/tmpss8cugx7.template: 799s # /*** BEGIN file-header ***/ 799s # file-header 799s # /*** END file-header ***/ 799s # 799s # /*** BEGIN file-production ***/ 799s # file-production 799s # filename: @filename@ 799s # basename: @basename@ 799s # /*** END file-production ***/ 799s # 799s # /*** BEGIN enumeration-production ***/ 799s # enumeration-production 799s # EnumName: @EnumName@ 799s # enum_name: @enum_name@ 799s # ENUMNAME: @ENUMNAME@ 799s # ENUMSHORT: @ENUMSHORT@ 799s # ENUMPREFIX: @ENUMPREFIX@ 799s # enumsince: @enumsince@ 799s # type: @type@ 799s # Type: @Type@ 799s # TYPE: @TYPE@ 799s # /*** END enumeration-production ***/ 799s # 799s # /*** BEGIN value-header ***/ 799s # value-header 799s # EnumName: @EnumName@ 799s # enum_name: @enum_name@ 799s # ENUMNAME: @ENUMNAME@ 799s # ENUMSHORT: @ENUMSHORT@ 799s # ENUMPREFIX: @ENUMPREFIX@ 799s # enumsince: @enumsince@ 799s # type: @type@ 799s # Type: @Type@ 799s # TYPE: @TYPE@ 799s # /*** END value-header ***/ 799s # 799s # /*** BEGIN value-production ***/ 799s # value-production 799s # VALUENAME: @VALUENAME@ 799s # valuenick: @valuenick@ 799s # valuenum: @valuenum@ 799s # type: @type@ 799s # Type: @Type@ 799s # TYPE: @TYPE@ 799s # /*** END value-production ***/ 799s # 799s # /*** BEGIN value-tail ***/ 799s # value-tail 799s # EnumName: @EnumName@ 799s # enum_name: @enum_name@ 799s # ENUMNAME: @ENUMNAME@ 799s # ENUMSHORT: @ENUMSHORT@ 799s # ENUMPREFIX: @ENUMPREFIX@ 799s # enumsince: @enumsince@ 799s # type: @type@ 799s # Type: @Type@ 799s # TYPE: @TYPE@ 799s # /*** END value-tail ***/ 799s # 799s # /*** BEGIN comment ***/ 799s # comment 799s # comment: @comment@ 799s # /*** END comment ***/ 799s # 799s # /*** BEGIN file-tail ***/ 799s # file-tail 799s # /*** END file-tail ***/ 799s # 799s # Response file contains: --template /tmp/tmp2dc2npag/tmpss8cugx7.template /tmp/tmp2dc2npag/tmps4z0gszx.h 799s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp2dc2npag/tmpectg71wo'] 799s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 799s # Output: comment 799s # 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. 799s # 799s # 799s # file-header 799s # file-production 799s # filename: /tmp/tmp2dc2npag/tmps4z0gszx.h 799s # basename: tmps4z0gszx.h 799s # enumeration-production 799s # EnumName: Foo 799s # enum_name: foo_ 799s # ENUMNAME: FOO_ 799s # ENUMSHORT: 799s # ENUMPREFIX: FOO 799s # enumsince: 799s # type: enum 799s # Type: Enum 799s # TYPE: ENUM 799s # value-header 799s # EnumName: Foo 799s # enum_name: foo_ 799s # ENUMNAME: FOO_ 799s # ENUMSHORT: 799s # ENUMPREFIX: FOO 799s # enumsince: 799s # type: enum 799s # Type: Enum 799s # TYPE: ENUM 799s # value-production 799s # VALUENAME: FOO_VALUE 799s # valuenick: eek, a comma 799s # valuenum: 0 799s # type: enum 799s # Type: Enum 799s # TYPE: ENUM 799s # value-tail 799s # EnumName: Foo 799s # enum_name: foo_ 799s # ENUMNAME: FOO_ 799s # ENUMSHORT: 799s # ENUMPREFIX: FOO 799s # enumsince: 799s # type: enum 799s # Type: Enum 799s # TYPE: ENUM 799s # file-tail 799s # 799s # comment 799s # comment: Generated data ends here 799s 1..36 799s ok - glib/mkenums.py.test 799s # Running test: glib/cxx.test 799s TAP version 13 799s # random seed: R02S759df26b847503e551ab91a55fc951b7 799s 1..2 799s # Start of gtask tests 799s # 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. 799s ok 1 /gtask/name 799s # Start of name tests 799s # 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. 799s ok 2 /gtask/name/macro-wrapper 799s # End of name tests 799s # End of gtask tests 799s ok - glib/cxx.test 799s # Running test: glib/permission.test 799s TAP version 13 799s # random seed: R02S577e48851c607af058f96e881bcc3c67 799s 1..1 799s # Start of permission tests 799s ok 1 /permission/simple 799s # End of permission tests 799s ok - glib/permission.test 799s # Running test: glib/tls-database.test 799s TAP version 13 799s # random seed: R02S1093ba5bb02eb65872e08c8490bcd567 799s 1..1 799s # Start of tls-backend tests 799s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 799s ok 1 /tls-backend/set-default-database 799s # End of tls-backend tests 799s ok - glib/tls-database.test 799s # Running test: glib/object-info.test 799s TAP version 13 799s # random seed: R02Sebd8783228bff9d177715b8a14824cd3 799s 1..2 799s # Start of object-info tests 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_S8NWK2/object-info/find-method-using-interfaces/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_S8NWK2/object-info/find-method-using-interfaces/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_S8NWK2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_S8NWK2/object-info/find-method-using-interfaces/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_S8NWK2/object-info/find-method-using-interfaces/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_S8NWK2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_S8NWK2/object-info/find-method-using-interfaces/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_S8NWK2/object-info/find-method-using-interfaces/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_S8NWK2/object-info/find-method-using-interfaces/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_S8NWK2/object-info/find-method-using-interfaces/.dirs/runtime 799s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 799s ok 1 /object-info/find-method-using-interfaces 799s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_S8NWK2/object-info/find-vfunc-using-interfaces/.dirs/home 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_S8NWK2/object-info/find-vfunc-using-interfaces/.dirs/cache 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_S8NWK2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_S8NWK2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_S8NWK2/object-info/find-vfunc-using-interfaces/.dirs/config 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_S8NWK2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_S8NWK2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_S8NWK2/object-info/find-vfunc-using-interfaces/.dirs/data 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_S8NWK2/object-info/find-vfunc-using-interfaces/.dirs/state 799s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_S8NWK2/object-info/find-vfunc-using-interfaces/.dirs/runtime 799s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 799s ok 2 /object-info/find-vfunc-using-interfaces 799s # End of object-info tests 799s ok - glib/object-info.test 799s # Running test: glib/tree.test 799s TAP version 13 799s # random seed: R02Sc2a313c4784ee02979ee7650be30340d 799s 1..7 799s # Start of tree tests 799s ok 1 /tree/search 799s ok 2 /tree/remove 799s ok 3 /tree/destroy 799s ok 4 /tree/traverse 799s ok 5 /tree/insert 799s ok 6 /tree/bounds 799s ok 7 /tree/remove-all 799s # End of tree tests 799s ok - glib/tree.test 799s # Running test: glib/relation.test 799s TAP version 13 799s # random seed: R02S42300c3b60b09a4fc001c1d72c0de63c 799s 1..1 799s # Start of glib tests 799s ok 1 /glib/relation 799s # End of glib tests 799s ok - glib/relation.test 799s # Running test: glib/gobject-query.py.test 799s TAP version 13 799s ok 1 __main__.TestGobjectQuery.test_froots 799s # gobject-query: /usr/bin/gobject-query 799s # Running: ['/usr/bin/gobject-query', 'froots'] 799s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 799s # Output: ├void 799s # ├GInterface 799s # │ â””GTypePlugin 799s # ├gchar 799s # ├guchar 799s # ├gboolean 799s # ├gint 799s # ├guint 799s # ├glong 799s # ├gulong 799s # ├gint64 799s # ├guint64 799s # ├GEnum 799s # ├GFlags 799s # ├gfloat 799s # ├gdouble 799s # ├gchararray 799s # ├gpointer 799s # │ â””GType 799s # ├GBoxed 799s # │ â””GValueArray 799s # ├GParam 799s # │ ├GParamChar 799s # │ ├GParamUChar 799s # │ ├GParamBoolean 799s # │ ├GParamInt 799s # │ ├GParamUInt 799s # │ ├GParamLong 799s # │ ├GParamULong 799s # │ ├GParamInt64 799s # │ ├GParamUInt64 799s # │ ├GParamUnichar 799s # │ ├GParamEnum 799s # │ ├GParamFlags 799s # │ ├GParamFloat 799s # │ ├GParamDouble 799s # │ ├GParamString 799s # │ ├GParamParam 799s # │ ├GParamBoxed 799s # │ ├GParamPointer 799s # │ ├GParamValueArray 799s # │ ├GParamObject 799s # │ ├GParamOverride 799s # │ ├GParamGType 799s # │ â””GParamVariant 799s # ├GObject 799s # â””GVariant 799s ok 2 __main__.TestGobjectQuery.test_help 799s # gobject-query: /usr/bin/gobject-query 799s # Running: ['/usr/bin/gobject-query', '--help'] 799s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 799s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 799s # -r specify root type 799s # -n don't descend type tree 799s # -h show help 799s # -b specify indent string 799s # -i specify incremental indent string 799s # -s specify line spacing 799s # qualifiers: 799s # froots iterate over fundamental roots 799s # tree print type tree 799s ok 3 __main__.TestGobjectQuery.test_tree 799s # gobject-query: /usr/bin/gobject-query 799s # Running: ['/usr/bin/gobject-query', 'tree'] 799s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 799s # Output: GObject 799s ok 4 __main__.TestGobjectQuery.test_version 799s # gobject-query: /usr/bin/gobject-query 799s # Running: ['/usr/bin/gobject-query', '--version'] 799s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 799s # Output: 2.79.3 799s 1..4 799s ok - glib/gobject-query.py.test 799s # Running test: glib/testfilemonitor.test 799s TAP version 13 799s # random seed: R02S83d97a8da8db67e9d7335baec76715bd 799s 1..8 799s # Start of monitor tests 799s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 799s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 799s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 799s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 799s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 799s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 799s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 799s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 799s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 799s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 799s # Start of file tests 799s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 799s # End of file tests 799s # End of monitor tests 799s ok - glib/testfilemonitor.test 799s # Running test: glib/mainloop.test 799s TAP version 13 799s # random seed: R02S34f531b8e490182227f42661bbeefb64 799s 1..45 799s # Start of maincontext tests 799s ok 1 /maincontext/basic 799s # Add same-priority sources: 18 799s # Find each source: 7 799s # Executing: glib/mainloop.test 799s # Remove in random order: 29 799s ok 2 /maincontext/nsources_same_priority 799s # Add different-priority sources: 22 799s # Find each source: 7 799s # Remove in random order: 34 799s ok 3 /maincontext/nsources_different_priority 799s # Add sources from threads: 195 799s # Remove sources from threads: 75 799s ok 4 /maincontext/nsources_threadpool 799s ok 5 /maincontext/source_finalization 799s # /maincontext/idle-once summary: Test g_idle_add_once() works 799s ok 6 /maincontext/idle-once 799s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 799s ok 7 /maincontext/timeout-once 799s # Start of source_finalization_from_source tests 799s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 799s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 799s ok 8 /maincontext/source_finalization_from_source/0 799s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 799s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 799s ok 9 /maincontext/source_finalization_from_source/1 799s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 799s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 799s ok 10 /maincontext/source_finalization_from_source/2 799s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 799s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 799s ok 11 /maincontext/source_finalization_from_source/3 799s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 799s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 799s ok 12 /maincontext/source_finalization_from_source/4 799s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 799s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 799s ok 13 /maincontext/source_finalization_from_source/5 799s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 799s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 799s ok 14 /maincontext/source_finalization_from_source/6 799s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 799s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 799s ok 15 /maincontext/source_finalization_from_source/7 799s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 799s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 799s ok 16 /maincontext/source_finalization_from_source/8 799s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 799s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 799s ok 17 /maincontext/source_finalization_from_source/9 799s # End of source_finalization_from_source tests 799s # Start of source_finalization_from_dispatch tests 799s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 799s ok 18 /maincontext/source_finalization_from_dispatch/0 799s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 799s ok 19 /maincontext/source_finalization_from_dispatch/1 799s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 799s ok 20 /maincontext/source_finalization_from_dispatch/2 799s # End of source_finalization_from_dispatch tests 799s # End of maincontext tests 799s # Start of mainloop tests 799s ok 21 /mainloop/basic 799s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 799s ok 23 /mainloop/priorities 800s ok 24 /mainloop/invoke 800s # slow test /mainloop/invoke executed in 0.50 secs 801s ok 25 /mainloop/child_sources 801s # slow test /mainloop/child_sources executed in 1.18 secs 803s ok 26 /mainloop/recursive_child_sources 803s # slow test /mainloop/recursive_child_sources executed in 2.16 secs 803s ok 27 /mainloop/recursive_loop_child_sources 803s ok 28 /mainloop/swapping_child_sources 803s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 803s ok 29 /mainloop/blocked_child_sources 804s # Executing: glib/mainloop.test 804s ok 30 /mainloop/source_time 804s # slow test /mainloop/source_time executed in 1.00 secs 804s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 804s ok 31 /mainloop/overflow 805s ok 32 /mainloop/ready-time 805s # slow test /mainloop/ready-time executed in 0.50 secs 805s ok 33 /mainloop/wakeup 805s ok 34 /mainloop/remove-invalid 805s ok 35 /mainloop/unref-while-pending 806s ok 36 /mainloop/unix-fd 806s # slow test /mainloop/unix-fd executed in 1.31 secs 806s ok 37 /mainloop/unix-fd-source 806s ok 38 /mainloop/source-unix-fd-api 806s ok 39 /mainloop/wait 806s ok 40 /mainloop/unix-file-poll 806s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 806s ok 41 /mainloop/unix-fd-priority 806s ok 42 /mainloop/nfds 806s ok 43 /mainloop/steal-fd 806s # Start of ownerless-polling tests 806s ok 44 /mainloop/ownerless-polling/attach-first 806s ok 45 /mainloop/ownerless-polling/pop-first 806s # End of ownerless-polling tests 806s # End of mainloop tests 806s ok - glib/mainloop.test 806s # Running test: glib/charset.test 806s TAP version 13 806s # random seed: R02Sf542e1568b11041dc52a8d3748402710 806s 1..2 806s # Start of charset tests 806s # Test 0 806s # Test 1 806s # Test 2 806s # Test 3 806s ok 1 /charset/language_names_with_category 806s ok 2 /charset/language_names_with_category_async 806s # End of charset tests 806s ok - glib/charset.test 806s # Running test: glib/converter-stream.test 806s TAP version 13 806s # random seed: R02S3a6e57b2edf4e743db8ac45ee3e847a3 806s 1..17 806s # Start of converter tests 806s ok 1 /converter/basics 806s # End of converter tests 806s # Start of converter-input-stream tests 806s ok 2 /converter-input-stream/expander 806s ok 3 /converter-input-stream/compressor 806s # Start of truncation tests 807s ok 4 /converter-input-stream/truncation/zlib 807s ok 5 /converter-input-stream/truncation/gzip 807s ok 6 /converter-input-stream/truncation/raw 807s # End of truncation tests 807s # Start of charset tests 807s ok 7 /converter-input-stream/charset/utf8->latin1 807s ok 8 /converter-input-stream/charset/latin1->utf8 807s ok 9 /converter-input-stream/charset/fallbacks 807s # End of charset tests 807s # End of converter-input-stream tests 807s # Start of converter-output-stream tests 807s # Start of roundtrip tests 807s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 807s ok 10 /converter-output-stream/roundtrip/zlib-0 807s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 807s ok 11 /converter-output-stream/roundtrip/zlib-9 807s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 807s ok 12 /converter-output-stream/roundtrip/gzip-0 807s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 808s ok 13 /converter-output-stream/roundtrip/gzip-9 808s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 808s ok 14 /converter-output-stream/roundtrip/raw-0 808s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 808s ok 15 /converter-output-stream/roundtrip/raw-9 808s # End of roundtrip tests 808s # End of converter-output-stream tests 808s # Start of converter-stream tests 808s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 808s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1cf38a3e9e80 and GSocketClientAsyncConnectData 0x1cf38a7d52c0 808s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 808s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 808s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1cf38a3f2fe0 for GSocketClientAsyncConnectData 0x1cf38a7d52c0 808s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 808s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 808s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 808s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 808s ok 16 /converter-stream/pollable 808s ok 17 /converter-stream/leftover 808s # End of converter-stream tests 808s ok - glib/converter-stream.test 808s # Running test: glib/uri.test 808s TAP version 13 808s # random seed: R02S94f70dc2ec6d0bfc1e4dc8137aa64b5e 808s 1..24 808s # Start of uri tests 808s ok 1 /uri/file-to-uri 808s ok 2 /uri/file-from-uri 808s ok 3 /uri/file-roundtrip 808s ok 4 /uri/list 808s # Test 0: %2Babc %4F 808s # Test 1: %2Babc %4F 808s # Test 2: %00abc %4F 808s # Test 3: /cursors/none.png 808s # Test 4: /cursors%2fbad-subdir/none.png 808s # Test 5: %0 808s # Test 6: %ra 808s # Test 7: %2r 808s # Test 8: Timm B?der 808s # Test 9: (null) 808s ok 5 /uri/unescape-string 808s ok 6 /uri/unescape-segment 808s # Test 0: abcdefgABCDEFG._~ 808s # Test 1: :+ \\?# 808s # Test 2: a+b:c 808s # Test 3: a+b:c\303\234 808s # Test 4: \374;\322 808s # Test 5: \303\261\303( 808s ok 7 /uri/escape-string 808s ok 8 /uri/escape-bytes 808s ok 9 /uri/scheme 808s ok 10 /uri/build 808s ok 11 /uri/split 808s ok 12 /uri/is_valid 808s ok 13 /uri/to-string 808s ok 14 /uri/join 808s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 808s # Combination 0 808s # Combination 1 808s # Combination 2 808s # Combination 3 808s # Combination 4 808s # Combination 5 808s # Combination 6 808s # Combination 7 808s # Combination 8 808s # Combination 9 808s # Combination 10 808s # Combination 11 808s # Combination 12 808s # Combination 13 808s # Combination 14 808s # Combination 15 808s # Combination 16 808s # Combination 17 808s # Combination 18 808s # Combination 19 808s # Combination 20 808s # Combination 21 808s # Combination 22 808s # Combination 23 808s # Combination 24 808s # Combination 25 808s # Combination 26 808s # Combination 27 808s # Combination 28 808s # Combination 29 808s # Combination 30 808s # Combination 31 808s # Combination 32 808s # Combination 33 808s # Combination 34 808s # Combination 35 808s # Combination 36 808s # Combination 37 808s # Combination 38 808s # Combination 39 808s # Combination 40 808s # Combination 41 808s # Combination 42 808s # Combination 43 808s # Combination 44 808s # Combination 45 808s # Combination 46 808s # Combination 47 808s # Combination 48 808s # Combination 49 808s # Combination 50 808s # Combination 51 808s # Combination 52 808s # Combination 53 808s # Combination 54 808s # Combination 55 808s # Combination 56 808s # Combination 57 808s # Combination 58 808s # Combination 59 808s # Combination 60 808s # Combination 61 808s # Combination 62 808s # Combination 63 808s # Combination 64 808s # Combination 65 808s # Combination 66 808s # Combination 67 808s # Combination 68 808s # Combination 69 808s # Combination 70 808s # Combination 71 808s # Combination 72 808s # Combination 73 808s # Combination 74 808s # Combination 75 808s # Combination 76 808s # Combination 77 808s # Combination 78 808s # Combination 79 808s # Combination 80 808s # Combination 81 808s # Combination 82 808s # Combination 83 808s # Combination 84 808s # Combination 85 808s # Combination 86 808s # Combination 87 808s # Combination 88 808s # Combination 89 808s # Combination 90 808s # Combination 91 808s # Combination 92 808s # Combination 93 808s # Combination 94 808s # Combination 95 808s # Combination 96 808s # Combination 97 808s # Combination 98 808s # Combination 99 808s # Combination 100 808s # Combination 101 808s # Combination 102 808s # Combination 103 808s # Combination 104 808s # Combination 105 808s # Combination 106 808s # Combination 107 808s # Combination 108 808s # Combination 109 808s # Combination 110 808s # Combination 111 808s # Combination 112 808s # Combination 113 808s # Combination 114 808s # Combination 115 808s # Combination 116 808s # Combination 117 808s # Combination 118 808s # Combination 119 808s # Combination 120 808s # Combination 121 808s # Combination 122 808s # Combination 123 808s # Combination 124 808s # Combination 125 808s # Combination 126 808s # Combination 127 808s # Combination 128 808s # Combination 129 808s # Combination 130 808s # Combination 131 808s # Combination 132 808s # Combination 133 808s # Combination 134 808s # Combination 135 808s # Combination 136 808s # Combination 137 808s # Combination 138 808s # Combination 139 808s # Combination 140 808s # Combination 141 808s # Combination 142 808s # Combination 143 808s # Combination 144 808s # Combination 145 808s # Combination 146 808s # Combination 147 808s # Combination 148 808s # Combination 149 808s # Combination 150 808s # Combination 151 808s # Combination 152 808s # Combination 153 808s # Combination 154 808s # Combination 155 808s # Combination 156 808s # Combination 157 808s # Combination 158 808s # Combination 159 808s # Combination 160 808s # Combination 161 808s # Combination 162 808s # Combination 163 808s # Combination 164 808s # Combination 165 808s # Combination 166 808s # Combination 167 808s # Combination 168 808s # Combination 169 808s # Combination 170 808s # Combination 171 808s # Combination 172 808s # Combination 173 808s # Combination 174 808s # Combination 175 808s # Combination 176 808s # Combination 177 808s # Combination 178 808s # Combination 179 808s # Combination 180 808s # Combination 181 808s # Combination 182 808s # Combination 183 808s # Combination 184 808s # Combination 185 808s # Combination 186 808s # Combination 187 808s # Combination 188 808s # Combination 189 808s # Combination 190 808s # Combination 191 808s # Combination 192 808s # Combination 193 808s # Combination 194 808s # Combination 195 808s # Combination 196 808s # Combination 197 808s # Combination 198 808s # Combination 199 808s # Combination 200 808s # Combination 201 808s # Combination 202 808s # Combination 203 808s # Combination 204 808s # Combination 205 808s # Combination 206 808s # Combination 207 808s # Combination 208 808s # Combination 209 808s # Combination 210 808s # Combination 211 808s # Combination 212 808s # Combination 213 808s # Combination 214 808s # Combination 215 808s # Combination 216 808s # Combination 217 808s # Combination 218 808s # Combination 219 808s # Combination 220 808s # Combination 221 808s # Combination 222 808s # Combination 223 808s # Combination 224 808s # Combination 225 808s # Combination 226 808s # Combination 227 808s # Combination 228 808s # Combination 229 808s # Combination 230 808s # Combination 231 808s # Combination 232 808s # Combination 233 808s # Combination 234 808s # Combination 235 808s # Combination 236 808s # Combination 237 808s # Combination 238 808s # Combination 239 808s # Combination 240 808s # Combination 241 808s # Combination 242 808s # Combination 243 808s # Combination 244 808s # Combination 245 808s # Combination 246 808s # Combination 247 808s # Combination 248 808s # Combination 249 808s # Combination 250 808s # Combination 251 808s # Combination 252 808s # Combination 253 808s # Combination 254 808s # Combination 255 808s ok 15 /uri/join-split-round-trip 808s ok 16 /uri/normalize 808s # Start of unescape-bytes tests 808s # Test 0: %00%00 808s # Test 1: /cursors/none.png 808s # Test 2: /cursors%2fbad-subdir/none.png 808s # Test 3: %% 808s # Test 4: % 808s ok 17 /uri/unescape-bytes/nul-terminated 808s # Test 0: %00%00 808s # Test 1: /cursors/none.png 808s # Test 2: /cursors%2fbad-subdir/none.png 808s # Test 3: %% 808s # Test 4: % 808s ok 18 /uri/unescape-bytes/length 808s # End of unescape-bytes tests 808s # Start of parsing tests 808s # Test 0: foo: 808s # Test 1: file:/dev/null 808s # Test 2: file:///dev/null 808s # Test 3: ftp://user@host/path 808s # Test 4: ftp://user@host:9999/path 808s # Test 5: ftp://user:password@host/path 808s # Test 6: ftp://user:password@host:9999/path 808s # Test 7: ftp://user:password@host 808s # Test 8: http://us%65r@host 808s # Test 9: http://us%40r@host 808s # Test 10: http://us%3ar@host 808s # Test 11: http://us%2fr@host 808s # Test 12: http://us%3fr@host 808s # Test 13: http://host?query 808s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 808s # 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 808s # Test 16: http://space/%20 808s # Test 17: http://delims/%3C%3E%23%25%22 808s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 808s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 808s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 808s # Test 21: http://[3ffe:2a00:100:7031::1] 808s # Test 22: http://[1080::8:800:200C:417A]/foo 808s # Test 23: http://[::192.9.5.5]/ipng 808s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 808s # Test 25: http://[2010:836B:4179::836B:4179] 808s # Test 26: http://host/path with spaces 808s # Test 27: http://host/path 808s # Test 28: http://host/path 808s # Test 29: http://host 808s # Test 30: http://host:999 808s # Test 31: http://host/pa 808s # th 808s # Test 32: http: 808s # //host/path 808s # Test 33: http:// host/path 808s # Test 34: http://host/path? 808s # Test 35: http://host/path# 808s # Test 36: http://host/path% 808s # Test 37: http://h%ost/path 808s # Test 38: http://host/path%% 808s # Test 39: http://host/path%%% 808s # Test 40: http://host/path%/x/ 808s # Test 41: http://host/path%0x/ 808s # Test 42: http://host/path%ax 808s # Test 43: http://host/p?th/ 808s # Test 44: HTTP://////////////// 808s # Test 45: http://@host 808s # Test 46: http://:@host 808s # Test 47: scheme://foo%3Abar._webdav._tcp.local 808s # Test 48: http://example.com/.. 808s # Test 49: foo0://host/path 808s # Test 50: f0.o://host/path 808s # Test 51: http++://host/path 808s # Test 52: http-ish://host/path 808s # Test 53: http://[fe80::dead:beef%]/ 808s # Test 54: http://[fe80::dead:beef%em1]/ 808s # Test 55: http://[fe80::dead:beef%em1]/ 808s # Test 56: http://[fe80::dead:beef%25em1]/ 808s # Test 57: http://[fe80::dead:beef%25em1%20]/ 808s # Test 58: http://[fe80::dead:beef%25em%31]/ 808s # Test 59: http://[fe80::dead:beef%10]/ 808s # Test 60: http://[fe80::dead:beef%10]/ 808s # Test 61: http://[fe80::dead:beef%25]/ 808s # Test 62: http://[fe80::dead:beef%25]/ 808s # Test 63: http://[192.168.0.1%25em1]/ 808s # Test 64: http://[fe80::dead:beef%2em1]/ 808s # Test 65: http://[fe80::dead:beef%2em1]/ 808s # Test 66: http://[fe80::dead:beef%25em1%00]/ 808s # Test 67: http://[fe80::dead:beef%25em1%00]/ 808s # Test 68: http://xn--mixed-?p/ 808s ok 19 /uri/parsing/absolute 808s ok 20 /uri/parsing/relative 808s # End of parsing tests 808s # Start of iter-params tests 808s # URI 0: p1=foo&p2=bar;p3=baz 808s # URI 1: p1=foo&p2=bar 808s # URI 2: p1=foo&&P1=bar 808s # URI 3: %00=foo 808s # URI 4: p1=%00 808s # URI 5: p1=foo&p1=bar 808s # URI 6: p1=foo&P1=bar 808s # URI 7: =% 808s # URI 8: = 808s # URI 9: foo 808s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 808s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 808s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 808s ok 21 /uri/iter-params/nul-terminated 808s # URI 0: p1=foo&p2=bar;p3=baz 808s # URI 1: p1=foo&p2=bar 808s # URI 2: p1=foo&&P1=bar 808s # URI 3: %00=foo 808s # URI 4: p1=%00 808s # URI 5: p1=foo&p1=bar 808s # URI 6: p1=foo&P1=bar 808s # URI 7: =% 808s # URI 8: = 808s # URI 9: foo 808s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 808s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 808s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 808s ok 22 /uri/iter-params/length 808s # End of iter-params tests 808s # Start of parse-params tests 808s # URI 0: p1=foo&p2=bar;p3=baz 808s # URI 1: p1=foo&p2=bar 808s # URI 2: p1=foo&&P1=bar 808s # URI 3: %00=foo 808s # URI 4: p1=%00 808s # URI 5: p1=foo&p1=bar 808s # URI 6: p1=foo&P1=bar 808s # URI 7: =% 808s # URI 8: = 808s # URI 9: foo 808s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 808s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 808s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 808s ok 23 /uri/parse-params/nul-terminated 808s # URI 0: p1=foo&p2=bar;p3=baz 808s # URI 1: p1=foo&p2=bar 808s # URI 2: p1=foo&&P1=bar 808s # URI 3: %00=foo 808s # URI 4: p1=%00 808s # URI 5: p1=foo&p1=bar 808s # URI 6: p1=foo&P1=bar 808s # URI 7: =% 808s # URI 8: = 808s # URI 9: foo 808s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 808s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 808s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 808s ok 24 /uri/parse-params/length 808s # End of parse-params tests 808s # End of uri tests 808s ok - glib/uri.test 808s # Running test: glib/sort.test 808s TAP version 13 808s # random seed: R02S6a9aa2f3e3c7e22fd76cb449ee8caab0 808s 1..4 808s # Start of sort tests 808s ok 1 /sort/basic 808s ok 2 /sort/zero-elements 808s ok 3 /sort/stable 808s ok 4 /sort/big 808s # End of sort tests 808s ok - glib/sort.test 808s # Running test: glib/asyncqueue.test 808s TAP version 13 808s # random seed: R02Sc112fec76b4e837bae11d40eebd1cd3b 808s 1..7 808s # Start of asyncqueue tests 808s ok 1 /asyncqueue/basics 808s ok 2 /asyncqueue/sort 808s ok 3 /asyncqueue/destroy 808s ok 4 /asyncqueue/threads 808s ok 5 /asyncqueue/timed 808s ok 6 /asyncqueue/remove 808s ok 7 /asyncqueue/push_front 808s # End of asyncqueue tests 808s ok - glib/asyncqueue.test 808s # Running test: glib/reference.test 808s TAP version 13 808s # random seed: R02S53624e6d7e35a0ea6dfccdfcad33f468 808s 1..29 808s # Start of type tests 808s ok 1 /type/fundamentals 808s ok 2 /type/qdata 808s ok 3 /type/query 808s ok 4 /type/class-private 808s # End of type tests 808s # Start of object tests 808s ok 5 /object/clear 808s ok 6 /object/clear-function 808s ok 7 /object/set 808s ok 8 /object/set-function 808s ok 9 /object/value 808s ok 10 /object/initially-unowned 808s ok 11 /object/weak-pointer 808s ok 12 /object/weak-ref 808s ok 13 /object/toggle-ref 808s ok 14 /object/qdata 808s ok 15 /object/qdata2 808s # Start of set tests 808s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 808s ok 16 /object/set/derived-type 808s # End of set tests 808s # Start of weak-pointer tests 808s ok 17 /object/weak-pointer/clear 808s ok 18 /object/weak-pointer/clear-function 808s ok 19 /object/weak-pointer/set 808s ok 20 /object/weak-pointer/set-function 808s # End of weak-pointer tests 808s # Start of weak-ref tests 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 808s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 808s ok 21 /object/weak-ref/on-dispose 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 808s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 808s ok 22 /object/weak-ref/on-run-dispose 808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 808s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 808s ok 23 /object/weak-ref/on-toggle-notify 808s ok 24 /object/weak-ref/in-toggle-notify 808s ok 25 /object/weak-ref/many 808s # Start of concurrent tests 809s # Executing: glib/reference.test 811s ok 26 /object/weak-ref/concurrent/0 811s # slow test /object/weak-ref/concurrent/0 executed in 3.01 secs 814s # Executing: glib/reference.test 814s ok 27 /object/weak-ref/concurrent/1 814s # slow test /object/weak-ref/concurrent/1 executed in 3.06 secs 814s # End of concurrent tests 814s # End of weak-ref tests 814s # Start of toggle-ref tests 814s ok 28 /object/toggle-ref/ref-on-dispose 814s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 814s # End of toggle-ref tests 814s # End of object tests 814s ok - glib/reference.test 814s # Running test: glib/accumulator.test 814s TAP version 13 814s # random seed: R02S504e3bc424805746fe78a209514150a2 814s 1..1 814s # Start of gobject tests 814s ok 1 /gobject/accumulator 814s # End of gobject tests 814s ok - glib/accumulator.test 814s # Running test: glib/rec-mutex.test 814s TAP version 13 814s # random seed: R02S5d2e2c9892d96ac38d2c6d567bf731f7 814s 1..29 814s # Start of thread tests 814s ok 1 /thread/rec-mutex1 814s ok 2 /thread/rec-mutex2 814s ok 3 /thread/rec-mutex3 814s ok 4 /thread/rec-mutex4 814s # Start of rec-mutex tests 814s # Start of perf tests 814s # Start of uncontended tests 814s # max perf: 1.000000 mips 814s ok 5 /thread/rec-mutex/perf/uncontended/depth1 814s # max perf: 1.000000 mips 814s ok 6 /thread/rec-mutex/perf/uncontended/depth2 814s # max perf: 1.000000 mips 814s ok 7 /thread/rec-mutex/perf/uncontended/depth3 814s # max perf: 1.000000 mips 814s ok 8 /thread/rec-mutex/perf/uncontended/depth4 814s # max perf: 1.000000 mips 814s ok 9 /thread/rec-mutex/perf/uncontended/depth5 814s # End of uncontended tests 814s # Start of contended1 tests 814s # max perf: 2.000000 mips 814s ok 10 /thread/rec-mutex/perf/contended1/depth1 814s # max perf: 2.000000 mips 814s ok 11 /thread/rec-mutex/perf/contended1/depth2 814s # max perf: 2.000000 mips 814s ok 12 /thread/rec-mutex/perf/contended1/depth3 814s # max perf: 2.000000 mips 814s ok 13 /thread/rec-mutex/perf/contended1/depth4 814s # max perf: 2.000000 mips 814s ok 14 /thread/rec-mutex/perf/contended1/depth5 814s # End of contended1 tests 814s # Start of contended2 tests 814s # max perf: 3.000000 mips 814s ok 15 /thread/rec-mutex/perf/contended2/depth1 814s # max perf: 3.000000 mips 814s ok 16 /thread/rec-mutex/perf/contended2/depth2 814s # max perf: inf mips 814s ok 17 /thread/rec-mutex/perf/contended2/depth3 814s # max perf: 3.000000 mips 814s ok 18 /thread/rec-mutex/perf/contended2/depth4 814s # max perf: 3.000000 mips 814s ok 19 /thread/rec-mutex/perf/contended2/depth5 814s # End of contended2 tests 814s # Start of contended3 tests 814s # max perf: 4.000000 mips 814s ok 20 /thread/rec-mutex/perf/contended3/depth1 814s # max perf: 4.000000 mips 814s ok 21 /thread/rec-mutex/perf/contended3/depth2 814s # max perf: 4.000000 mips 814s ok 22 /thread/rec-mutex/perf/contended3/depth3 814s # max perf: 4.000000 mips 814s ok 23 /thread/rec-mutex/perf/contended3/depth4 814s # max perf: 2.000000 mips 814s ok 24 /thread/rec-mutex/perf/contended3/depth5 814s # End of contended3 tests 814s # Start of contended4 tests 814s # max perf: inf mips 814s ok 25 /thread/rec-mutex/perf/contended4/depth1 814s # max perf: inf mips 814s ok 26 /thread/rec-mutex/perf/contended4/depth2 814s # max perf: 5.000000 mips 814s ok 27 /thread/rec-mutex/perf/contended4/depth3 814s # max perf: 2.500000 mips 814s ok 28 /thread/rec-mutex/perf/contended4/depth4 814s # max perf: 5.000000 mips 814s ok 29 /thread/rec-mutex/perf/contended4/depth5 814s # End of contended4 tests 814s # End of perf tests 814s # End of rec-mutex tests 814s # End of thread tests 814s ok - glib/rec-mutex.test 814s # Running test: glib/utf8-pointer.test 814s TAP version 13 814s # random seed: R02Sae24123ff841172e44577635ec763932 814s 1..3 814s # Start of utf8 tests 815s ok 1 /utf8/offsets 815s # slow test /utf8/offsets executed in 0.79 secs 815s ok 2 /utf8/lengths 815s ok 3 /utf8/find 815s # End of utf8 tests 815s ok - glib/utf8-pointer.test 815s # Running test: glib/pollable.test 815s TAP version 13 815s # random seed: R02Sd412ef49aebd04e23ca0202b020cda0d 815s 1..6 815s # Start of pollable tests 815s ok 1 /pollable/converter 815s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 815s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x3aa2f69f790 and GSocketClientAsyncConnectData 0x3aa2f692ad0 815s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 815s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 815s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x3aa2f6a0810 for GSocketClientAsyncConnectData 0x3aa2f692ad0 815s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 815s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 815s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 815s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 815s ok 2 /pollable/socket 815s # Start of unix tests 815s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 815s ok 3 /pollable/unix/pipe 815s # /pollable/unix/pty summary: Test that PTYs are considered pollable 815s ok 4 /pollable/unix/pty 815s # /pollable/unix/file summary: Test that regular files are not considered pollable 815s ok 5 /pollable/unix/file 815s # /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 815s ok 6 /pollable/unix/nulldev 815s # End of unix tests 815s # End of pollable tests 815s ok - glib/pollable.test 815s # Running test: glib/utils-c-17.test 815s TAP version 13 815s # random seed: R02S21af64b836e95ccb9539aaaff0e9264f 815s 1..40 815s # Start of utils tests 815s ok 1 /utils/language-names 815s ok 2 /utils/locale-variants 815s ok 3 /utils/version 815s ok 4 /utils/appname 815s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 815s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 815s ok 5 /utils/prgname-thread-safety 815s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 815s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 815s ok 6 /utils/tmpdir 815s ok 7 /utils/basic_bits 815s ok 8 /utils/bits 815s ok 9 /utils/swap 815s ok 10 /utils/find-program 815s ok 11 /utils/find-program-for-path 815s ok 12 /utils/debug 815s ok 13 /utils/codeset 815s ok 14 /utils/codeset2 815s ok 15 /utils/console-charset 815s ok 16 /utils/gettext 815s ok 17 /utils/username 815s ok 18 /utils/realname 815s ok 19 /utils/hostname 815s ok 20 /utils/xdgdirs 815s ok 21 /utils/specialdir 815s # NAME: Ubuntu 815s ok 22 /utils/os-info 815s ok 23 /utils/clear-pointer 815s ok 24 /utils/clear-pointer-cast 815s ok 25 /utils/take-pointer 815s ok 26 /utils/clear-source 815s ok 27 /utils/misc-mem 815s # /utils/aligned-mem summary: Aligned memory allocator 815s # Alignment must not be zero 815s # Alignment must be a power of two 815s # Alignment must be a multiple of sizeof(void*) 815s ok 28 /utils/aligned-mem 815s # /utils/free-sized summary: Check that g_free_sized() works 815s ok 29 /utils/free-sized 815s ok 30 /utils/nullify 815s ok 31 /utils/atexit 815s ok 32 /utils/check-setuid 815s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 815s ok 33 /utils/int-limits 815s ok 34 /utils/clear-list 815s ok 35 /utils/clear-slist 815s # Start of specialdir tests 815s ok 36 /utils/specialdir/desktop 815s # End of specialdir tests 815s # Start of clear-pointer tests 815s ok 37 /utils/clear-pointer/side-effects 815s # End of clear-pointer tests 815s # Start of aligned-mem tests 815s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 815s ok 38 /utils/aligned-mem/alignment 815s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 815s ok 39 /utils/aligned-mem/zeroed 815s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 815s ok 40 /utils/aligned-mem/free-sized 815s # Start of subprocess tests 815s # End of subprocess tests 815s # End of aligned-mem tests 815s # End of utils tests 815s ok - glib/utils-c-17.test 815s # Running test: glib/custom-dispatch.test 815s TAP version 13 815s # random seed: R02Sb81c5dfa7b732213ce7fe72d38eb3caf 815s 1..2 815s # Start of properties tests 815s # Start of custom-dispatch tests 815s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 815s ok 1 /properties/custom-dispatch/init 815s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 815s ok 2 /properties/custom-dispatch/set 815s # End of custom-dispatch tests 815s # End of properties tests 815s ok - glib/custom-dispatch.test 815s # Running test: glib/simple-async-result.test 815s TAP version 13 815s # random seed: R02S46b7167ba30ebfb2a118ebecf8dec209 815s 1..2 815s # Start of gio tests 815s # Start of simple-async-result tests 815s ok 1 /gio/simple-async-result/test 815s # GLib-GIO-DEBUG: GTask 0x30f209906e0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 815s ok 2 /gio/simple-async-result/valid 815s # End of simple-async-result tests 815s # End of gio tests 815s ok - glib/simple-async-result.test 815s # Running test: glib/mutex.test 815s TAP version 13 815s # random seed: R02S82049724c255219c74131fea9650f6e4 815s 1..17 815s # Start of thread tests 815s ok 1 /thread/mutex1 815s ok 2 /thread/mutex2 815s ok 3 /thread/mutex3 815s ok 4 /thread/mutex4 819s # Executing: glib/mutex.test 824s # Executing: glib/mutex.test 824s ok 5 /thread/mutex5 824s # slow test /thread/mutex5 executed in 8.90 secs 824s # Start of mutex tests 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 824s # /thread/mutex/errno summary: Validates that errno is not touched upon return 824s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 825s ok 6 /thread/mutex/errno 825s # slow test /thread/mutex/errno executed in 0.65 secs 825s # Start of perf tests 825s # max perf: inf mips 825s ok 7 /thread/mutex/perf/uncontended 825s # Start of contended tests 825s # max perf: inf mips 825s ok 8 /thread/mutex/perf/contended/1 825s # max perf: inf mips 825s ok 9 /thread/mutex/perf/contended/2 825s # max perf: inf mips 825s ok 10 /thread/mutex/perf/contended/3 825s # max perf: inf mips 825s ok 11 /thread/mutex/perf/contended/4 825s # max perf: inf mips 825s ok 12 /thread/mutex/perf/contended/5 825s # max perf: 7.000000 mips 825s ok 13 /thread/mutex/perf/contended/6 825s # max perf: 8.000000 mips 825s ok 14 /thread/mutex/perf/contended/7 825s # max perf: 9.000000 mips 825s ok 15 /thread/mutex/perf/contended/8 825s # max perf: inf mips 825s ok 16 /thread/mutex/perf/contended/9 825s # max perf: 11.000000 mips 825s ok 17 /thread/mutex/perf/contended/10 825s # End of contended tests 825s # End of perf tests 825s # End of mutex tests 825s # End of thread tests 825s ok - glib/mutex.test 825s # Running test: glib/objects-refcount2.test 825s TAP version 13 825s # random seed: R02S6768ad3b332e130a90f54cd8ab45df43 825s 1..1 825s # Start of gobject tests 825s # Start of refcount tests 825s # init 0x14707392e740 825s # 825s # . 825s # . 825s # . 825s # . 825s # . 825s # . 825s # . 825s # . 825s # . 825s # . 825s # . 825s # . 825s # . 825s # . 825s # . 825s # . 825s # . 825s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 826s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 827s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 828s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # Executing: glib/objects-refcount2.test 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 829s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 830s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 831s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 832s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 833s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # Executing: glib/objects-refcount2.test 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 834s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 835s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 836s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 837s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 838s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # Executing: glib/objects-refcount2.test 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 839s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 840s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 841s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 842s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 843s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # Executing: glib/objects-refcount2.test 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 844s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 845s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 846s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 847s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 848s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # Executing: glib/objects-refcount2.test 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 849s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 850s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 851s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 852s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 853s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # Executing: glib/objects-refcount2.test 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 854s # . 855s # . 855s # . 855s # . 855s # . 855s # . 855s # . 855s # . 855s # . 855s # . 855s # . 855s # . 855s # . 855s # . 855s # . 855s # . 855s # . 855s # . 855s # . 855s # . 855s # . 855s # . 855s # . 855s # . 855s # . 855s # . 855s # . 855s # . 855s # . 856s # . 856s # . 856s # . 856s # . 856s # . 856s # . 856s # . 856s # . 856s # . 856s # . 856s # . 856s # . 856s # . 856s # . 856s # . 856s # . 856s # . 856s # . 856s # . 856s # . 856s # . 856s # . 856s # . 856s # . 856s # . 856s # . 856s # . 857s # . 857s # . 857s # . 857s # . 857s # . 857s # . 857s # . 857s # . 857s # . 857s # . 857s # . 857s # . 857s # . 857s # . 857s # . 857s # . 857s # . 857s # . 857s # . 857s # . 857s # . 857s # . 857s # . 857s # . 857s # . 857s # . 857s # . 857s # . 858s # . 858s # . 858s # . 858s # . 858s # . 858s # . 858s # . 858s # . 858s # . 858s # . 858s # . 858s # . 858s # . 858s # . 858s # . 858s # . 858s # . 858s # . 858s # . 858s # . 858s # . 858s # . 858s # . 858s # . 858s # . 858s # . 858s # . 859s # . 859s # . 859s # . 859s # . 859s # . 859s # . 859s # . 859s # . 859s # Executing: glib/objects-refcount2.test 859s # . 859s # . 859s # . 859s # . 859s # . 859s # . 859s # . 859s # . 859s # . 859s # . 859s # . 859s # . 859s # . 859s # . 859s # . 859s # . 859s # . 859s # . 859s # . 859s # . 860s # . 860s # . 860s # . 860s # . 860s # . 860s # . 860s # . 860s # . 860s # . 860s # . 860s # . 860s # . 860s # . 860s # . 860s # . 860s # . 860s # . 860s # . 860s # . 860s # . 860s # . 860s # . 860s # . 860s # . 860s # . 860s # . 860s # . 861s # . 861s # . 861s # . 861s # . 861s # . 861s # . 861s # . 861s # . 861s # . 861s # . 861s # . 861s # . 861s # . 861s # . 861s # . 861s # . 861s # . 861s # . 861s # . 861s # . 861s # . 861s # . 861s # . 861s # . 861s # dispose 0x14707392e740! 861s # 861s ok 1 /gobject/refcount/object-advanced 861s # slow test /gobject/refcount/object-advanced executed in 36.51 secs 861s # End of refcount tests 861s # End of gobject tests 861s ok - glib/objects-refcount2.test 861s # Running test: glib/mount-operation.test 861s TAP version 13 861s # random seed: R02Sf7af6479e9ad0ab5a4efbb92e50cc977 861s 1..2 861s # Start of mount-operation tests 861s ok 1 /mount-operation/construction 861s ok 2 /mount-operation/properties 861s # End of mount-operation tests 861s ok - glib/mount-operation.test 861s # Running test: glib/memory-monitor-dbus.test 861s TAP version 13 861s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 861s 1..1 861s ok - glib/memory-monitor-dbus.test 861s # Running test: glib/spawn-test.test 861s TAP version 13 861s # random seed: R02S16eef36119703725637ebf6caf0b6ec6 861s 1..2 861s # Start of spawn tests 861s ok 1 /spawn/basics 861s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 861s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 861s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 861s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 861s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 861s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 861s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 861s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 862s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 862s # Fetching GSpawn result output with stdin open, stdout open, stderr open 862s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 862s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 862s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 862s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 862s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 862s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 862s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 862s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 862s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 862s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 862s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 862s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 862s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 862s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 862s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 862s # Fetching GSpawn result with stdin open, stdout open, stderr open 862s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 862s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 862s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 862s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 862s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 862s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 862s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 862s ok 2 /spawn/stdio-overwrite 862s # End of spawn tests 862s ok - glib/spawn-test.test 862s # Running test: glib/union-info.test 862s TAP version 13 862s # random seed: R02Sdd4c06e712bbb2748eafe387e58f5130 862s 1..2 862s # Start of union-info tests 862s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_PX9NK2/union-info/basic/.dirs/home 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_PX9NK2/union-info/basic/.dirs/cache 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_PX9NK2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_PX9NK2/union-info/basic/.dirs/system-config2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_PX9NK2/union-info/basic/.dirs/config 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_PX9NK2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_PX9NK2/union-info/basic/.dirs/system-data2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_PX9NK2/union-info/basic/.dirs/data 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_PX9NK2/union-info/basic/.dirs/state 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_PX9NK2/union-info/basic/.dirs/runtime 862s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 862s # /union-info/basic summary: Test basic properties of GIUnionInfo 862s ok 1 /union-info/basic 862s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_PX9NK2/union-info/methods/.dirs/home 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_PX9NK2/union-info/methods/.dirs/cache 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_PX9NK2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_PX9NK2/union-info/methods/.dirs/system-config2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_PX9NK2/union-info/methods/.dirs/config 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_PX9NK2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_PX9NK2/union-info/methods/.dirs/system-data2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_PX9NK2/union-info/methods/.dirs/data 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_PX9NK2/union-info/methods/.dirs/state 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_PX9NK2/union-info/methods/.dirs/runtime 862s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 862s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 862s ok 2 /union-info/methods 862s # End of union-info tests 862s ok - glib/union-info.test 862s # Running test: glib/timeout.test 862s TAP version 13 862s # random seed: R02S8d0884eeb25166f8b7f27d8816e9e2fa 862s 1..5 862s # Start of timeout tests 862s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 864s ok 1 /timeout/seconds 864s # slow test /timeout/seconds executed in 2.10 secs 864s # Executing: glib/timeout.test 866s ok 2 /timeout/seconds-once 866s # slow test /timeout/seconds-once executed in 2.10 secs 866s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 868s ok 3 /timeout/weeks-overflow 868s # slow test /timeout/weeks-overflow executed in 2.10 secs 868s ok 4 /timeout/far-future-ready-time 869s # Executing: glib/timeout.test 874s # Executing: glib/timeout.test 878s ok 5 /timeout/rounding 878s # slow test /timeout/rounding executed in 10.06 secs 878s # End of timeout tests 878s ok - glib/timeout.test 878s # Running test: glib/memchunk.test 878s TAP version 13 878s # random seed: R02S9c07c82fac27ff9711f28e46dd93aba6 878s 1..1 878s # Start of memchunk tests 878s ok 1 /memchunk/basic 878s # End of memchunk tests 878s ok - glib/memchunk.test 878s # Running test: glib/rand.test 878s TAP version 13 878s # random seed: R02S15a0387bca6d30b50c35291e9394f6ba 878s 1..2 878s # Start of rand tests 878s ok 1 /rand/test-rand 878s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 878s ok 2 /rand/double-range 878s # End of rand tests 878s ok - glib/rand.test 878s # Running test: glib/bytes.test 878s TAP version 13 878s # random seed: R02S8f4f2f3fd03037be9098495152bd473f 878s 1..21 878s # Start of bytes tests 878s ok 1 /bytes/new 878s ok 2 /bytes/new-take 878s ok 3 /bytes/new-static 878s ok 4 /bytes/new-with-free-func 878s ok 5 /bytes/new-from-bytes 878s ok 6 /bytes/new-from-bytes-slice 878s ok 7 /bytes/new-from-bytes-shared-ref 878s ok 8 /bytes/hash 878s ok 9 /bytes/equal 878s ok 10 /bytes/compare 878s ok 11 /bytes/null 878s ok 12 /bytes/get-region 878s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 878s ok 13 /bytes/unref-null 878s # Start of to-data tests 878s ok 14 /bytes/to-data/transferred 878s ok 15 /bytes/to-data/two-refs 878s ok 16 /bytes/to-data/non-malloc 878s ok 17 /bytes/to-data/different-free-func 878s # End of to-data tests 878s # Start of to-array tests 878s ok 18 /bytes/to-array/transferred 878s ok 19 /bytes/to-array/two-refs 878s ok 20 /bytes/to-array/non-malloc 878s # Start of transferred tests 878s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 878s ok 21 /bytes/to-array/transferred/oversize 878s # End of transferred tests 878s # End of to-array tests 878s # End of bytes tests 878s ok - glib/bytes.test 878s # Running test: glib/protocol.test 878s TAP version 13 878s # random seed: R02Se9869dde57ac48e04e48ad99e8f7c178 878s 1..9 878s # Start of glib tests 878s # Start of testing tests 878s # Start of protocol tests 878s ok 1 /glib/testing/protocol/debug 878s ok 2 /glib/testing/protocol/info 878s ok 3 /glib/testing/protocol/message 878s ok 4 /glib/testing/protocol/warning 878s ok 5 /glib/testing/protocol/critical 878s ok 6 /glib/testing/protocol/error 878s ok 7 /glib/testing/protocol/gtest-message 878s ok 8 /glib/testing/protocol/test-message 878s ok 9 /glib/testing/protocol/test-error 878s # End of protocol tests 878s # End of testing tests 878s # End of glib tests 878s ok - glib/protocol.test 878s # Running test: glib/io-stream.test 878s TAP version 13 878s # random seed: R02Sc3516475abd9349d9aa1f30393ab0b9b 878s 1..3 878s # Start of io-stream tests 878s ok 1 /io-stream/copy-chunks 878s # Start of close tests 878s # Start of async tests 878s ok 2 /io-stream/close/async/memory 878s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 878s ok 3 /io-stream/close/async/file 878s # End of async tests 878s # End of close tests 878s # End of io-stream tests 878s ok - glib/io-stream.test 878s # Running test: glib/fdo-notification-backend.test 878s TAP version 13 878s # random seed: R02S3d473e6e873f1a126c93efd13b7dc8d2 878s 1..2 878s # Start of fdo-notification-backend tests 878s # Test constructing a GFdoNotificationBackend 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 878s ok 1 /fdo-notification-backend/construction 878s # Start of dbus tests 878s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 878s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 878s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 878s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 878s ok 2 /fdo-notification-backend/dbus/activate-action 878s # End of dbus tests 878s # End of fdo-notification-backend tests 878s ok - glib/fdo-notification-backend.test 878s # Running test: glib/atomic-c-99.test 878s TAP version 13 878s # random seed: R02Sdd500c7aba958911476f69b4c8cc9f61 878s 1..2 878s # Start of atomic tests 878s ok 1 /atomic/types 878s ok 2 /atomic/threaded 878s # End of atomic tests 878s ok - glib/atomic-c-99.test 878s # Running test: glib/signals.test 878s TAP version 13 878s # random seed: R02Sa4e142cc5167cfbe1aa6082dada695de 878s 1..31 878s # Start of gobject tests 878s # Start of signals tests 878s ok 1 /gobject/signals/all-types 878s ok 2 /gobject/signals/variant 878s ok 3 /gobject/signals/destroy-target-object 878s ok 4 /gobject/signals/generic-marshaller-1 878s ok 5 /gobject/signals/generic-marshaller-2 878s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 878s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 878s ok 8 /gobject/signals/generic-marshaller-int-return 878s ok 9 /gobject/signals/generic-marshaller-uint-return 878s ok 10 /gobject/signals/generic-marshaller-interface-return 878s ok 11 /gobject/signals/custom-marshaller 878s ok 12 /gobject/signals/connect 878s ok 13 /gobject/signals/emission-hook 878s ok 14 /gobject/signals/emitv 878s ok 15 /gobject/signals/accumulator 878s # Signal: accumulator-class-first 878s # Signal: accumulator-class-last 878s # Signal: accumulator-class-cleanup 878s # Signal: accumulator-class-first-last 878s # Signal: accumulator-class-first-last-cleanup 878s # Signal: accumulator-class-last-cleanup 878s ok 16 /gobject/signals/accumulator-class 878s ok 17 /gobject/signals/introspection 878s ok 18 /gobject/signals/block-handler 878s ok 19 /gobject/signals/stop-emission 878s ok 20 /gobject/signals/invocation-hint 878s ok 21 /gobject/signals/test-disconnection-wrong-object 878s ok 22 /gobject/signals/clear-signal-handler 878s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 878s ok 23 /gobject/signals/lookup 878s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 878s ok 24 /gobject/signals/parse-name 878s ok 25 /gobject/signals/is-valid-name 878s ok 26 /gobject/signals/weak-ref-disconnect 878s # Start of lookup tests 878s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 878s ok 27 /gobject/signals/lookup/invalid 878s # End of lookup tests 878s # Start of parse-name tests 878s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 878s # Parser input: 878s # Parser input: 7zip 878s # Parser input: invalid:signal 878s # Parser input: simple-detailed:: 878s # Parser input: simple-detailed: 878s # Parser input: : 878s # Parser input: :: 878s # Parser input: :valid-detail 878s # Parser input: ::valid-detail 878s ok 28 /gobject/signals/parse-name/invalid 878s # End of parse-name tests 878s # Start of invalid-name tests 878s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 878s ok 29 /gobject/signals/invalid-name/colon 878s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 878s ok 30 /gobject/signals/invalid-name/first-char 878s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 878s ok 31 /gobject/signals/invalid-name/empty 878s # End of invalid-name tests 878s # End of signals tests 878s # End of gobject tests 878s ok - glib/signals.test 878s # Running test: glib/gio-tool.py.test 878s TAP version 13 878s ok 1 __main__.TestGioTool.test_help 878s # tmpdir: /tmp/tmpmcc_jae9 878s # gio: /usr/bin/gio 878s # Running: ['/usr/bin/gio', '--help'] 878s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 878s # Output: Usage: 878s # gio COMMAND [ARGS…] 878s # 878s # Commands: 878s # help Print help 878s # version Print version 878s # cat Concatenate files to standard output 878s # copy Copy one or more files 878s # info Show information about locations 878s # launch Launch an application from a desktop file 878s # list List the contents of locations 878s # mime Get or set the handler for a mimetype 878s # mkdir Create directories 878s # monitor Monitor files and directories for changes 878s # mount Mount or unmount the locations 878s # move Move one or more files 878s # open Open files with the default application 878s # rename Rename a file 878s # remove Delete one or more files 878s # save Read from standard input and save 878s # set Set a file attribute 878s # trash Move files or directories to the trash 878s # tree Lists the contents of locations in a tree 878s # 878s # Use “gio help COMMAND†to get detailed help. 878s # Running: ['/usr/bin/gio', 'help'] 878s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 878s # Output: Usage: 878s # gio COMMAND [ARGS…] 878s # 878s # Commands: 878s # help Print help 878s # version Print version 878s # cat Concatenate files to standard output 878s # copy Copy one or more files 878s # info Show information about locations 878s # launch Launch an application from a desktop file 878s # list List the contents of locations 878s # mime Get or set the handler for a mimetype 878s # mkdir Create directories 878s # monitor Monitor files and directories for changes 878s # mount Mount or unmount the locations 878s # move Move one or more files 878s # open Open files with the default application 878s # rename Rename a file 878s # remove Delete one or more files 878s # save Read from standard input and save 878s # set Set a file attribute 878s # trash Move files or directories to the trash 878s # tree Lists the contents of locations in a tree 878s # 878s # Use “gio help COMMAND†to get detailed help. 878s ok 2 __main__.TestGioTool.test_info_non_default_attributes 878s # tmpdir: /tmp/tmpqxucxld4 878s # gio: /usr/bin/gio 878s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpqxucxld4/tmpdmtcstp4'] 878s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 878s # Output: uri: file:///tmp/tmpqxucxld4/tmpdmtcstp4 878s # local path: /tmp/tmpqxucxld4/tmpdmtcstp4 878s # unix mount: /dev/sda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 878s # attributes: 878s # standard::content-type: application/x-zerosize 878s ok 3 __main__.TestGioTool.test_no_args 878s # tmpdir: /tmp/tmp9u0zn8oh 878s # gio: /usr/bin/gio 878s # Running: ['/usr/bin/gio'] 878s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 878s 1..3 878s ok - glib/gio-tool.py.test 878s # Running test: glib/refcount-macro.test 878s TAP version 13 878s # random seed: R02Se23a0a188cd38ee9f5a4e1a810dadd4b 878s 1..4 878s # Start of refcount tests 878s ok 1 /refcount/grefcount 878s ok 2 /refcount/gatomicrefcount 878s # Start of grefcount tests 878s ok 3 /refcount/grefcount/saturation 878s # End of grefcount tests 878s # Start of gatomicrefcount tests 878s ok 4 /refcount/gatomicrefcount/saturation 878s # End of gatomicrefcount tests 878s # End of refcount tests 878s ok - glib/refcount-macro.test 878s # Running test: glib/win32-appinfo.test 878s TAP version 13 878s # random seed: R02S427242687bfba018ef8dc7e0271837f4 878s 1..5 878s # Start of appinfo tests 878s ok 1 /appinfo/utf16-strfuncs 878s ok 2 /appinfo/win32-extract-executable 878s ok 3 /appinfo/win32-rundll32-fixup 878s ok 4 /appinfo/win32-parse-filename 878s ok 5 /appinfo/win32-utf16-conversion-fail 878s # Start of subprocess tests 878s # End of subprocess tests 878s # End of appinfo tests 878s ok - glib/win32-appinfo.test 878s # Running test: glib/unix.test 878s TAP version 13 878s # random seed: R02S695d984d477cfbd01cd782b41fc9b376 878s 1..17 878s # Start of glib-unix tests 878s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 878s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 878s ok 1 /glib-unix/closefrom 878s ok 2 /glib-unix/pipe 878s # /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 878s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 878s ok 3 /glib-unix/pipe-stdio-overwrite 878s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 878s ok 4 /glib-unix/pipe-struct 878s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 878s ok 5 /glib-unix/pipe-struct-auto 878s ok 6 /glib-unix/error 878s ok 7 /glib-unix/nonblocking 879s ok 8 /glib-unix/sighup 879s # slow test /glib-unix/sighup executed in 0.50 secs 879s # Executing: glib/unix.test 879s ok 9 /glib-unix/sigterm 879s # slow test /glib-unix/sigterm executed in 0.50 secs 880s ok 10 /glib-unix/sighup_again 880s # slow test /glib-unix/sighup_again executed in 0.50 secs 880s ok 11 /glib-unix/sighup_add_remove 880s ok 12 /glib-unix/sighup_nested 882s ok 13 /glib-unix/callback_after_signal 882s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 882s ok 14 /glib-unix/child-wait 882s # Start of closefrom tests 882s # Start of subprocess tests 882s # End of subprocess tests 882s # End of closefrom tests 882s # Start of pipe tests 882s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 882s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 882s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 882s ok 15 /glib-unix/pipe/fd-cloexec 882s # End of pipe tests 882s # Start of get-passwd-entry tests 882s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 882s ok 16 /glib-unix/get-passwd-entry/root 882s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 882s ok 17 /glib-unix/get-passwd-entry/nonexistent 882s # End of get-passwd-entry tests 882s # End of glib-unix tests 882s ok - glib/unix.test 882s # Running test: glib/keyfile.test 882s TAP version 13 882s # random seed: R02Sdcd4f0e1a001f4d8386496b8c352a486 882s 1..36 882s # Start of keyfile tests 882s ok 1 /keyfile/line-ends 882s ok 2 /keyfile/whitespace 882s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 882s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 882s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 882s ok 3 /keyfile/comments 882s ok 4 /keyfile/listing 882s ok 5 /keyfile/string 882s ok 6 /keyfile/boolean 882s ok 7 /keyfile/number 882s ok 8 /keyfile/locale-string 882s ok 9 /keyfile/lists 882s ok 10 /keyfile/lists-set-get 882s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 882s ok 11 /keyfile/group-remove 882s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 882s ok 12 /keyfile/key-remove 882s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 882s ok 13 /keyfile/groups 882s ok 14 /keyfile/duplicate-keys 882s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 882s ok 15 /keyfile/duplicate-groups 882s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 882s ok 16 /keyfile/duplicate-groups2 882s ok 17 /keyfile/group-names 882s ok 18 /keyfile/key-names 882s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 882s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 882s ok 19 /keyfile/reload 882s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 882s ok 20 /keyfile/int64 882s ok 21 /keyfile/load 882s ok 22 /keyfile/save 882s ok 23 /keyfile/load-fail 882s ok 24 /keyfile/non-utf8 882s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 882s ok 25 /keyfile/page-boundary 882s ok 26 /keyfile/ref 882s ok 27 /keyfile/replace-value 882s ok 28 /keyfile/list-separator 882s ok 29 /keyfile/empty-string 882s ok 30 /keyfile/limbo 882s # Testing invalid encoding ?non-UTF-8? 882s # Testing invalid encoding ?UTF? 882s # Testing invalid encoding ?UTF-9? 882s ok 31 /keyfile/utf8 882s ok 32 /keyfile/roundtrip 882s ok 33 /keyfile/bytes 882s ok 34 /keyfile/get-locale 882s ok 35 /keyfile/free-when-not-last-ref 882s # Start of locale-string tests 882s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 882s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 882s ok 36 /keyfile/locale-string/multiple-loads 882s # End of locale-string tests 882s # End of keyfile tests 882s ok - glib/keyfile.test 882s # Running test: glib/portal-support-flatpak-full.test 882s TAP version 13 882s # random seed: R02S385f04694d809bf89ffd5141bb49e10a 882s 1..1 882s # Start of portal-support tests 882s # Start of flatpak tests 882s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_J9Y2K2/portal-support/flatpak/full/.dirs/home 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_J9Y2K2/portal-support/flatpak/full/.dirs/cache 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_J9Y2K2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_J9Y2K2/portal-support/flatpak/full/.dirs/system-config2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_J9Y2K2/portal-support/flatpak/full/.dirs/config 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_J9Y2K2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_J9Y2K2/portal-support/flatpak/full/.dirs/system-data2 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_J9Y2K2/portal-support/flatpak/full/.dirs/data 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_J9Y2K2/portal-support/flatpak/full/.dirs/state 882s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_J9Y2K2/portal-support/flatpak/full/.dirs/runtime 882s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_J9Y2K2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 882s ok 1 /portal-support/flatpak/full 882s # End of flatpak tests 882s # End of portal-support tests 882s ok - glib/portal-support-flatpak-full.test 882s # Running test: glib/module-test-library.test 882s TAP version 13 882s # random seed: R02S4199981c318fef622edb525c26066596 882s 1..2 882s # Start of module tests 882s ok 1 /module/basics 882s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 882s ok 2 /module/invalid-libtool-archive 882s # End of module tests 882s ok - glib/module-test-library.test 882s # Running test: glib/refcount.test 882s TAP version 13 882s # random seed: R02S4cec3945f2526b4cd7df3e039a5aa504 882s 1..4 882s # Start of refcount tests 882s ok 1 /refcount/grefcount 882s ok 2 /refcount/gatomicrefcount 882s # Start of grefcount tests 882s ok 3 /refcount/grefcount/saturation 882s # End of grefcount tests 882s # Start of gatomicrefcount tests 882s ok 4 /refcount/gatomicrefcount/saturation 882s # End of gatomicrefcount tests 882s # End of refcount tests 882s ok - glib/refcount.test 882s # Running test: glib/unicode-normalize.test 882s TAP version 13 882s # random seed: R02Sdb7f5a68ea8131d8af9fd55edb63f8e1 882s 1..3 882s # Start of unicode tests 882s # Processing Part0 # Specific cases 882s # Processing Part1 # Character by character test 882s # Processing Part2 # Canonical Order Test 882s # Processing Part3 # PRI #29 Test 882s ok 1 /unicode/normalize 882s # Invalid UTF-8 vector 0 882s # Invalid UTF-8 vector 1 882s # Invalid UTF-8 vector 2 882s # Invalid UTF-8 vector 3 882s # Invalid UTF-8 vector 4 882s # Invalid UTF-8 vector 5 882s # Invalid UTF-8 vector 6 882s # Invalid UTF-8 vector 7 882s # Invalid UTF-8 vector 8 882s # Invalid UTF-8 vector 9 882s # Invalid UTF-8 vector 10 882s # Invalid UTF-8 vector 11 882s # Invalid UTF-8 vector 12 882s ok 2 /unicode/normalize-invalid 882s # Start of normalize tests 882s ok 3 /unicode/normalize/bad-length 882s # End of normalize tests 882s # End of unicode tests 882s ok - glib/unicode-normalize.test 882s # Running test: glib/param.test 882s TAP version 13 882s # random seed: R02Sa6d2965f0dec64f31925bfce684a3ac2 882s 1..32 882s # Start of param tests 882s ok 1 /param/value 882s ok 2 /param/strings 882s ok 3 /param/qdata 882s ok 4 /param/validate 882s ok 5 /param/convert 882s ok 6 /param/implement # SKIP Skipping slow /param/implement test 882s ok 7 /param/default 882s ok 8 /param/is-valid-name 882s # Start of invalid-name tests 882s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 882s ok 9 /param/invalid-name/colon 882s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 882s ok 10 /param/invalid-name/first-char 882s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 882s ok 11 /param/invalid-name/empty 882s # End of invalid-name tests 882s # Start of implement tests 882s # Start of subprocess tests 882s # End of subprocess tests 882s # End of implement tests 882s # End of param tests 882s # Start of value tests 882s ok 12 /value/transform 882s # End of value tests 882s # Start of paramspec tests 882s ok 13 /paramspec/char 882s ok 14 /paramspec/uchar 882s ok 15 /paramspec/int 882s ok 16 /paramspec/uint 882s ok 17 /paramspec/long 882s ok 18 /paramspec/ulong 882s ok 19 /paramspec/int64 882s ok 20 /paramspec/uint64 882s ok 21 /paramspec/float 882s ok 22 /paramspec/double 882s ok 23 /paramspec/unichar 882s ok 24 /paramspec/param 882s ok 25 /paramspec/null-param 882s ok 26 /paramspec/string 882s ok 27 /paramspec/override 882s ok 28 /paramspec/gtype 882s ok 29 /paramspec/variant 882s ok 30 /paramspec/custom 882s ok 31 /paramspec/pool 882s # Start of variant tests 882s ok 32 /paramspec/variant/cmp 882s # End of variant tests 882s # End of paramspec tests 882s ok - glib/param.test 882s # Running test: glib/contenttype.test 882s TAP version 13 882s # random seed: R02S0d84775a52b1f1ac5ba903abaceb5e35 882s 1..13 882s # Start of contenttype tests 882s ok 1 /contenttype/guess 882s ok 2 /contenttype/guess_svg_from_data 882s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 882s ok 4 /contenttype/unknown 882s ok 5 /contenttype/subtype 882s ok 6 /contenttype/list 882s ok 7 /contenttype/executable 882s ok 8 /contenttype/description 882s ok 9 /contenttype/icon 882s ok 10 /contenttype/symbolic-icon 882s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 882s ok 11 /contenttype/tree 882s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 882s ok 12 /contenttype/tree_invalid_encoding 882s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 882s ok 13 /contenttype/test_type_is_a_special_case 882s # End of contenttype tests 882s ok - glib/contenttype.test 882s # Running test: glib/option-context.test 882s TAP version 13 882s # random seed: R02S4710eff9da7364b2f4fe1ce3a1f56bd4 882s 1..57 882s # Start of option tests 882s ok 1 /option/basic 882s ok 2 /option/translate 882s ok 3 /option/strict-posix 882s # Start of help tests 882s ok 4 /option/help/options 882s ok 5 /option/help/no-options 882s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 882s ok 6 /option/help/no-help-options 882s # End of help tests 882s # Start of group tests 882s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 882s ok 7 /option/group/captions 882s ok 8 /option/group/main 882s ok 9 /option/group/error-hook 882s ok 10 /option/group/parse 882s # Start of captions tests 882s # Start of subprocess tests 882s # End of subprocess tests 882s # End of captions tests 882s # End of group tests 882s # Start of restoration tests 882s ok 11 /option/restoration/int 882s ok 12 /option/restoration/string 882s ok 13 /option/restoration/boolean 882s # End of restoration tests 882s # Start of arg tests 882s ok 14 /option/arg/reverse-string 882s ok 15 /option/arg/optional-int 882s # Start of repetition tests 882s ok 16 /option/arg/repetition/int 882s ok 17 /option/arg/repetition/string 882s ok 18 /option/arg/repetition/filename 882s ok 19 /option/arg/repetition/double 882s ok 20 /option/arg/repetition/locale 882s ok 21 /option/arg/repetition/int64 882s # End of repetition tests 882s # Start of array tests 882s ok 22 /option/arg/array/string 882s # End of array tests 882s # Start of callback tests 882s ok 23 /option/arg/callback/string 882s ok 24 /option/arg/callback/count 882s ok 25 /option/arg/callback/optional1 882s ok 26 /option/arg/callback/optional2 882s ok 27 /option/arg/callback/optional3 882s ok 28 /option/arg/callback/optional4 882s ok 29 /option/arg/callback/optional5 882s ok 30 /option/arg/callback/optional6 882s ok 31 /option/arg/callback/optional7 882s ok 32 /option/arg/callback/optional8 882s # End of callback tests 882s # Start of remaining tests 882s ok 33 /option/arg/remaining/callback 882s ok 34 /option/arg/remaining/callback-false 882s ok 35 /option/arg/remaining/non-option 882s ok 36 /option/arg/remaining/separator 882s ok 37 /option/arg/remaining/array 882s # End of remaining tests 882s # Start of ignore tests 882s ok 38 /option/arg/ignore/long 882s ok 39 /option/arg/ignore/short 882s ok 40 /option/arg/ignore/arg 882s # End of ignore tests 882s # Start of rest tests 882s ok 41 /option/arg/rest/non-option 882s ok 42 /option/arg/rest/separator1 882s ok 43 /option/arg/rest/separator2 882s ok 44 /option/arg/rest/separator3 882s ok 45 /option/arg/rest/separator4 882s ok 46 /option/arg/rest/separator5 882s # End of rest tests 882s # End of arg tests 882s # Start of context tests 882s ok 47 /option/context/add 882s ok 48 /option/context/empty2 882s ok 49 /option/context/empty3 882s # End of context tests 882s # Start of bug tests 882s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 882s ok 50 /option/bug/unknown-short 882s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 882s ok 51 /option/bug/lonely-dash 882s ok 52 /option/bug/triple-dash 882s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 882s ok 53 /option/bug/missing-arg 882s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 882s ok 54 /option/bug/dash-arg 882s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 882s ok 55 /option/bug/short-remaining 882s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 882s ok 56 /option/bug/double-free 882s ok 57 /option/bug/double-zero 882s # End of bug tests 882s # End of option tests 882s ok - glib/option-context.test 882s # Running test: glib/g-file-info.test 882s TAP version 13 882s # random seed: R02Sb5c4b1e66b40f1d05591349f03f67b7c 882s 1..6 882s # Start of g-file-info tests 882s ok 1 /g-file-info/test_g_file_info 882s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 882s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 882s ok 2 /g-file-info/xattrs 882s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 882s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 882s ok 3 /g-file-info/set-modified-date-time-precision 882s # Start of test_g_file_info tests 882s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 882s ok 4 /g-file-info/test_g_file_info/modification-time 882s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 882s ok 5 /g-file-info/test_g_file_info/access-time 882s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 882s ok 6 /g-file-info/test_g_file_info/creation-time 882s # End of test_g_file_info tests 882s # End of g-file-info tests 882s ok - glib/g-file-info.test 882s # Running test: glib/atomic-c-11.test 882s TAP version 13 882s # random seed: R02S02c082719b8cd758dd20fb61af88a2a0 882s 1..2 882s # Start of atomic tests 882s ok 1 /atomic/types 882s ok 2 /atomic/threaded 882s # End of atomic tests 882s ok - glib/atomic-c-11.test 882s # Running test: glib/io-channel.test 882s TAP version 13 882s # random seed: R02S7d02c57280811b298944f84eab714aab 882s 1..2 882s # Start of io-channel tests 882s # Line one 882s # 882s # Line two 882s # 882s # Line three 882s # 882s # /* Hello */ 882s # 882s # \x1234\x567890\x6666 882s # 882s # read 62 bytes, wrote 62 bytes 882s ok 1 /io-channel/read-write 882s # Start of read-line tests 882s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 882s ok 2 /io-channel/read-line/embedded-nuls 882s # End of read-line tests 882s # End of io-channel tests 882s ok - glib/io-channel.test 882s # Running test: glib/properties.test 882s TAP version 13 882s # random seed: R02S29744fdf7245ffda0fa62960a76503aa 882s 1..13 882s # Start of properties tests 882s ok 1 /properties/install 882s ok 2 /properties/install-many 882s ok 3 /properties/notify 882s ok 4 /properties/notify-queue 882s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 882s ok 5 /properties/construct 882s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 882s # Test g_object_get_property with an initialized value 882s # Test g_object_get_property with an uninitialized value 882s # Test g_object_get_property with a transformable value 882s ok 6 /properties/get-property 882s ok 7 /properties/testv_with_no_properties 882s ok 8 /properties/testv_with_valid_properties 882s ok 9 /properties/testv_with_invalid_property_type 882s ok 10 /properties/testv_with_invalid_property_names 882s ok 11 /properties/testv_getv 882s ok 12 /properties/testv_notify_queue 882s # Start of set-property tests 882s # Start of variant tests 882s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 882s ok 13 /properties/set-property/variant/floating 882s # End of variant tests 882s # End of set-property tests 882s # End of properties tests 882s ok - glib/properties.test 882s # Running test: glib/thread.test 882s TAP version 13 882s # random seed: R02S5753a679099d1bacfefec11227316c49 882s 1..7 882s # Start of thread tests 882s ok 1 /thread/thread1 882s ok 2 /thread/thread2 882s ok 3 /thread/thread3 882s ok 4 /thread/thread4 882s ok 5 /thread/thread5 882s ok 6 /thread/thread6 882s ok 7 /thread/thread7 882s # End of thread tests 882s ok - glib/thread.test 882s # Running test: glib/properties-refcount3.test 882s TAP version 13 882s # random seed: R02S0fda4c6105f3a4df1847fcf6b18c690f 882s 1..1 882s # Start of gobject tests 882s # Start of refcount tests 884s # Executing: glib/properties-refcount3.test 889s # Executing: glib/properties-refcount3.test 894s # Executing: glib/properties-refcount3.test 899s # Executing: glib/properties-refcount3.test 904s # Executing: glib/properties-refcount3.test 909s # Executing: glib/properties-refcount3.test 912s # 912s # stopping 912s # 912s # stopped 912s # 912s # 19852290 1457046 912s # 912s ok 1 /gobject/refcount/properties-3 912s # slow test /gobject/refcount/properties-3 executed in 30.01 secs 912s # End of refcount tests 912s # End of gobject tests 912s ok - glib/properties-refcount3.test 912s # Running test: glib/utf8-performance.test 912s TAP version 13 912s # random seed: R02S45db9bbed6b3c368dc54303a6f25456f 912s 1..36 912s # Start of utf8 tests 912s # Start of perf tests 912s # Start of get_char tests 912s # max perf: 43.0 MB/s 912s ok 1 /utf8/perf/get_char/ascii 912s # max perf: inf MB/s 912s ok 2 /utf8/perf/get_char/latin1 912s # max perf: inf MB/s 912s ok 3 /utf8/perf/get_char/cyrillic 912s # max perf: inf MB/s 912s ok 4 /utf8/perf/get_char/han 912s # End of get_char tests 912s # Start of get_char-backwards tests 912s # max perf: 43.0 MB/s 912s ok 5 /utf8/perf/get_char-backwards/ascii 912s # max perf: 67.0 MB/s 912s ok 6 /utf8/perf/get_char-backwards/latin1 912s # max perf: 160.0 MB/s 912s ok 7 /utf8/perf/get_char-backwards/cyrillic 912s # max perf: 156.0 MB/s 912s ok 8 /utf8/perf/get_char-backwards/han 912s # End of get_char-backwards tests 912s # Start of get_char_validated tests 912s # max perf: inf MB/s 912s ok 9 /utf8/perf/get_char_validated/ascii 912s # max perf: inf MB/s 912s ok 10 /utf8/perf/get_char_validated/latin1 912s # max perf: 160.0 MB/s 912s ok 11 /utf8/perf/get_char_validated/cyrillic 912s # max perf: inf MB/s 912s ok 12 /utf8/perf/get_char_validated/han 912s # End of get_char_validated tests 912s # Start of utf8_to_ucs4 tests 912s # max perf: 43.0 MB/s 912s ok 13 /utf8/perf/utf8_to_ucs4/ascii 912s # max perf: 67.0 MB/s 912s ok 14 /utf8/perf/utf8_to_ucs4/latin1 912s # max perf: 80.0 MB/s 913s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 913s # max perf: 156.0 MB/s 913s ok 16 /utf8/perf/utf8_to_ucs4/han 913s # End of utf8_to_ucs4 tests 913s # Start of utf8_to_ucs4-sized tests 913s # max perf: 43.0 MB/s 913s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 913s # max perf: inf MB/s 913s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 913s # max perf: 160.0 MB/s 913s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 913s # max perf: inf MB/s 913s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 913s # End of utf8_to_ucs4-sized tests 913s # Start of utf8_to_ucs4_fast tests 913s # max perf: 43.0 MB/s 913s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 913s # max perf: 67.0 MB/s 913s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 913s # max perf: inf MB/s 913s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 913s # max perf: inf MB/s 913s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 913s # End of utf8_to_ucs4_fast tests 913s # Start of utf8_to_ucs4_fast-sized tests 913s # max perf: 43.0 MB/s 913s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 913s # max perf: inf MB/s 913s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 913s # max perf: inf MB/s 913s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 913s # max perf: 156.0 MB/s 913s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 913s # End of utf8_to_ucs4_fast-sized tests 913s # Start of utf8_validate tests 913s # max perf: inf MB/s 913s ok 29 /utf8/perf/utf8_validate/ascii 913s # max perf: inf MB/s 913s ok 30 /utf8/perf/utf8_validate/latin1 913s # max perf: 160.0 MB/s 913s ok 31 /utf8/perf/utf8_validate/cyrillic 913s # max perf: inf MB/s 913s ok 32 /utf8/perf/utf8_validate/han 913s # End of utf8_validate tests 913s # Start of utf8_validate-sized tests 913s # max perf: inf MB/s 913s ok 33 /utf8/perf/utf8_validate-sized/ascii 913s # max perf: 67.0 MB/s 913s ok 34 /utf8/perf/utf8_validate-sized/latin1 913s # max perf: inf MB/s 913s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 913s # max perf: 156.0 MB/s 913s ok 36 /utf8/perf/utf8_validate-sized/han 913s # End of utf8_validate-sized tests 913s # End of perf tests 913s # End of utf8 tests 913s ok - glib/utf8-performance.test 913s # Running test: glib/utils.test 913s TAP version 13 913s # random seed: R02Sa007d6504f01105dc0f32b4fb2a31fe6 913s 1..40 913s # Start of utils tests 913s ok 1 /utils/language-names 913s ok 2 /utils/locale-variants 913s ok 3 /utils/version 913s ok 4 /utils/appname 913s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 913s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 913s ok 5 /utils/prgname-thread-safety 913s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 913s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 913s ok 6 /utils/tmpdir 913s ok 7 /utils/basic_bits 913s ok 8 /utils/bits 913s ok 9 /utils/swap 913s ok 10 /utils/find-program 913s ok 11 /utils/find-program-for-path 913s ok 12 /utils/debug 913s ok 13 /utils/codeset 913s ok 14 /utils/codeset2 913s ok 15 /utils/console-charset 913s ok 16 /utils/gettext 913s ok 17 /utils/username 913s ok 18 /utils/realname 913s ok 19 /utils/hostname 913s ok 20 /utils/xdgdirs 913s ok 21 /utils/specialdir 913s # NAME: Ubuntu 913s ok 22 /utils/os-info 913s ok 23 /utils/clear-pointer 913s ok 24 /utils/clear-pointer-cast 913s ok 25 /utils/take-pointer 913s ok 26 /utils/clear-source 913s ok 27 /utils/misc-mem 913s # /utils/aligned-mem summary: Aligned memory allocator 913s # Alignment must not be zero 913s # Alignment must be a power of two 913s # Alignment must be a multiple of sizeof(void*) 913s ok 28 /utils/aligned-mem 913s # /utils/free-sized summary: Check that g_free_sized() works 913s ok 29 /utils/free-sized 913s ok 30 /utils/nullify 913s ok 31 /utils/atexit 913s ok 32 /utils/check-setuid 913s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 913s ok 33 /utils/int-limits 913s ok 34 /utils/clear-list 913s ok 35 /utils/clear-slist 913s # Start of specialdir tests 913s ok 36 /utils/specialdir/desktop 913s # End of specialdir tests 913s # Start of clear-pointer tests 913s ok 37 /utils/clear-pointer/side-effects 913s # End of clear-pointer tests 913s # Start of aligned-mem tests 913s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 913s ok 38 /utils/aligned-mem/alignment 913s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 913s ok 39 /utils/aligned-mem/zeroed 913s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 913s ok 40 /utils/aligned-mem/free-sized 913s # Start of subprocess tests 913s # End of subprocess tests 913s # End of aligned-mem tests 913s # End of utils tests 913s ok - glib/utils.test 913s # Running test: glib/bitlock.test 913s TAP version 13 913s # random seed: R02Sf66dda8bc2e37408925f88a341b4c425 913s 1..1 913s # Start of bitlock tests 913s # Start of performance tests 913s # max perf: iterations per second 913s ok 1 /bitlock/performance/uncontended 913s # End of performance tests 913s # End of bitlock tests 913s ok - glib/bitlock.test 913s # Running test: glib/bookmarkfile.test 913s TAP version 13 913s # random seed: R02S876d43a42c9556038276cc5da0ec41d5 913s 1..96 913s # Start of bookmarks tests 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/load-from-data-dirs/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/load-from-data-dirs/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/load-from-data-dirs/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/load-from-data-dirs/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/load-from-data-dirs/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/load-from-data-dirs/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/load-from-data-dirs/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/load-from-data-dirs/.dirs/runtime 913s ok 1 /bookmarks/load-from-data-dirs 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/to-file/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/to-file/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/to-file/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/to-file/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/to-file/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/to-file/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/to-file/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/to-file/.dirs/runtime 913s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_O3WXK2/bookmarkfile-test-BQWXK2.xbel 913s # Roundtrip from a valid bookmark file 913s ok 2 /bookmarks/to-file 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/move-item/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/move-item/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/move-item/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/move-item/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/move-item/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/move-item/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/move-item/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/move-item/.dirs/runtime 913s ok 3 /bookmarks/move-item 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/corner-cases/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/corner-cases/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/corner-cases/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/corner-cases/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/corner-cases/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/corner-cases/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/corner-cases/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/corner-cases/.dirs/runtime 913s ok 4 /bookmarks/corner-cases 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/misc/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/misc/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/misc/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/misc/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/misc/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/misc/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/misc/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/misc/.dirs/runtime 913s ok 5 /bookmarks/misc 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/deprecated/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/deprecated/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/deprecated/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/deprecated/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/deprecated/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/deprecated/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/deprecated/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/deprecated/.dirs/runtime 913s ok 6 /bookmarks/deprecated 913s # Start of parse tests 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-27.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-27.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-27.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-27.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-27.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-27.xbel/.dirs/runtime 913s ok 7 /bookmarks/parse/fail-27.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-33.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-33.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-33.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-33.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-33.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-33.xbel/.dirs/runtime 913s ok 8 /bookmarks/parse/fail-33.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-06.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-06.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-06.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-06.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-06.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-06.xbel/.dirs/runtime 913s ok 9 /bookmarks/parse/fail-06.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-38.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-38.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-38.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-38.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-38.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-38.xbel/.dirs/runtime 913s ok 10 /bookmarks/parse/fail-38.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-04.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-04.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-04.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-04.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-04.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-04.xbel/.dirs/runtime 913s ok 11 /bookmarks/parse/fail-04.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-21.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-21.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-21.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-21.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-21.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-21.xbel/.dirs/runtime 913s ok 12 /bookmarks/parse/fail-21.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-02.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-02.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-02.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-02.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-02.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-02.xbel/.dirs/runtime 913s ok 13 /bookmarks/parse/valid-02.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-39.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-39.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-39.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-39.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-39.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-39.xbel/.dirs/runtime 913s ok 14 /bookmarks/parse/fail-39.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-42.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-42.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-42.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-42.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-42.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-42.xbel/.dirs/runtime 913s ok 15 /bookmarks/parse/fail-42.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-02.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-02.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-02.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-02.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-02.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-02.xbel/.dirs/runtime 913s ok 16 /bookmarks/parse/fail-02.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-24.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-24.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-24.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-24.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-24.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-24.xbel/.dirs/runtime 913s ok 17 /bookmarks/parse/fail-24.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-28.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-28.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-28.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-28.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-28.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-28.xbel/.dirs/runtime 913s ok 18 /bookmarks/parse/fail-28.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-08.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-08.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-08.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-08.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-08.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-08.xbel/.dirs/runtime 913s ok 19 /bookmarks/parse/fail-08.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-22.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-22.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-22.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-22.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-22.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-22.xbel/.dirs/runtime 913s ok 20 /bookmarks/parse/fail-22.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-29.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-29.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-29.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-29.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-29.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-29.xbel/.dirs/runtime 913s ok 21 /bookmarks/parse/fail-29.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-13.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-13.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-13.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-13.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-13.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-13.xbel/.dirs/runtime 913s ok 22 /bookmarks/parse/fail-13.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-03.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-03.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-03.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-03.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-03.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-03.xbel/.dirs/runtime 913s ok 23 /bookmarks/parse/fail-03.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-30.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-30.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-30.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-30.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-30.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-30.xbel/.dirs/runtime 913s ok 24 /bookmarks/parse/fail-30.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-05.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-05.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-05.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-05.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-05.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-05.xbel/.dirs/runtime 913s ok 25 /bookmarks/parse/fail-05.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-17.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-17.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-17.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-17.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-17.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-17.xbel/.dirs/runtime 913s ok 26 /bookmarks/parse/fail-17.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-14.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-14.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-14.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-14.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-14.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-14.xbel/.dirs/runtime 913s ok 27 /bookmarks/parse/fail-14.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-15.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-15.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-15.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-15.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-15.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-15.xbel/.dirs/runtime 913s ok 28 /bookmarks/parse/fail-15.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-35.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-35.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-35.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-35.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-35.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-35.xbel/.dirs/runtime 913s ok 29 /bookmarks/parse/fail-35.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-41.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-41.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-41.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-41.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-41.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-41.xbel/.dirs/runtime 913s ok 30 /bookmarks/parse/fail-41.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-36.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-36.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-36.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-36.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-36.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-36.xbel/.dirs/runtime 913s ok 31 /bookmarks/parse/fail-36.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-11.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-11.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-11.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-11.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-11.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-11.xbel/.dirs/runtime 913s ok 32 /bookmarks/parse/fail-11.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-07.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-07.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-07.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-07.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-07.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-07.xbel/.dirs/runtime 913s ok 33 /bookmarks/parse/fail-07.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-25.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-25.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-25.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-25.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-25.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-25.xbel/.dirs/runtime 913s ok 34 /bookmarks/parse/fail-25.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-10.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-10.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-10.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-10.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-10.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-10.xbel/.dirs/runtime 913s ok 35 /bookmarks/parse/fail-10.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-19.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-19.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-19.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-19.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-19.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-19.xbel/.dirs/runtime 913s ok 36 /bookmarks/parse/fail-19.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-34.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-34.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-34.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-34.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-34.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-34.xbel/.dirs/runtime 913s ok 37 /bookmarks/parse/fail-34.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-20.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-20.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-20.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-20.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-20.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-20.xbel/.dirs/runtime 913s ok 38 /bookmarks/parse/fail-20.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-09.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-09.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-09.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-09.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-09.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-09.xbel/.dirs/runtime 913s ok 39 /bookmarks/parse/fail-09.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-23.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-23.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-23.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-23.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-23.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-23.xbel/.dirs/runtime 913s ok 40 /bookmarks/parse/fail-23.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-40.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-40.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-40.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-40.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-40.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-40.xbel/.dirs/runtime 913s ok 41 /bookmarks/parse/fail-40.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-01.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-01.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-01.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-01.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-01.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-01.xbel/.dirs/runtime 913s ok 42 /bookmarks/parse/valid-01.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-03.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-03.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-03.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-03.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-03.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/valid-03.xbel/.dirs/runtime 913s ok 43 /bookmarks/parse/valid-03.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-26.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-26.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-26.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-26.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-26.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-26.xbel/.dirs/runtime 913s ok 44 /bookmarks/parse/fail-26.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-01.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-01.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-01.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-01.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-01.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-01.xbel/.dirs/runtime 913s ok 45 /bookmarks/parse/fail-01.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-32.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-32.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-32.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-32.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-32.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-32.xbel/.dirs/runtime 913s ok 46 /bookmarks/parse/fail-32.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-16.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-16.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-16.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-16.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-16.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-16.xbel/.dirs/runtime 913s ok 47 /bookmarks/parse/fail-16.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-31.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-31.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-31.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-31.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-31.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-31.xbel/.dirs/runtime 913s ok 48 /bookmarks/parse/fail-31.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-12.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-12.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-12.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-12.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-12.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-12.xbel/.dirs/runtime 913s ok 49 /bookmarks/parse/fail-12.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-37.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-37.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-37.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-37.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-37.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-37.xbel/.dirs/runtime 913s ok 50 /bookmarks/parse/fail-37.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-18.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-18.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-18.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-18.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-18.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/parse/fail-18.xbel/.dirs/runtime 913s ok 51 /bookmarks/parse/fail-18.xbel 913s # End of parse tests 913s # Start of copy tests 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-27.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-27.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-27.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-27.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-27.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-27.xbel/.dirs/runtime 913s ok 52 /bookmarks/copy/fail-27.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-33.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-33.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-33.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-33.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-33.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-33.xbel/.dirs/runtime 913s ok 53 /bookmarks/copy/fail-33.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-06.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-06.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-06.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-06.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-06.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-06.xbel/.dirs/runtime 913s ok 54 /bookmarks/copy/fail-06.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-38.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-38.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-38.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-38.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-38.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-38.xbel/.dirs/runtime 913s ok 55 /bookmarks/copy/fail-38.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-04.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-04.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-04.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-04.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-04.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-04.xbel/.dirs/runtime 913s ok 56 /bookmarks/copy/fail-04.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-21.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-21.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-21.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-21.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-21.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-21.xbel/.dirs/runtime 913s ok 57 /bookmarks/copy/fail-21.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-02.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-02.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-02.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-02.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-02.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-02.xbel/.dirs/runtime 913s ok 58 /bookmarks/copy/valid-02.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-39.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-39.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-39.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-39.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-39.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-39.xbel/.dirs/runtime 913s ok 59 /bookmarks/copy/fail-39.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-42.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-42.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-42.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-42.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-42.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-42.xbel/.dirs/runtime 913s ok 60 /bookmarks/copy/fail-42.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-02.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-02.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-02.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-02.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-02.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-02.xbel/.dirs/runtime 913s ok 61 /bookmarks/copy/fail-02.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-24.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-24.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-24.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-24.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-24.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-24.xbel/.dirs/runtime 913s ok 62 /bookmarks/copy/fail-24.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-28.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-28.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-28.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-28.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-28.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-28.xbel/.dirs/runtime 913s ok 63 /bookmarks/copy/fail-28.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-08.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-08.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-08.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-08.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-08.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-08.xbel/.dirs/runtime 913s ok 64 /bookmarks/copy/fail-08.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-22.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-22.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-22.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-22.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-22.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-22.xbel/.dirs/runtime 913s ok 65 /bookmarks/copy/fail-22.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-29.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-29.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-29.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-29.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-29.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-29.xbel/.dirs/runtime 913s ok 66 /bookmarks/copy/fail-29.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-13.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-13.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-13.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-13.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-13.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-13.xbel/.dirs/runtime 913s ok 67 /bookmarks/copy/fail-13.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-03.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-03.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-03.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-03.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-03.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-03.xbel/.dirs/runtime 913s ok 68 /bookmarks/copy/fail-03.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-30.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-30.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-30.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-30.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-30.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-30.xbel/.dirs/runtime 913s ok 69 /bookmarks/copy/fail-30.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-05.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-05.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-05.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-05.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-05.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-05.xbel/.dirs/runtime 913s ok 70 /bookmarks/copy/fail-05.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-17.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-17.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-17.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-17.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-17.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-17.xbel/.dirs/runtime 913s ok 71 /bookmarks/copy/fail-17.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-14.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-14.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-14.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-14.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-14.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-14.xbel/.dirs/runtime 913s ok 72 /bookmarks/copy/fail-14.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-15.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-15.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-15.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-15.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-15.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-15.xbel/.dirs/runtime 913s ok 73 /bookmarks/copy/fail-15.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-35.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-35.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-35.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-35.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-35.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-35.xbel/.dirs/runtime 913s ok 74 /bookmarks/copy/fail-35.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-41.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-41.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-41.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-41.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-41.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-41.xbel/.dirs/runtime 913s ok 75 /bookmarks/copy/fail-41.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-36.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-36.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-36.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-36.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-36.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-36.xbel/.dirs/runtime 913s ok 76 /bookmarks/copy/fail-36.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-11.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-11.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-11.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-11.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-11.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-11.xbel/.dirs/runtime 913s ok 77 /bookmarks/copy/fail-11.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-07.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-07.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-07.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-07.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-07.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-07.xbel/.dirs/runtime 913s ok 78 /bookmarks/copy/fail-07.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-25.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-25.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-25.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-25.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-25.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-25.xbel/.dirs/runtime 913s ok 79 /bookmarks/copy/fail-25.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-10.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-10.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-10.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-10.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-10.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-10.xbel/.dirs/runtime 913s ok 80 /bookmarks/copy/fail-10.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-19.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-19.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-19.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-19.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-19.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-19.xbel/.dirs/runtime 913s ok 81 /bookmarks/copy/fail-19.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-34.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-34.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-34.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-34.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-34.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-34.xbel/.dirs/runtime 913s ok 82 /bookmarks/copy/fail-34.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-20.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-20.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-20.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-20.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-20.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-20.xbel/.dirs/runtime 913s ok 83 /bookmarks/copy/fail-20.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-09.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-09.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-09.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-09.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-09.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-09.xbel/.dirs/runtime 913s ok 84 /bookmarks/copy/fail-09.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-23.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-23.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-23.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-23.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-23.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-23.xbel/.dirs/runtime 913s ok 85 /bookmarks/copy/fail-23.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-40.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-40.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-40.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-40.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-40.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-40.xbel/.dirs/runtime 913s ok 86 /bookmarks/copy/fail-40.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-01.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-01.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-01.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-01.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-01.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-01.xbel/.dirs/runtime 913s ok 87 /bookmarks/copy/valid-01.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-03.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-03.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-03.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-03.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-03.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/valid-03.xbel/.dirs/runtime 913s ok 88 /bookmarks/copy/valid-03.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-26.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-26.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-26.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-26.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-26.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-26.xbel/.dirs/runtime 913s ok 89 /bookmarks/copy/fail-26.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-01.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-01.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-01.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-01.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-01.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-01.xbel/.dirs/runtime 913s ok 90 /bookmarks/copy/fail-01.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-32.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-32.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-32.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-32.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-32.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-32.xbel/.dirs/runtime 913s ok 91 /bookmarks/copy/fail-32.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-16.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-16.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-16.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-16.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-16.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-16.xbel/.dirs/runtime 913s ok 92 /bookmarks/copy/fail-16.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-31.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-31.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-31.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-31.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-31.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-31.xbel/.dirs/runtime 913s ok 93 /bookmarks/copy/fail-31.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-12.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-12.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-12.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-12.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-12.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-12.xbel/.dirs/runtime 913s ok 94 /bookmarks/copy/fail-12.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-37.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-37.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-37.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-37.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-37.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-37.xbel/.dirs/runtime 913s ok 95 /bookmarks/copy/fail-37.xbel 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-18.xbel/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-18.xbel/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-18.xbel/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-18.xbel/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-18.xbel/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_O3WXK2/bookmarks/copy/fail-18.xbel/.dirs/runtime 913s ok 96 /bookmarks/copy/fail-18.xbel 913s # End of copy tests 913s # End of bookmarks tests 913s ok - glib/bookmarkfile.test 913s # Running test: glib/scannerapi.test 913s TAP version 13 913s # random seed: R02Se2b0e40f8015255d33889fa117ad0362 913s 1..4 913s # Start of scanner tests 913s ok 1 /scanner/warn 913s ok 2 /scanner/error 913s ok 3 /scanner/symbols 913s ok 4 /scanner/tokens 913s # End of scanner tests 913s ok - glib/scannerapi.test 913s # Running test: glib/guuid.test 913s TAP version 13 913s # random seed: R02S13de2c4f85180d18805cba8fcfd01e47 913s 1..2 913s # Start of uuid tests 913s ok 1 /uuid/string 913s ok 2 /uuid/random 913s # End of uuid tests 913s ok - glib/guuid.test 913s # Running test: glib/642026-ec.test 913s TAP version 13 913s # random seed: R02Sa0520a90dd0dfb4a80148fd81c46bf72 913s 1..1 913s # Start of glib tests 913s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 913s ok 1 /glib/642026 913s # End of glib tests 913s ok - glib/642026-ec.test 913s # Running test: glib/gdbus-message.test 913s TAP version 13 913s # random seed: R02S15582f23f2c0b75ca047bf7afcc96110 913s 1..3 913s # Start of gdbus tests 913s # Start of message tests 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_2I3WK2/gdbus/message/lock/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_2I3WK2/gdbus/message/lock/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_2I3WK2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_2I3WK2/gdbus/message/lock/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_2I3WK2/gdbus/message/lock/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_2I3WK2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_2I3WK2/gdbus/message/lock/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_2I3WK2/gdbus/message/lock/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_2I3WK2/gdbus/message/lock/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_2I3WK2/gdbus/message/lock/.dirs/runtime 913s ok 1 /gdbus/message/lock 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_2I3WK2/gdbus/message/copy/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_2I3WK2/gdbus/message/copy/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_2I3WK2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_2I3WK2/gdbus/message/copy/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_2I3WK2/gdbus/message/copy/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_2I3WK2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_2I3WK2/gdbus/message/copy/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_2I3WK2/gdbus/message/copy/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_2I3WK2/gdbus/message/copy/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_2I3WK2/gdbus/message/copy/.dirs/runtime 913s ok 2 /gdbus/message/copy 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_2I3WK2/gdbus/message/bytes-needed/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_2I3WK2/gdbus/message/bytes-needed/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_2I3WK2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_2I3WK2/gdbus/message/bytes-needed/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_2I3WK2/gdbus/message/bytes-needed/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_2I3WK2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_2I3WK2/gdbus/message/bytes-needed/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_2I3WK2/gdbus/message/bytes-needed/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_2I3WK2/gdbus/message/bytes-needed/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_2I3WK2/gdbus/message/bytes-needed/.dirs/runtime 913s # Vector: 0 913s # Vector: 1 913s # Vector: 2 913s # Vector: 3 913s # Vector: 4 913s # Vector: 5 913s ok 3 /gdbus/message/bytes-needed 913s # End of message tests 913s # End of gdbus tests 913s ok - glib/gdbus-message.test 913s # Running test: glib/portal-support-snap-classic.test 913s TAP version 13 913s # random seed: R02S150d5bcbdd2dba46f8f5b6c6cfdc38d6 913s 1..3 913s # Start of portal-support tests 913s # Start of snap-classic tests 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/no-snapctl/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/no-snapctl/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/no-snapctl/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/no-snapctl/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/no-snapctl/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/no-snapctl/.dirs/runtime 913s ok 1 /portal-support/snap-classic/no-snapctl 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/none/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/none/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/none/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/none/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/none/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/none/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/none/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/none/.dirs/runtime 913s # Created snap.yaml in /tmp/test_portal-support-snap-classic_FSSWK2/meta/snap.yaml 913s # Created snapctl in /tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/none/.dirs/runtime/snapctl 913s ok 2 /portal-support/snap-classic/none 913s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/all/.dirs/home 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/all/.dirs/cache 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/all/.dirs/system-config2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/all/.dirs/config 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/all/.dirs/system-data2 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/all/.dirs/data 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/all/.dirs/state 913s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/all/.dirs/runtime 913s # Created snap.yaml in /tmp/test_portal-support-snap-classic_FSSWK2/meta/snap.yaml 913s # Created snapctl in /tmp/test_portal-support-snap-classic_FSSWK2/portal-support/snap-classic/all/.dirs/runtime/snapctl 913s ok 3 /portal-support/snap-classic/all 913s # End of snap-classic tests 913s # End of portal-support tests 913s ok - glib/portal-support-snap-classic.test 913s # Running test: glib/markup.test 913s TAP version 13 913s # random seed: R02S8a5ea458a870e895bccffaadd6292d98 913s 1..1 913s # Start of markup tests 913s ok 1 /markup/stack 913s # End of markup tests 913s ok - glib/markup.test 913s # Running test: glib/override.test 913s TAP version 13 913s # random seed: R02S0b7ddc200f9369f3105b572a93d3708d 913s 1..1 913s # Start of gobject tests 913s # *** emitting foo on a TestA instance 913s # Expecting: TestA::foo,TestI::foo 913s # Got: TestA::foo,TestI::foo 913s # *** emitting bar on a TestA instance 913s # Expecting: TestA::bar 913s # Got: TestA::bar 913s # *** emitting baz on a TestA instance 913s # Expecting: TestA::baz 913s # Got: TestA::baz 913s # *** emitting foo on a TestB instance 913s # Expecting: TestB::foo,TestA::foo,TestI::foo 913s # Got: TestB::foo,TestA::foo,TestI::foo 913s # *** emitting bar on a TestB instance 913s # Expecting: TestB::bar,TestA::bar 913s # Got: TestB::bar,TestA::bar 913s # *** emitting baz on a TestB instance 913s # Expecting: TestB::baz,TestA::baz 913s # Got: TestB::baz,TestA::baz 913s # *** emitting foo on a TestC instance 913s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 913s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 913s # *** emitting bar on a TestC instance 913s # Expecting: TestC::bar,TestB::bar,TestA::bar 913s # Got: TestC::bar,TestB::bar,TestA::bar 913s # *** emitting baz on a TestC instance 913s # Expecting: TestC::baz,TestB::baz,TestA::baz 913s # Got: TestC::baz,TestB::baz,TestA::baz 913s ok 1 /gobject/override 913s # End of gobject tests 913s ok - glib/override.test 913s # Running test: glib/sequence.test 913s TAP version 13 913s # random seed: R02Sf962badace323e05f954e58ab6286496 913s 1..16 913s # Start of sequence tests 913s ok 1 /sequence/out-of-range-jump 913s ok 2 /sequence/iter-move 913s ok 3 /sequence/insert-sorted-non-pointer 913s ok 4 /sequence/stable-sort 913s ok 5 /sequence/is_empty 913s # Start of random tests 914s ok 6 /sequence/random/seed:825541564 914s # slow test /sequence/random/seed:825541564 executed in 0.72 secs 914s # Executing: glib/sequence.test 914s ok 7 /sequence/random/seed:801678400 914s # slow test /sequence/random/seed:801678400 executed in 0.68 secs 915s ok 8 /sequence/random/seed:1477639090 915s # slow test /sequence/random/seed:1477639090 executed in 0.71 secs 916s ok 9 /sequence/random/seed:3369132895 916s # slow test /sequence/random/seed:3369132895 executed in 0.65 secs 916s ok 10 /sequence/random/seed:1192944867 916s # slow test /sequence/random/seed:1192944867 executed in 0.70 secs 917s ok 11 /sequence/random/seed:770458294 917s # slow test /sequence/random/seed:770458294 executed in 0.72 secs 918s ok 12 /sequence/random/seed:1099575817 918s # slow test /sequence/random/seed:1099575817 executed in 0.69 secs 918s ok 13 /sequence/random/seed:590523467 922s # slow test /sequence/random/seed:590523467 executed in 0.72 secs 922s # Executing: glib/sequence.test 922s ok 14 /sequence/random/seed:3583571454 922s # slow test /sequence/random/seed:3583571454 executed in 0.73 secs 922s ok 15 /sequence/random/seed:579241222 922s # slow test /sequence/random/seed:579241222 executed in 0.72 secs 922s ok 16 /sequence/random/seed:111277932 922s # slow test /sequence/random/seed:111277932 executed in 0.70 secs 922s # End of random tests 922s # End of sequence tests 922s ok - glib/sequence.test 922s # Running test: glib/gdbus-introspection.test 922s TAP version 13 922s # random seed: R02S64c744363aee222881d0502fd4f8cd3e 922s 1..4 922s # Start of gdbus tests 922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-parser/.dirs/home 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-parser/.dirs/cache 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-parser/.dirs/system-config2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-parser/.dirs/config 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-parser/.dirs/system-data2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-parser/.dirs/data 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-parser/.dirs/state 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-parser/.dirs/runtime 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s ok 1 /gdbus/introspection-parser 922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-generate/.dirs/home 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-generate/.dirs/cache 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-generate/.dirs/system-config2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-generate/.dirs/config 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-generate/.dirs/system-data2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-generate/.dirs/data 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-generate/.dirs/state 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-generate/.dirs/runtime 922s ok 2 /gdbus/introspection-generate 922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-default-direction/.dirs/home 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-default-direction/.dirs/cache 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-default-direction/.dirs/system-config2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-default-direction/.dirs/config 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-default-direction/.dirs/system-data2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-default-direction/.dirs/data 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-default-direction/.dirs/state 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-default-direction/.dirs/runtime 922s ok 3 /gdbus/introspection-default-direction 922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-extra-data/.dirs/home 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-extra-data/.dirs/cache 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-extra-data/.dirs/system-config2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-extra-data/.dirs/config 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-extra-data/.dirs/system-data2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-extra-data/.dirs/data 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-extra-data/.dirs/state 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_QLRYK2/gdbus/introspection-extra-data/.dirs/runtime 922s ok 4 /gdbus/introspection-extra-data 922s # End of gdbus tests 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s ok - glib/gdbus-introspection.test 922s # Running test: glib/signalgroup.test 922s TAP version 13 922s # random seed: R02S09a767de8f42bf56397ef1efbf1e7701 922s 1..9 922s # Start of GObject tests 922s # Start of SignalGroup tests 922s ok 1 /GObject/SignalGroup/invalid 922s ok 2 /GObject/SignalGroup/simple 922s ok 3 /GObject/SignalGroup/changing-target 922s ok 4 /GObject/SignalGroup/blocking 922s ok 5 /GObject/SignalGroup/weak-ref-target 922s ok 6 /GObject/SignalGroup/connect-object 922s ok 7 /GObject/SignalGroup/signal-parsing 922s ok 8 /GObject/SignalGroup/properties 922s ok 9 /GObject/SignalGroup/interface 922s # Start of signal-parsing tests 922s # End of signal-parsing tests 922s # End of SignalGroup tests 922s # End of GObject tests 922s ok - glib/signalgroup.test 922s # Running test: glib/thread-pool-slow.test 922s TAP version 13 922s # random seed: R02Sd029081d8d2f958ab09e38165de52e4e 922s 1..7 922s # Start of threadpool tests 922s ok 1 /threadpool/functions 922s ok 2 /threadpool/stop-unused 922s # slow test /threadpool/stop-unused executed in 0.51 secs 922s ok 3 /threadpool/pools 922s # [unsorted] ===> pushed new thread with id:84, number of threads:1, unprocessed:1 922s # [unsorted] ===> pushed new thread with id:24, number of threads:2, unprocessed:2 922s # [unsorted] ===> pushed new thread with id:55, number of threads:3, unprocessed:3 922s # [unsorted] ===> pushed new thread with id:40, number of threads:4, unprocessed:4 922s # [unsorted] ===> pushed new thread with id:14, number of threads:5, unprocessed:5 922s # [unsorted] ===> pushed new thread with id:44, number of threads:6, unprocessed:6 922s # [unsorted] ===> pushed new thread with id:86, number of threads:7, unprocessed:7 922s # [unsorted] ===> pushed new thread with id:80, number of threads:8, unprocessed:8 922s # [unsorted] ===> pushed new thread with id:79, number of threads:9, unprocessed:0 922s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:1 922s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:2 922s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:3 922s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:4 922s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:5 922s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:6 922s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:7 922s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:8 922s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:9 922s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:10 922s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:11 922s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:12 922s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:13 922s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:14 922s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:15 922s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:16 922s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:17 922s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:18 922s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:19 922s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:20 922s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:21 922s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:22 922s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:23 922s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:24 922s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:25 922s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:26 922s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:27 922s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:28 922s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:29 922s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:30 922s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:31 922s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:32 922s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:33 922s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:34 922s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:35 922s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:36 922s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:37 922s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:38 922s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:39 922s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:40 922s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:41 922s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:42 922s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:43 922s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:44 922s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:45 922s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:46 922s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:47 922s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:48 922s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:49 922s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:50 922s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:51 922s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:52 922s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:53 922s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:54 922s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:55 922s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:56 922s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:57 922s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:58 922s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:59 922s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:60 922s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:61 922s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:62 922s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:63 922s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:64 922s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:65 922s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:66 922s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:67 922s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:68 922s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:69 922s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:70 922s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:71 922s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:72 922s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:73 922s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:74 922s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:75 922s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:76 922s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:77 922s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:78 922s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:79 922s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:80 922s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:81 922s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:82 922s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:83 922s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:84 922s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:85 922s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:86 922s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:87 922s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:88 922s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:89 922s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:90 922s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:91 922s ok 4 /threadpool/no-sort 922s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:1 922s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:2 922s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:3 922s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:4 922s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:5 922s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:6 922s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:7 922s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:8 922s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:9 922s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:10 922s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:11 922s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:12 922s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:13 922s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:14 922s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:15 922s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:16 922s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:17 922s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:18 922s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:19 922s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:20 922s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:21 922s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:22 922s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:23 922s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:24 922s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:25 922s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:26 922s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:27 922s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:28 922s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:29 922s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:30 922s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:31 922s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:32 922s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:33 922s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:34 922s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:35 922s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:36 922s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:37 922s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:38 922s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:39 922s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:40 922s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:41 922s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:42 922s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:43 922s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:44 922s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:45 922s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:46 922s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:47 922s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:48 922s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:49 922s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:50 922s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:51 922s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:52 922s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:53 922s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:54 922s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:55 922s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:56 922s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:57 922s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:58 922s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:59 922s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:60 922s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:61 922s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:62 922s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:63 922s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:64 922s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:65 922s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:66 922s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:67 922s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:68 922s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:69 922s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:70 922s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:71 922s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:72 922s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:73 922s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:74 922s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:75 922s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:76 922s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:77 922s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:78 922s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:79 922s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:80 922s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:81 922s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:82 922s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:83 922s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:84 922s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:85 922s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:86 922s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:87 922s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:88 922s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:89 922s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:90 922s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:91 922s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:92 922s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:93 922s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:94 922s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:95 922s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:96 922s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:97 922s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:98 922s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:99 922s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:100 922s # Starting thread pool processing 922s ok 5 /threadpool/sort 922s ok 6 /threadpool/stop-unused-multiple 922s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 922s # Pool idle thread count: 0, unprocessed jobs: 40 922s # Pool idle thread count: 0, unprocessed jobs: 0 922s # Pool idle thread count: 0, unprocessed jobs: 0 923s # Pool idle thread count: 10, unprocessed jobs: 0 923s # Pool idle thread count: 10, unprocessed jobs: 0 923s # Pool idle thread count: 10, unprocessed jobs: 0 923s # Pool idle thread count: 10, unprocessed jobs: 0 924s # Pool idle thread count: 10, unprocessed jobs: 0 924s # Pool idle thread count: 10, unprocessed jobs: 0 924s # Executing: glib/thread-pool-slow.test 924s # Pool idle thread count: 10, unprocessed jobs: 0 924s # Pool idle thread count: 10, unprocessed jobs: 0 925s # Pool idle thread count: 10, unprocessed jobs: 0 925s # Pool idle thread count: 10, unprocessed jobs: 0 925s # Pool idle thread count: 10, unprocessed jobs: 0 925s # Pool idle thread count: 10, unprocessed jobs: 0 926s # Pool idle thread count: 10, unprocessed jobs: 0 926s # Pool idle thread count: 10, unprocessed jobs: 0 926s # Pool idle thread count: 10, unprocessed jobs: 0 926s # Pool idle thread count: 10, unprocessed jobs: 0 927s # Pool idle thread count: 10, unprocessed jobs: 0 927s # Pool idle thread count: 10, unprocessed jobs: 0 927s # Pool idle thread count: 10, unprocessed jobs: 0 927s # Pool idle thread count: 10, unprocessed jobs: 0 928s # Pool idle thread count: 10, unprocessed jobs: 0 928s # Pool idle thread count: 10, unprocessed jobs: 0 928s # Pool idle thread count: 10, unprocessed jobs: 0 928s # Pool idle thread count: 10, unprocessed jobs: 0 929s # Pool idle thread count: 10, unprocessed jobs: 0 929s # Pool idle thread count: 10, unprocessed jobs: 0 929s # Executing: glib/thread-pool-slow.test 929s # Pool idle thread count: 10, unprocessed jobs: 0 929s # Pool idle thread count: 10, unprocessed jobs: 0 930s # Pool idle thread count: 10, unprocessed jobs: 0 930s # Pool idle thread count: 10, unprocessed jobs: 0 930s # Pool idle thread count: 10, unprocessed jobs: 0 930s # Pool idle thread count: 10, unprocessed jobs: 0 931s # Pool idle thread count: 10, unprocessed jobs: 2 931s # Pool idle thread count: 10, unprocessed jobs: 2 931s # Pool idle thread count: 8, unprocessed jobs: 0 931s # Pool idle thread count: 8, unprocessed jobs: 0 931s # Pool idle thread count: 10, unprocessed jobs: 0 931s # Pool idle thread count: 10, unprocessed jobs: 0 932s # Pool idle thread count: 10, unprocessed jobs: 0 932s # Pool idle thread count: 10, unprocessed jobs: 0 932s # Pool idle thread count: 10, unprocessed jobs: 0 932s # Pool idle thread count: 10, unprocessed jobs: 0 933s # Pool idle thread count: 2, unprocessed jobs: 0 933s # Pool idle thread count: 2, unprocessed jobs: 0 933s # Pool idle thread count: 2, unprocessed jobs: 0 933s # Pool idle thread count: 2, unprocessed jobs: 0 934s # Pool idle thread count: 2, unprocessed jobs: 0 934s # Pool idle thread count: 2, unprocessed jobs: 0 934s # Executing: glib/thread-pool-slow.test 934s # Pool idle thread count: 2, unprocessed jobs: 0 934s # Pool idle thread count: 2, unprocessed jobs: 0 935s # Pool idle thread count: 2, unprocessed jobs: 0 935s # Pool idle thread count: 2, unprocessed jobs: 0 935s # Pool idle thread count: 2, unprocessed jobs: 0 935s # Pool idle thread count: 2, unprocessed jobs: 0 936s # Pool idle thread count: 2, unprocessed jobs: 0 936s # Pool idle thread count: 2, unprocessed jobs: 0 936s # Pool idle thread count: 2, unprocessed jobs: 0 936s # Pool idle thread count: 2, unprocessed jobs: 0 937s # Pool idle thread count: 2, unprocessed jobs: 0 937s # Pool idle thread count: 2, unprocessed jobs: 0 937s # Pool idle thread count: 2, unprocessed jobs: 0 937s # Pool idle thread count: 2, unprocessed jobs: 0 938s # Pool idle thread count: 2, unprocessed jobs: 0 938s # Pool idle thread count: 2, unprocessed jobs: 0 938s # Pool idle thread count: 2, unprocessed jobs: 0 938s # Pool idle thread count: 2, unprocessed jobs: 0 939s # Pool idle thread count: 2, unprocessed jobs: 0 939s # Pool idle thread count: 2, unprocessed jobs: 0 939s # Executing: glib/thread-pool-slow.test 939s # Pool idle thread count: 2, unprocessed jobs: 0 939s # Pool idle thread count: 2, unprocessed jobs: 0 940s # Pool idle thread count: 2, unprocessed jobs: 0 940s # Pool idle thread count: 2, unprocessed jobs: 0 940s # Pool idle thread count: 2, unprocessed jobs: 0 940s # Pool idle thread count: 2, unprocessed jobs: 0 941s # Pool idle thread count: 2, unprocessed jobs: 0 941s # Pool idle thread count: 2, unprocessed jobs: 0 941s ok 7 /threadpool/idle-time 941s # slow test /threadpool/idle-time executed in 19.53 secs 941s # End of threadpool tests 941s ok - glib/thread-pool-slow.test 941s # Running test: glib/binding.test 941s TAP version 13 941s # random seed: R02S821e7668f607f66407f4fbf4352e9331 941s 1..19 941s # Start of binding tests 941s ok 1 /binding/default 941s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 941s ok 2 /binding/canonicalisation 941s ok 3 /binding/bidirectional 941s ok 4 /binding/transform 941s ok 5 /binding/transform-default 941s ok 6 /binding/transform-closure 941s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 941s ok 7 /binding/chain 941s ok 8 /binding/sync-create 941s ok 9 /binding/invert-boolean 941s ok 10 /binding/same-object 941s ok 11 /binding/unbind 941s ok 12 /binding/unbind-weak 941s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 941s ok 13 /binding/unbind-multiple 941s ok 14 /binding/fail 941s ok 15 /binding/interface 941s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 941s ok 16 /binding/concurrent-unbind 941s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 941s ok 17 /binding/concurrent-finalizing 941s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 941s ok 18 /binding/dispose-source 941s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 941s ok 19 /binding/dispose-target 941s # End of binding tests 941s ok - glib/binding.test 941s # Running test: glib/notify-init2.test 941s TAP version 13 941s # random seed: R02Sbc1da3b762bda16b05727a58ee6c877e 941s 1..1 941s # Start of properties tests 941s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 941s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 941s ok 1 /properties/notify-in-init2 941s # End of properties tests 941s ok - glib/notify-init2.test 941s # Running test: glib/mappedfile.test 941s TAP version 13 941s # random seed: R02S70289e01e1dc340cd51b7e415f95051f 941s 1..7 941s # Start of mappedfile tests 941s ok 1 /mappedfile/basic 941s ok 2 /mappedfile/empty 941s ok 3 /mappedfile/device 941s ok 4 /mappedfile/nonexisting 941s ok 5 /mappedfile/writable 941s ok 6 /mappedfile/writable_fd 941s ok 7 /mappedfile/gbytes 941s # End of mappedfile tests 941s ok - glib/mappedfile.test 941s # Running test: glib/thread-pool.test 941s TAP version 13 941s # random seed: R02S7e802f6e974577afa96e08ea7e99bd07 941s 1..5 941s # Start of thread_pool tests 941s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 941s ok 1 /thread_pool/shared 941s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 941s ok 2 /thread_pool/exclusive 941s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 941s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 941s ok 3 /thread_pool/create_shared_after_exclusive 941s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 941s ok 4 /thread_pool/create_full 941s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 941s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 941s ok 5 /thread_pool/create_exclusive_after_shared 941s # End of thread_pool tests 941s ok - glib/thread-pool.test 941s # Running test: glib/cache.test 941s TAP version 13 941s # random seed: R02S8a7076f3cfa844b7915ea04153734435 941s 1..1 941s # Start of cache tests 941s ok 1 /cache/basic 941s # End of cache tests 941s ok - glib/cache.test 941s # Running test: glib/async-splice-output-stream.test 941s TAP version 13 941s # random seed: R02S5022f4e08c7af612f5cd08941e23ee9a 941s 1..5 941s # Start of async-splice tests 941s ok 1 /async-splice/copy-chunks 941s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 941s ok 2 /async-splice/copy-chunks-threaded-input 941s ok 3 /async-splice/copy-chunks-threaded-output 941s ok 4 /async-splice/copy-chunks-threaded 941s ok 5 /async-splice/cancelled 941s # End of async-splice tests 941s ok - glib/async-splice-output-stream.test 941s # Running test: glib/gdbus-peer-object-manager.test 941s TAP version 13 941s # random seed: R02S8864cada17471fd94b5a717c93306c9c 941s 1..2 941s # Start of gdbus tests 941s # Start of peer-object-manager tests 941s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_A2KSK2/gdbus/peer-object-manager/normal/.dirs/home 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_A2KSK2/gdbus/peer-object-manager/normal/.dirs/cache 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_A2KSK2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_A2KSK2/gdbus/peer-object-manager/normal/.dirs/system-config2 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_A2KSK2/gdbus/peer-object-manager/normal/.dirs/config 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_A2KSK2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_A2KSK2/gdbus/peer-object-manager/normal/.dirs/system-data2 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_A2KSK2/gdbus/peer-object-manager/normal/.dirs/data 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_A2KSK2/gdbus/peer-object-manager/normal/.dirs/state 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_A2KSK2/gdbus/peer-object-manager/normal/.dirs/runtime 941s ok 1 /gdbus/peer-object-manager/normal 941s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_A2KSK2/gdbus/peer-object-manager/root/.dirs/home 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_A2KSK2/gdbus/peer-object-manager/root/.dirs/cache 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_A2KSK2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_A2KSK2/gdbus/peer-object-manager/root/.dirs/system-config2 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_A2KSK2/gdbus/peer-object-manager/root/.dirs/config 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_A2KSK2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_A2KSK2/gdbus/peer-object-manager/root/.dirs/system-data2 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_A2KSK2/gdbus/peer-object-manager/root/.dirs/data 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_A2KSK2/gdbus/peer-object-manager/root/.dirs/state 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_A2KSK2/gdbus/peer-object-manager/root/.dirs/runtime 941s ok 2 /gdbus/peer-object-manager/root 941s # End of peer-object-manager tests 941s # End of gdbus tests 941s ok - glib/gdbus-peer-object-manager.test 941s # Running test: glib/value.test 941s TAP version 13 941s # random seed: R02S75d373d62177077b6a6a2f051be0cbb8 941s 1..8 941s # Start of value tests 941s ok 1 /value/basic 941s ok 2 /value/collection 941s ok 3 /value/copying 941s ok 4 /value/enum-transformation 941s ok 5 /value/gtype 941s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 941s ok 6 /value/string 941s # Next: GObject object in GValue of GObject to GValue of GObject 941s # Next: GObject object in GValue of GObject to GValue of TestInterface 941s # Next: GObject object in GValue of GObject to GValue of TestObjectA 941s # Next: GObject object in GValue of GObject to GValue of TestObjectB 941s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 941s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 941s # Next: TestObjectA object in GValue of GObject to GValue of GObject 941s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 941s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 941s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 941s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 941s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 941s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 941s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 941s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 941s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 941s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 941s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 941s # Next: TestObjectB object in GValue of GObject to GValue of GObject 941s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 941s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 941s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 941s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 941s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 941s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 941s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 941s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 941s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 941s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 941s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 941s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 941s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 941s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 941s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 941s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 941s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 941s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 941s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 941s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 941s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 941s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 941s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 941s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 941s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 941s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 941s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 941s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 941s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 941s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 941s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 941s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 941s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 941s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 941s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 941s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 941s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 941s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 941s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 941s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 941s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 941s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 941s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 941s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 941s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 941s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 941s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 941s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 941s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 941s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 941s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 941s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 941s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 941s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 941s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 941s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 941s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 941s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 941s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 941s ok 7 /value/transform-object 941s # Start of array tests 941s ok 8 /value/array/basic 941s # End of array tests 941s # End of value tests 941s ok - glib/value.test 941s # Running test: glib/gdbus-proxy-well-known-name.test 941s TAP version 13 941s # random seed: R02Sc854aa94dd47c414a3950768b388487f 941s 1..1 941s # Start of gdbus tests 941s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_H46SK2/gdbus/proxy-well-known-name/.dirs/home 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_H46SK2/gdbus/proxy-well-known-name/.dirs/cache 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_H46SK2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_H46SK2/gdbus/proxy-well-known-name/.dirs/system-config2 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_H46SK2/gdbus/proxy-well-known-name/.dirs/config 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_H46SK2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_H46SK2/gdbus/proxy-well-known-name/.dirs/system-data2 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_H46SK2/gdbus/proxy-well-known-name/.dirs/data 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_H46SK2/gdbus/proxy-well-known-name/.dirs/state 941s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_H46SK2/gdbus/proxy-well-known-name/.dirs/runtime 941s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 941s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 941s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 941s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 941s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 941s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 941s ok 1 /gdbus/proxy-well-known-name 941s # End of gdbus tests 941s ok - glib/gdbus-proxy-well-known-name.test 941s # Running test: glib/hostutils.test 941s TAP version 13 941s # random seed: R02Sdd1bd9c43abc9b4b8fcb0acfb6640d3d 941s 1..3 941s # Start of hostutils tests 941s ok 1 /hostutils/to_ascii 941s ok 2 /hostutils/to_unicode 941s ok 3 /hostutils/is_ip_addr 941s # End of hostutils tests 941s ok - glib/hostutils.test 941s # Running test: glib/spawn-multithreaded.test 941s TAP version 13 941s # random seed: R02S40eebdf8dc37369061a97163f9e56234 941s 1..4 941s # Start of gthread tests 942s # Child 4988 (ttl 1) exited, status 0 943s # Child 4989 (ttl 2) exited, status 0 943s ok 1 /gthread/spawn-childs 943s # slow test /gthread/spawn-childs executed in 2.00 secs 943s # Created pid: 4993 (ttl 1) 943s # Created pid: 4994 (ttl 2) 944s # Executing: glib/spawn-multithreaded.test 944s # Child 4993 (ttl 1) exited, status 0 945s # Child 4994 (ttl 2) exited, status 0 945s ok 2 /gthread/spawn-childs-threads 945s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 945s ok 3 /gthread/spawn-sync 945s ok 4 /gthread/spawn-async 945s # End of gthread tests 945s ok - glib/spawn-multithreaded.test 945s # Running test: glib/async-close-output-stream.test 945s TAP version 13 945s # random seed: R02Sc8fccbdde87a6fe5dacbbca970333f21 945s 1..3 945s # Start of close-async tests 945s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 945s ok 1 /close-async/without-flush 945s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 945s ok 2 /close-async/with-flush 945s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 945s ok 3 /close-async/with-async-flush 945s # End of close-async tests 945s ok - glib/async-close-output-stream.test 945s # Running test: glib/performance-threaded.test 945s Running test "liststore-is-a" 946s 2133 runs, min/avg/max = 0.447/0.469/1.848 ms 946s Running test "liststore-interface-peek" 947s 2585 runs, min/avg/max = 0.375/0.387/1.028 ms 947s Running test "liststore-interface-peek-same" 948s 2593 runs, min/avg/max = 0.374/0.386/0.672 ms 948s ok - glib/performance-threaded.test 948s # Running test: glib/file-thumbnail.test 948s TAP version 13 948s # random seed: R02S57750595d464270071f4d1349e890dfe 948s 1..7 948s # Start of file-thumbnail tests 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/fail/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/fail/.dirs/cache 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_60RRK2/file-thumbnail/fail/.dirs/system-config2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/fail/.dirs/config 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_60RRK2/file-thumbnail/fail/.dirs/system-data2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/fail/.dirs/data 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/fail/.dirs/state 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/fail/.dirs/runtime 948s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 948s # Created test thumbnail at /tmp/test_file-thumbnail_60RRK2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 948s ok 1 /file-thumbnail/fail 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/size-priority/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/size-priority/.dirs/cache 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_60RRK2/file-thumbnail/size-priority/.dirs/system-config2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/size-priority/.dirs/config 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_60RRK2/file-thumbnail/size-priority/.dirs/system-data2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/size-priority/.dirs/data 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/size-priority/.dirs/state 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/size-priority/.dirs/runtime 948s # Created test thumbnail at /tmp/test_file-thumbnail_60RRK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 948s # Created test thumbnail at /tmp/test_file-thumbnail_60RRK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 948s # Created test thumbnail at /tmp/test_file-thumbnail_60RRK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 948s # Created test thumbnail at /tmp/test_file-thumbnail_60RRK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 948s # Created test thumbnail at /tmp/test_file-thumbnail_60RRK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 948s ok 2 /file-thumbnail/size-priority 948s # Start of valid tests 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/normal/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/normal/.dirs/cache 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/normal/.dirs/system-config2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/normal/.dirs/config 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/normal/.dirs/system-data2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/normal/.dirs/data 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/normal/.dirs/state 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/normal/.dirs/runtime 948s # Created test thumbnail at /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 948s ok 3 /file-thumbnail/valid/normal 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/large/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/large/.dirs/cache 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/large/.dirs/system-config2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/large/.dirs/config 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/large/.dirs/system-data2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/large/.dirs/data 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/large/.dirs/state 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/large/.dirs/runtime 948s # Created test thumbnail at /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 948s ok 4 /file-thumbnail/valid/large 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/x-large/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/x-large/.dirs/cache 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/x-large/.dirs/system-config2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/x-large/.dirs/config 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/x-large/.dirs/system-data2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/x-large/.dirs/data 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/x-large/.dirs/state 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/x-large/.dirs/runtime 948s # Created test thumbnail at /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 948s ok 5 /file-thumbnail/valid/x-large 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/xx-large/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/xx-large/.dirs/cache 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/xx-large/.dirs/system-config2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/xx-large/.dirs/config 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/xx-large/.dirs/system-data2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/xx-large/.dirs/data 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/xx-large/.dirs/state 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/xx-large/.dirs/runtime 948s # Created test thumbnail at /tmp/test_file-thumbnail_60RRK2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 948s ok 6 /file-thumbnail/valid/xx-large 948s # End of valid tests 948s # Start of unknown tests 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/unknown/super-large/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/unknown/super-large/.dirs/cache 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_60RRK2/file-thumbnail/unknown/super-large/.dirs/system-config2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/unknown/super-large/.dirs/config 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_60RRK2/file-thumbnail/unknown/super-large/.dirs/system-data2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/unknown/super-large/.dirs/data 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/unknown/super-large/.dirs/state 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_60RRK2/file-thumbnail/unknown/super-large/.dirs/runtime 948s # Created test thumbnail at /tmp/test_file-thumbnail_60RRK2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 948s ok 7 /file-thumbnail/unknown/super-large 948s # End of unknown tests 948s # End of file-thumbnail tests 948s ok - glib/file-thumbnail.test 948s # Running test: glib/autoptr-girepository.test 948s TAP version 13 948s # random seed: R02S46450b163610f846f8bd829d30367aae 948s 1..24 948s # Start of autoptr tests 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/repository/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/repository/.dirs/cache 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/repository/.dirs/system-config2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/repository/.dirs/config 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/repository/.dirs/system-data2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/repository/.dirs/data 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/repository/.dirs/state 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RKMRK2/autoptr/repository/.dirs/runtime 948s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 948s ok 1 /autoptr/repository 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/typelib/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/typelib/.dirs/cache 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/typelib/.dirs/system-config2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/typelib/.dirs/config 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/typelib/.dirs/system-data2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/typelib/.dirs/data 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/typelib/.dirs/state 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RKMRK2/autoptr/typelib/.dirs/runtime 948s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 948s ok 2 /autoptr/typelib 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/base-info/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/base-info/.dirs/cache 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/base-info/.dirs/system-config2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/base-info/.dirs/config 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/base-info/.dirs/system-data2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/base-info/.dirs/data 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/base-info/.dirs/state 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RKMRK2/autoptr/base-info/.dirs/runtime 948s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 948s ok 3 /autoptr/base-info 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/arg-info/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/arg-info/.dirs/cache 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/arg-info/.dirs/system-config2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/arg-info/.dirs/config 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/arg-info/.dirs/system-data2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/arg-info/.dirs/data 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/arg-info/.dirs/state 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RKMRK2/autoptr/arg-info/.dirs/runtime 948s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 948s ok 4 /autoptr/arg-info 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/callable-info/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/callable-info/.dirs/cache 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/callable-info/.dirs/system-config2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/callable-info/.dirs/config 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/callable-info/.dirs/system-data2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/callable-info/.dirs/data 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/callable-info/.dirs/state 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RKMRK2/autoptr/callable-info/.dirs/runtime 948s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 948s ok 5 /autoptr/callable-info 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/callback-info/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/callback-info/.dirs/cache 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/callback-info/.dirs/system-config2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/callback-info/.dirs/config 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/callback-info/.dirs/system-data2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/callback-info/.dirs/data 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/callback-info/.dirs/state 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RKMRK2/autoptr/callback-info/.dirs/runtime 948s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 948s ok 6 /autoptr/callback-info 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/constant-info/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/constant-info/.dirs/cache 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/constant-info/.dirs/system-config2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/constant-info/.dirs/config 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/constant-info/.dirs/system-data2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/constant-info/.dirs/data 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/constant-info/.dirs/state 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RKMRK2/autoptr/constant-info/.dirs/runtime 948s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 948s ok 7 /autoptr/constant-info 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/enum-info/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/enum-info/.dirs/cache 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/enum-info/.dirs/system-config2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/enum-info/.dirs/config 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/enum-info/.dirs/system-data2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/enum-info/.dirs/data 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/enum-info/.dirs/state 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RKMRK2/autoptr/enum-info/.dirs/runtime 948s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 948s ok 8 /autoptr/enum-info 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/field-info/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/field-info/.dirs/cache 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/field-info/.dirs/system-config2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/field-info/.dirs/config 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/field-info/.dirs/system-data2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/field-info/.dirs/data 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/field-info/.dirs/state 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RKMRK2/autoptr/field-info/.dirs/runtime 948s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 948s ok 9 /autoptr/field-info 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/flags-info/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/flags-info/.dirs/cache 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/flags-info/.dirs/system-config2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/flags-info/.dirs/config 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/flags-info/.dirs/system-data2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/flags-info/.dirs/data 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/flags-info/.dirs/state 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RKMRK2/autoptr/flags-info/.dirs/runtime 948s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 948s ok 10 /autoptr/flags-info 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/function-info/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/function-info/.dirs/cache 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/function-info/.dirs/system-config2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/function-info/.dirs/config 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/function-info/.dirs/system-data2 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/function-info/.dirs/data 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/function-info/.dirs/state 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RKMRK2/autoptr/function-info/.dirs/runtime 948s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 948s ok 11 /autoptr/function-info 948s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/interface-info/.dirs/home 948s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/interface-info/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/interface-info/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/interface-info/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/interface-info/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/interface-info/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/interface-info/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RKMRK2/autoptr/interface-info/.dirs/runtime 949s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 949s ok 12 /autoptr/interface-info 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/object-info/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/object-info/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/object-info/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/object-info/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/object-info/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/object-info/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/object-info/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RKMRK2/autoptr/object-info/.dirs/runtime 949s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 949s ok 13 /autoptr/object-info 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/property-info/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/property-info/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/property-info/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/property-info/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/property-info/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/property-info/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/property-info/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RKMRK2/autoptr/property-info/.dirs/runtime 949s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 949s ok 14 /autoptr/property-info 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/registered-type-info/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/registered-type-info/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/registered-type-info/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/registered-type-info/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/registered-type-info/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/registered-type-info/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/registered-type-info/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RKMRK2/autoptr/registered-type-info/.dirs/runtime 949s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 949s ok 15 /autoptr/registered-type-info 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/signal-info/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/signal-info/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/signal-info/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/signal-info/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/signal-info/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/signal-info/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/signal-info/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RKMRK2/autoptr/signal-info/.dirs/runtime 949s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 949s ok 16 /autoptr/signal-info 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/struct-info/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/struct-info/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/struct-info/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/struct-info/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/struct-info/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/struct-info/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/struct-info/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RKMRK2/autoptr/struct-info/.dirs/runtime 949s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 949s ok 17 /autoptr/struct-info 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/type-info/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/type-info/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/type-info/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/type-info/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/type-info/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/type-info/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/type-info/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RKMRK2/autoptr/type-info/.dirs/runtime 949s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 949s ok 18 /autoptr/type-info 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/union-info/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/union-info/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/union-info/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/union-info/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/union-info/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/union-info/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/union-info/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RKMRK2/autoptr/union-info/.dirs/runtime 949s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 949s ok 19 /autoptr/union-info 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/value-info/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/value-info/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/value-info/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/value-info/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/value-info/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/value-info/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/value-info/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RKMRK2/autoptr/value-info/.dirs/runtime 949s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 949s ok 20 /autoptr/value-info 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/vfunc-info/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/vfunc-info/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/vfunc-info/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/vfunc-info/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RKMRK2/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RKMRK2/autoptr/vfunc-info/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/vfunc-info/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RKMRK2/autoptr/vfunc-info/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RKMRK2/autoptr/vfunc-info/.dirs/runtime 949s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 949s ok 21 /autoptr/vfunc-info 949s # End of autoptr tests 949s # Start of auto tests 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RKMRK2/auto/arg-info/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RKMRK2/auto/arg-info/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RKMRK2/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RKMRK2/auto/arg-info/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RKMRK2/auto/arg-info/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RKMRK2/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RKMRK2/auto/arg-info/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RKMRK2/auto/arg-info/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RKMRK2/auto/arg-info/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RKMRK2/auto/arg-info/.dirs/runtime 949s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 949s ok 22 /auto/arg-info 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RKMRK2/auto/type-info/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RKMRK2/auto/type-info/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RKMRK2/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_RKMRK2/auto/type-info/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RKMRK2/auto/type-info/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RKMRK2/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_RKMRK2/auto/type-info/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RKMRK2/auto/type-info/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RKMRK2/auto/type-info/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RKMRK2/auto/type-info/.dirs/runtime 949s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 949s ok 23 /auto/type-info 949s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_RKMRK2/auto/function-invoker/.dirs/home 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_RKMRK2/auto/function-invoker/.dirs/cache 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_RKMRK2/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_RKMRK2/auto/function-invoker/.dirs/system-config2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_RKMRK2/auto/function-invoker/.dirs/config 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_RKMRK2/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_RKMRK2/auto/function-invoker/.dirs/system-data2 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_RKMRK2/auto/function-invoker/.dirs/data 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_RKMRK2/auto/function-invoker/.dirs/state 949s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_RKMRK2/auto/function-invoker/.dirs/runtime 949s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 949s ok 24 /auto/function-invoker 949s # End of auto tests 949s ok - glib/autoptr-girepository.test 949s # Running test: glib/actions.test 949s TAP version 13 949s # random seed: R02S8c367f1ef27bd30865ac4aab984e2301 949s 1..12 949s # Start of actions tests 949s ok 1 /actions/basic 949s ok 2 /actions/name 949s ok 3 /actions/simplegroup 949s ok 4 /actions/stateful 949s ok 5 /actions/default-activate 949s ok 6 /actions/entries 949s ok 7 /actions/parse-detailed 949s ok 8 /actions/property 949s ok 9 /actions/no-properties 949s # Start of dbus tests 949s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 949s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 949s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 949s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 949s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 949s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 949s ok 10 /actions/dbus/export 949s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 949s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 949s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 949s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 949s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 949s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 949s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 949s # Executing: glib/actions.test 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s ok 11 /actions/dbus/threaded 951s # slow test /actions/dbus/threaded executed in 2.17 secs 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 951s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 951s ok 12 /actions/dbus/bug679509 951s # End of dbus tests 951s # End of actions tests 951s ok - glib/actions.test 951s # Running test: glib/unicode.test 951s TAP version 13 951s # random seed: R02S9c263882655c5487b635ee5aa00b4485 951s 1..39 951s # Start of unicode tests 951s ok 1 /unicode/alnum 951s ok 2 /unicode/alpha 951s ok 3 /unicode/break-type 951s ok 4 /unicode/canonical-decomposition 951s ok 5 /unicode/casefold 951s # Cannot set locale to lt_LT, skipping 951s # Cannot set locale to lt_LT, skipping 951s # Cannot set locale to lt_LT, skipping 951s # Cannot set locale to lt_LT, skipping 951s # Cannot set locale to lt_LT, skipping 951s # Cannot set locale to lt_LT, skipping 951s # Cannot set locale to lt_LT, skipping 951s # Cannot set locale to lt_LT, skipping 951s # Cannot set locale to lt_LT, skipping 951s # Cannot set locale to lt_LT, skipping 951s # Cannot set locale to lt_LT, skipping 951s ok 6 /unicode/casemap_and_casefold 951s ok 7 /unicode/cases 951s ok 8 /unicode/character-type 951s ok 9 /unicode/cntrl 951s ok 10 /unicode/combining-class 951s ok 11 /unicode/compose 951s ok 12 /unicode/decompose 951s ok 13 /unicode/decompose-tail 951s ok 14 /unicode/defined 951s ok 15 /unicode/digit 951s ok 16 /unicode/digit-value 951s ok 17 /unicode/fully-decompose-canonical 951s ok 18 /unicode/fully-decompose-len 951s ok 19 /unicode/normalization 951s ok 20 /unicode/graph 951s # Testing script Zyyy (code 1517910393) 951s # Testing script Zinh (code 1516858984) 951s # Testing script Zmth (code 1517122664) 951s # Testing script Arab (code 1098015074) 951s # Testing script Armn (code 1098018158) 951s # Testing script Beng (code 1113943655) 951s # Testing script Bopo (code 1114599535) 951s # Testing script Cher (code 1130915186) 951s # Testing script Copt (code 1131376756) 951s # Testing script Cyrl (code 1132032620) 951s # Testing script Dsrt (code 1148416628) 951s # Testing script Deva (code 1147500129) 951s # Testing script Ethi (code 1165256809) 951s # Testing script Geor (code 1197830002) 951s # Testing script Goth (code 1198486632) 951s # Testing script Grek (code 1198679403) 951s # Testing script Gujr (code 1198877298) 951s # Testing script Guru (code 1198879349) 951s # Testing script Hani (code 1214344809) 951s # Testing script Hang (code 1214344807) 951s # Testing script Hebr (code 1214603890) 951s # Testing script Hira (code 1214870113) 951s # Testing script Knda (code 1265525857) 951s # Testing script Kana (code 1264676449) 951s # Testing script Khmr (code 1265134962) 951s # Testing script Laoo (code 1281453935) 951s # Testing script Latn (code 1281455214) 951s # Testing script Mlym (code 1298954605) 951s # Testing script Mong (code 1299148391) 951s # Testing script Mymr (code 1299803506) 951s # Testing script Ogam (code 1332175213) 951s # Testing script Ital (code 1232363884) 951s # Testing script Orya (code 1332902241) 951s # Testing script Runr (code 1383427698) 951s # Testing script Sinh (code 1399418472) 951s # Testing script Syrc (code 1400468067) 951s # Testing script Taml (code 1415671148) 951s # Testing script Telu (code 1415933045) 951s # Testing script Thaa (code 1416126817) 951s # Testing script Thai (code 1416126825) 951s # Testing script Tibt (code 1416192628) 951s # Testing script Cans (code 1130458739) 951s # Testing script Yiii (code 1500080489) 951s # Testing script Tglg (code 1416064103) 951s # Testing script Hano (code 1214344815) 951s # Testing script Buhd (code 1114990692) 951s # Testing script Tagb (code 1415669602) 951s # Testing script Brai (code 1114792297) 951s # Testing script Cprt (code 1131442804) 951s # Testing script Limb (code 1281977698) 951s # Testing script Osma (code 1332964705) 951s # Testing script Shaw (code 1399349623) 951s # Testing script Linb (code 1281977954) 951s # Testing script Tale (code 1415670885) 951s # Testing script Ugar (code 1432838514) 951s # Testing script Talu (code 1415670901) 951s # Testing script Bugi (code 1114990441) 951s # Testing script Glag (code 1198285159) 951s # Testing script Tfng (code 1415999079) 951s # Testing script Sylo (code 1400466543) 951s # Testing script Xpeo (code 1483761007) 951s # Testing script Khar (code 1265131890) 951s # Testing script Zzzz (code 1517976186) 951s # Testing script Bali (code 1113681001) 951s # Testing script Xsux (code 1483961720) 951s # Testing script Phnx (code 1349021304) 951s # Testing script Phag (code 1349017959) 951s # Testing script Nkoo (code 1315663727) 951s # Testing script Kali (code 1264675945) 951s # Testing script Lepc (code 1281716323) 951s # Testing script Rjng (code 1382706791) 951s # Testing script Sund (code 1400204900) 951s # Testing script Saur (code 1398895986) 951s # Testing script Cham (code 1130914157) 951s # Testing script Olck (code 1332503403) 951s # Testing script Vaii (code 1449224553) 951s # Testing script Cari (code 1130459753) 951s # Testing script Lyci (code 1283023721) 951s # Testing script Lydi (code 1283023977) 951s # Testing script Avst (code 1098281844) 951s # Testing script Bamu (code 1113681269) 951s # Testing script Egyp (code 1164409200) 951s # Testing script Armi (code 1098018153) 951s # Testing script Phli (code 1349020777) 951s # Testing script Prti (code 1349678185) 951s # Testing script Java (code 1247901281) 951s # Testing script Kthi (code 1265920105) 951s # Testing script Lisu (code 1281979253) 951s # Testing script Mtei (code 1299473769) 951s # Testing script Sarb (code 1398895202) 951s # Testing script Orkh (code 1332898664) 951s # Testing script Samr (code 1398893938) 951s # Testing script Lana (code 1281453665) 951s # Testing script Tavt (code 1415673460) 951s # Testing script Batk (code 1113683051) 951s # Testing script Brah (code 1114792296) 951s # Testing script Mand (code 1298230884) 951s # Testing script Cakm (code 1130457965) 951s # Testing script Merc (code 1298494051) 951s # Testing script Mero (code 1298494063) 951s # Testing script Plrd (code 1349284452) 951s # Testing script Shrd (code 1399353956) 951s # Testing script Sora (code 1399812705) 951s # Testing script Takr (code 1415670642) 951s # Testing script Bass (code 1113682803) 951s # Testing script Aghb (code 1097295970) 951s # Testing script Dupl (code 1148547180) 951s # Testing script Elba (code 1164730977) 951s # Testing script Gran (code 1198678382) 951s # Testing script Khoj (code 1265135466) 951s # Testing script Sind (code 1399418468) 951s # Testing script Lina (code 1281977953) 951s # Testing script Mahj (code 1298229354) 951s # Testing script Mani (code 1298230889) 951s # Testing script Mend (code 1298493028) 951s # Testing script Modi (code 1299145833) 951s # Testing script Mroo (code 1299345263) 951s # Testing script Nbat (code 1315070324) 951s # Testing script Narb (code 1315009122) 951s # Testing script Perm (code 1348825709) 951s # Testing script Hmng (code 1215131239) 951s # Testing script Palm (code 1348562029) 951s # Testing script Pauc (code 1348564323) 951s # Testing script Phlp (code 1349020784) 951s # Testing script Sidd (code 1399415908) 951s # Testing script Tirh (code 1416196712) 951s # Testing script Wara (code 1466004065) 951s # Testing script Ahom (code 1097363309) 951s # Testing script Hluw (code 1215067511) 951s # Testing script Hatr (code 1214346354) 951s # Testing script Mult (code 1299541108) 951s # Testing script Hung (code 1215655527) 951s # Testing script Sgnw (code 1399287415) 951s # Testing script Adlm (code 1097100397) 951s # Testing script Bhks (code 1114139507) 951s # Testing script Marc (code 1298231907) 951s # Testing script Newa (code 1315272545) 951s # Testing script Osge (code 1332963173) 951s # Testing script Tang (code 1415671399) 951s # Testing script Gonm (code 1198485101) 951s # Testing script Nshu (code 1316186229) 951s # Testing script Soyo (code 1399814511) 951s # Testing script Zanb (code 1516334690) 951s # Testing script Dogr (code 1148151666) 951s # Testing script Gong (code 1198485095) 951s # Testing script Rohg (code 1383032935) 951s # Testing script Maka (code 1298230113) 951s # Testing script Medf (code 1298490470) 951s # Testing script Sogo (code 1399809903) 951s # Testing script Sogd (code 1399809892) 951s # Testing script Elym (code 1164736877) 951s # Testing script Nand (code 1315008100) 951s # Testing script Hmnp (code 1215131248) 951s # Testing script Wcho (code 1466132591) 951s # Testing script Chrs (code 1130918515) 951s # Testing script Diak (code 1147756907) 951s # Testing script Kits (code 1265202291) 951s # Testing script Yezi (code 1499822697) 951s # Testing script Cpmn (code 1131441518) 951s # Testing script Ougr (code 1333094258) 951s # Testing script Tnsa (code 1416524641) 951s # Testing script Toto (code 1416590447) 951s # Testing script Vith (code 1449751656) 951s # Testing script Kawi (code 1264678761) 951s # Testing script Nagm (code 1315006317) 951s ok 21 /unicode/iso15924 951s ok 22 /unicode/lower 951s ok 23 /unicode/mark 951s ok 24 /unicode/mirror 951s ok 25 /unicode/print 951s ok 26 /unicode/punctuation 951s ok 27 /unicode/script 951s ok 28 /unicode/space 951s ok 29 /unicode/strdown 951s ok 30 /unicode/strup 951s ok 31 /unicode/turkish-strupdown 951s ok 32 /unicode/title 951s ok 33 /unicode/upper 951s ok 34 /unicode/validate 951s ok 35 /unicode/wide 951s ok 36 /unicode/xdigit 951s ok 37 /unicode/xdigit-value 951s ok 38 /unicode/zero-width 951s ok 39 /unicode/normalize 951s # End of unicode tests 951s ok - glib/unicode.test 951s # Running test: glib/vfs.test 951s TAP version 13 951s # random seed: R02S71f808168a7a478438741b85e624f4d9 951s 1..3 951s # Start of gvfs tests 951s ok 1 /gvfs/local 951s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 951s ok 2 /gvfs/register-scheme 951s # Start of resource tests 951s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 951s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 951s ok 3 /gvfs/resource/malformed-escaping 951s # End of resource tests 951s # End of gvfs tests 951s ok - glib/vfs.test 951s # Running test: glib/module-test-plugin.test 951s TAP version 13 951s # random seed: R02S7334e6d364b5cb63f900187a0e2ae6b9 951s 1..2 951s # Start of module tests 951s ok 1 /module/basics 951s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 951s ok 2 /module/invalid-libtool-archive 951s # End of module tests 951s ok - glib/module-test-plugin.test 951s # Running test: glib/power-profile-monitor-dbus.test 951s TAP version 13 951s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 951s 1..1 951s ok - glib/power-profile-monitor-dbus.test 951s # Running test: glib/repository.test 951s TAP version 13 951s # random seed: R02Scef26090fc0d04a38d1ff587323cfd24 951s 1..21 951s # Start of repository tests 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_O8MZK2/repository/basic/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_O8MZK2/repository/basic/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_O8MZK2/repository/basic/.dirs/system-config1:/tmp/test_repository_O8MZK2/repository/basic/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_O8MZK2/repository/basic/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_O8MZK2/repository/basic/.dirs/system-data1:/tmp/test_repository_O8MZK2/repository/basic/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_O8MZK2/repository/basic/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_O8MZK2/repository/basic/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_O8MZK2/repository/basic/.dirs/runtime 951s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 951s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 951s ok 1 /repository/basic 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_O8MZK2/repository/info/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_O8MZK2/repository/info/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_O8MZK2/repository/info/.dirs/system-config1:/tmp/test_repository_O8MZK2/repository/info/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_O8MZK2/repository/info/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_O8MZK2/repository/info/.dirs/system-data1:/tmp/test_repository_O8MZK2/repository/info/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_O8MZK2/repository/info/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_O8MZK2/repository/info/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_O8MZK2/repository/info/.dirs/runtime 951s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 951s # /repository/info summary: Test retrieving some basic info blobs from a typelib 951s ok 2 /repository/info 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_O8MZK2/repository/dependencies/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_O8MZK2/repository/dependencies/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_O8MZK2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_O8MZK2/repository/dependencies/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_O8MZK2/repository/dependencies/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_O8MZK2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_O8MZK2/repository/dependencies/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_O8MZK2/repository/dependencies/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_O8MZK2/repository/dependencies/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_O8MZK2/repository/dependencies/.dirs/runtime 951s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 951s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 951s ok 3 /repository/dependencies 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_O8MZK2/repository/arg-info/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_O8MZK2/repository/arg-info/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_O8MZK2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_O8MZK2/repository/arg-info/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_O8MZK2/repository/arg-info/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_O8MZK2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_O8MZK2/repository/arg-info/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_O8MZK2/repository/arg-info/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_O8MZK2/repository/arg-info/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_O8MZK2/repository/arg-info/.dirs/runtime 951s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 951s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 951s ok 4 /repository/arg-info 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_O8MZK2/repository/callable-info/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_O8MZK2/repository/callable-info/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_O8MZK2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_O8MZK2/repository/callable-info/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_O8MZK2/repository/callable-info/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_O8MZK2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_O8MZK2/repository/callable-info/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_O8MZK2/repository/callable-info/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_O8MZK2/repository/callable-info/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_O8MZK2/repository/callable-info/.dirs/runtime 951s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 951s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 951s ok 5 /repository/callable-info 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_O8MZK2/repository/callback-info/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_O8MZK2/repository/callback-info/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_O8MZK2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_O8MZK2/repository/callback-info/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_O8MZK2/repository/callback-info/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_O8MZK2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_O8MZK2/repository/callback-info/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_O8MZK2/repository/callback-info/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_O8MZK2/repository/callback-info/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_O8MZK2/repository/callback-info/.dirs/runtime 951s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 951s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 951s ok 6 /repository/callback-info 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_O8MZK2/repository/char-types/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_O8MZK2/repository/char-types/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_O8MZK2/repository/char-types/.dirs/system-config1:/tmp/test_repository_O8MZK2/repository/char-types/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_O8MZK2/repository/char-types/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_O8MZK2/repository/char-types/.dirs/system-data1:/tmp/test_repository_O8MZK2/repository/char-types/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_O8MZK2/repository/char-types/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_O8MZK2/repository/char-types/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_O8MZK2/repository/char-types/.dirs/runtime 951s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 951s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 951s ok 7 /repository/char-types 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_O8MZK2/repository/constructor-return-type/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_O8MZK2/repository/constructor-return-type/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_O8MZK2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_O8MZK2/repository/constructor-return-type/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_O8MZK2/repository/constructor-return-type/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_O8MZK2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_O8MZK2/repository/constructor-return-type/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_O8MZK2/repository/constructor-return-type/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_O8MZK2/repository/constructor-return-type/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_O8MZK2/repository/constructor-return-type/.dirs/runtime 951s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 951s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 951s ok 8 /repository/constructor-return-type 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_O8MZK2/repository/enum-info-c-identifier/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_O8MZK2/repository/enum-info-c-identifier/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_O8MZK2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_O8MZK2/repository/enum-info-c-identifier/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_O8MZK2/repository/enum-info-c-identifier/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_O8MZK2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_O8MZK2/repository/enum-info-c-identifier/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_O8MZK2/repository/enum-info-c-identifier/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_O8MZK2/repository/enum-info-c-identifier/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_O8MZK2/repository/enum-info-c-identifier/.dirs/runtime 951s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 951s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 951s ok 9 /repository/enum-info-c-identifier 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_O8MZK2/repository/enum-info-static-methods/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_O8MZK2/repository/enum-info-static-methods/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_O8MZK2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_O8MZK2/repository/enum-info-static-methods/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_O8MZK2/repository/enum-info-static-methods/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_O8MZK2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_O8MZK2/repository/enum-info-static-methods/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_O8MZK2/repository/enum-info-static-methods/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_O8MZK2/repository/enum-info-static-methods/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_O8MZK2/repository/enum-info-static-methods/.dirs/runtime 951s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 951s # /repository/enum-info-static-methods summary: Test an enum with methods 951s ok 10 /repository/enum-info-static-methods 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_O8MZK2/repository/error-quark/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_O8MZK2/repository/error-quark/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_O8MZK2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_O8MZK2/repository/error-quark/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_O8MZK2/repository/error-quark/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_O8MZK2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_O8MZK2/repository/error-quark/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_O8MZK2/repository/error-quark/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_O8MZK2/repository/error-quark/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_O8MZK2/repository/error-quark/.dirs/runtime 951s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 951s # /repository/error-quark summary: Test finding an error quark by error domain 951s ok 11 /repository/error-quark 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_O8MZK2/repository/flags-info-c-identifier/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_O8MZK2/repository/flags-info-c-identifier/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_O8MZK2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_O8MZK2/repository/flags-info-c-identifier/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_O8MZK2/repository/flags-info-c-identifier/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_O8MZK2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_O8MZK2/repository/flags-info-c-identifier/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_O8MZK2/repository/flags-info-c-identifier/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_O8MZK2/repository/flags-info-c-identifier/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_O8MZK2/repository/flags-info-c-identifier/.dirs/runtime 951s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 951s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 951s ok 12 /repository/flags-info-c-identifier 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_O8MZK2/repository/fundamental-ref-func/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_O8MZK2/repository/fundamental-ref-func/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_O8MZK2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_O8MZK2/repository/fundamental-ref-func/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_O8MZK2/repository/fundamental-ref-func/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_O8MZK2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_O8MZK2/repository/fundamental-ref-func/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_O8MZK2/repository/fundamental-ref-func/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_O8MZK2/repository/fundamental-ref-func/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_O8MZK2/repository/fundamental-ref-func/.dirs/runtime 951s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 951s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 951s ok 13 /repository/fundamental-ref-func 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_O8MZK2/repository/instance-method-ownership-transfer/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_O8MZK2/repository/instance-method-ownership-transfer/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_O8MZK2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_O8MZK2/repository/instance-method-ownership-transfer/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_O8MZK2/repository/instance-method-ownership-transfer/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_O8MZK2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_O8MZK2/repository/instance-method-ownership-transfer/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_O8MZK2/repository/instance-method-ownership-transfer/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_O8MZK2/repository/instance-method-ownership-transfer/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_O8MZK2/repository/instance-method-ownership-transfer/.dirs/runtime 951s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 951s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 951s ok 14 /repository/instance-method-ownership-transfer 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_O8MZK2/repository/object-gtype-interfaces/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_O8MZK2/repository/object-gtype-interfaces/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_O8MZK2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_O8MZK2/repository/object-gtype-interfaces/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_O8MZK2/repository/object-gtype-interfaces/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_O8MZK2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_O8MZK2/repository/object-gtype-interfaces/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_O8MZK2/repository/object-gtype-interfaces/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_O8MZK2/repository/object-gtype-interfaces/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_O8MZK2/repository/object-gtype-interfaces/.dirs/runtime 951s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 951s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 951s ok 15 /repository/object-gtype-interfaces 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_O8MZK2/repository/signal-info-with-array-length-arg/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_O8MZK2/repository/signal-info-with-array-length-arg/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_O8MZK2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_O8MZK2/repository/signal-info-with-array-length-arg/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_O8MZK2/repository/signal-info-with-array-length-arg/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_O8MZK2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_O8MZK2/repository/signal-info-with-array-length-arg/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_O8MZK2/repository/signal-info-with-array-length-arg/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_O8MZK2/repository/signal-info-with-array-length-arg/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_O8MZK2/repository/signal-info-with-array-length-arg/.dirs/runtime 951s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 951s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 951s ok 16 /repository/signal-info-with-array-length-arg 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_O8MZK2/repository/type-info-name/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_O8MZK2/repository/type-info-name/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_O8MZK2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_O8MZK2/repository/type-info-name/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_O8MZK2/repository/type-info-name/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_O8MZK2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_O8MZK2/repository/type-info-name/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_O8MZK2/repository/type-info-name/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_O8MZK2/repository/type-info-name/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_O8MZK2/repository/type-info-name/.dirs/runtime 951s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 951s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 951s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 951s ok 17 /repository/type-info-name 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_O8MZK2/repository/vfunc-info-with-no-invoker/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_O8MZK2/repository/vfunc-info-with-no-invoker/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_O8MZK2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_O8MZK2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_O8MZK2/repository/vfunc-info-with-no-invoker/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_O8MZK2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_O8MZK2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_O8MZK2/repository/vfunc-info-with-no-invoker/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_O8MZK2/repository/vfunc-info-with-no-invoker/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_O8MZK2/repository/vfunc-info-with-no-invoker/.dirs/runtime 951s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 951s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 951s ok 18 /repository/vfunc-info-with-no-invoker 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_O8MZK2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_O8MZK2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_O8MZK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_O8MZK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_O8MZK2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_O8MZK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_O8MZK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_O8MZK2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_O8MZK2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_O8MZK2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 951s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 951s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 951s ok 19 /repository/vfunc-info-with-invoker-on-interface 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_O8MZK2/repository/vfunc-info-with-invoker-on-object/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_O8MZK2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_O8MZK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_O8MZK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_O8MZK2/repository/vfunc-info-with-invoker-on-object/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_O8MZK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_O8MZK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_O8MZK2/repository/vfunc-info-with-invoker-on-object/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_O8MZK2/repository/vfunc-info-with-invoker-on-object/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_O8MZK2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 951s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 951s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 951s ok 20 /repository/vfunc-info-with-invoker-on-object 951s # Start of base-info tests 951s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_O8MZK2/repository/base-info/clear/.dirs/home 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_O8MZK2/repository/base-info/clear/.dirs/cache 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_O8MZK2/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_O8MZK2/repository/base-info/clear/.dirs/system-config2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_O8MZK2/repository/base-info/clear/.dirs/config 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_O8MZK2/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_O8MZK2/repository/base-info/clear/.dirs/system-data2 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_O8MZK2/repository/base-info/clear/.dirs/data 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_O8MZK2/repository/base-info/clear/.dirs/state 951s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_O8MZK2/repository/base-info/clear/.dirs/runtime 951s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 951s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 951s ok 21 /repository/base-info/clear 951s # End of base-info tests 951s # End of repository tests 951s ok - glib/repository.test 951s # Running test: glib/properties-refcount2.test 951s TAP version 13 951s # random seed: R02S3e13ea173852a071bbcdc006a1a6fb3f 951s 1..1 951s # Start of gobject tests 951s # Start of refcount tests 951s # init 0xcb81db0e770 951s # 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 951s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 952s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 953s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # Executing: glib/properties-refcount2.test 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # . 954s # dispose 0xcb81db0e770! 954s # 954s ok 1 /gobject/refcount/properties-2 954s # slow test /gobject/refcount/properties-2 executed in 3.38 secs 954s # End of refcount tests 954s # End of gobject tests 954s ok - glib/properties-refcount2.test 954s # Running test: glib/mimeapps.test 954s TAP version 13 954s # random seed: R02Scf8eee86868188ccfbd12491c4085eec 954s 1..7 954s # Start of appinfo tests 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_R1TRK2/appinfo/all/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_R1TRK2/appinfo/all/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_R1TRK2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_R1TRK2/appinfo/all/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_R1TRK2/appinfo/all/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_R1TRK2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_R1TRK2/appinfo/all/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_R1TRK2/appinfo/all/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_R1TRK2/appinfo/all/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_R1TRK2/appinfo/all/.dirs/runtime 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/all/.dirs/system-data1/applications' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/all/.dirs/data/applications' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/all/.dirs/data/applications/myapp.desktop' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/all/.dirs/data/applications/myapp2.desktop' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/all/.dirs/data/applications/myapp3.desktop' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/all/.dirs/data/applications/myapp4.desktop' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/all/.dirs/data/applications/myapp5.desktop' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 954s # removing '/tmp/test_mimeapps_R1TRK2/appinfo/all/.dirs/data/applications/mimeapps.list' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 954s ok 1 /appinfo/all 954s # Start of mime tests 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/runtime 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/system-data1/applications' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/data/applications' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 954s # removing '/tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 954s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/config 954s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_R1TRK2/appinfo/all/.dirs/config to /tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/config 954s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/config 954s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/config 954s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/config 954s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/config 954s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/config 954s ok 2 /appinfo/mime/api 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/default/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/default/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_R1TRK2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_R1TRK2/appinfo/mime/default/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/default/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_R1TRK2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_R1TRK2/appinfo/mime/default/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/default/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/default/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_R1TRK2/appinfo/mime/default/.dirs/runtime 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/default/.dirs/system-data1/applications' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/default/.dirs/data/applications' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 954s # removing '/tmp/test_mimeapps_R1TRK2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 954s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_R1TRK2/appinfo/mime/default/.dirs/config 954s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_R1TRK2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_R1TRK2/appinfo/mime/default/.dirs/config 954s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_R1TRK2/appinfo/mime/default/.dirs/config 954s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_R1TRK2/appinfo/mime/default/.dirs/config 954s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_R1TRK2/appinfo/mime/default/.dirs/config 954s ok 3 /appinfo/mime/default 954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/home 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/cache 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/system-config2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/config 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/system-data2 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/data 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/state 954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/runtime 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/system-data1/applications' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/data/applications' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 954s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 955s # removing '/tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 955s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/config 955s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_R1TRK2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/config 955s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/config 955s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/config 955s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/config 955s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/config 955s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/config 955s ok 4 /appinfo/mime/file 955s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/scheme-handler/.dirs/home 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/scheme-handler/.dirs/cache 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_R1TRK2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_R1TRK2/appinfo/mime/scheme-handler/.dirs/system-config2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/scheme-handler/.dirs/config 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_R1TRK2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_R1TRK2/appinfo/mime/scheme-handler/.dirs/system-data2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/scheme-handler/.dirs/data 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/scheme-handler/.dirs/state 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_R1TRK2/appinfo/mime/scheme-handler/.dirs/runtime 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/scheme-handler/.dirs/data/applications' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 955s # removing '/tmp/test_mimeapps_R1TRK2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 955s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_R1TRK2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_R1TRK2/appinfo/mime/scheme-handler/.dirs/config 955s ok 5 /appinfo/mime/scheme-handler 955s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/home 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/cache 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/system-config2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/config 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/system-data2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/data 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/state 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/runtime 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/data/applications' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 955s # removing '/tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 955s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/config 955s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_R1TRK2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/config 955s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/config 955s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/config 955s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/config 955s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/config 955s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/config 955s ok 6 /appinfo/mime/default-last-used 955s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/ignore-nonexisting/.dirs/home 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/ignore-nonexisting/.dirs/cache 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_R1TRK2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_R1TRK2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/ignore-nonexisting/.dirs/config 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_R1TRK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_R1TRK2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/ignore-nonexisting/.dirs/data 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_R1TRK2/appinfo/mime/ignore-nonexisting/.dirs/state 955s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_R1TRK2/appinfo/mime/ignore-nonexisting/.dirs/runtime 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 955s # removing '/tmp/test_mimeapps_R1TRK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 955s # creating '/tmp/test_mimeapps_R1TRK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 955s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_R1TRK2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_R1TRK2/appinfo/mime/ignore-nonexisting/.dirs/config 955s ok 7 /appinfo/mime/ignore-nonexisting 955s # End of mime tests 955s # End of appinfo tests 955s ok - glib/mimeapps.test 955s # Running test: glib/atomic-c-17.test 955s TAP version 13 955s # random seed: R02S6f8327760436ddebac4906f95f21769d 955s 1..2 955s # Start of atomic tests 955s ok 1 /atomic/types 955s ok 2 /atomic/threaded 955s # End of atomic tests 955s ok - glib/atomic-c-17.test 955s # Running test: glib/markup-escape.test 955s TAP version 13 955s # random seed: R02S542fed4b3fe026710e31f1c5b3520e23 955s 1..41 955s # Start of markup tests 955s ok 1 /markup/format 955s # Start of escape-text tests 955s ok 2 /markup/escape-text/0 955s ok 3 /markup/escape-text/1 955s ok 4 /markup/escape-text/2 955s ok 5 /markup/escape-text/3 955s ok 6 /markup/escape-text/4 955s ok 7 /markup/escape-text/5 955s ok 8 /markup/escape-text/6 955s ok 9 /markup/escape-text/7 955s ok 10 /markup/escape-text/8 955s ok 11 /markup/escape-text/9 955s ok 12 /markup/escape-text/10 955s ok 13 /markup/escape-text/11 955s ok 14 /markup/escape-text/12 955s ok 15 /markup/escape-text/13 955s ok 16 /markup/escape-text/14 955s ok 17 /markup/escape-text/15 955s ok 18 /markup/escape-text/16 955s ok 19 /markup/escape-text/17 955s ok 20 /markup/escape-text/18 955s ok 21 /markup/escape-text/19 955s ok 22 /markup/escape-text/20 955s ok 23 /markup/escape-text/21 955s ok 24 /markup/escape-text/22 955s # End of escape-text tests 955s # Start of escape-unichar tests 955s ok 25 /markup/escape-unichar/0 955s ok 26 /markup/escape-unichar/1 955s ok 27 /markup/escape-unichar/2 955s ok 28 /markup/escape-unichar/3 955s ok 29 /markup/escape-unichar/4 955s ok 30 /markup/escape-unichar/5 955s ok 31 /markup/escape-unichar/6 955s ok 32 /markup/escape-unichar/7 955s ok 33 /markup/escape-unichar/8 955s ok 34 /markup/escape-unichar/9 955s ok 35 /markup/escape-unichar/10 955s ok 36 /markup/escape-unichar/11 955s ok 37 /markup/escape-unichar/12 955s ok 38 /markup/escape-unichar/13 955s ok 39 /markup/escape-unichar/14 955s ok 40 /markup/escape-unichar/15 955s ok 41 /markup/escape-unichar/16 955s # End of escape-unichar tests 955s # End of markup tests 955s ok - glib/markup-escape.test 955s # Running test: glib/signals-refcount4.test 955s TAP version 13 955s # random seed: R02S1c2bccfaae12d30ecd8d3f0ac728f6bd 955s 1..1 955s # Start of gobject tests 955s # Start of refcount tests 955s # init 0xa5e6eecf420 955s # 955s # init 0xa5e6eecf5c0 955s # 959s # Executing: glib/signals-refcount4.test 960s # dispose 0xa5e6eecf420! 960s # 960s # dispose 0xa5e6eecf5c0! 960s # 960s ok 1 /gobject/refcount/signals 960s # slow test /gobject/refcount/signals executed in 5.00 secs 960s # End of refcount tests 960s # End of gobject tests 960s ok - glib/signals-refcount4.test 960s # Running test: glib/data-output-stream.test 960s TAP version 13 960s # random seed: R02Scbbf2426d29cc46da4b6649a8778427d 960s 1..7 960s # Start of data-output-stream tests 960s ok 1 /data-output-stream/basic 960s ok 2 /data-output-stream/write-lines-LF 960s ok 3 /data-output-stream/write-lines-CR 960s ok 4 /data-output-stream/write-lines-CR-LF 960s ok 5 /data-output-stream/write-int 960s ok 6 /data-output-stream/seek 960s ok 7 /data-output-stream/truncate 960s # End of data-output-stream tests 960s ok - glib/data-output-stream.test 960s # Running test: glib/dir.test 960s TAP version 13 960s # random seed: R02S3afa9905bcda5889608873fe759f6e30 960s 1..3 960s # Start of dir tests 960s ok 1 /dir/read 960s ok 2 /dir/nonexisting 960s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 960s ok 3 /dir/refcounting 960s # End of dir tests 960s ok - glib/dir.test 960s # Running test: glib/network-monitor-race.test 960s TAP version 13 960s # random seed: R02S1411b9337e913a1383483bf1356987eb 960s 1..1 960s # Start of network-monitor tests 960s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 962s ok 1 /network-monitor/create-in-thread 962s # slow test /network-monitor/create-in-thread executed in 2.15 secs 962s # End of network-monitor tests 962s ok - glib/network-monitor-race.test 962s # Running test: glib/collate.test 962s TAP version 13 962s # random seed: R02S896d6853f97e3600f62fb7cb0c5a5f8c 962s 1..9 962s # Start of unicode tests 962s # Start of collate tests 962s ok 1 /unicode/collate/0 962s ok 2 /unicode/collate/1 962s ok 3 /unicode/collate/2 962s # End of collate tests 962s # Start of collate-key tests 962s ok 4 /unicode/collate-key/0 962s ok 5 /unicode/collate-key/1 962s ok 6 /unicode/collate-key/2 962s # End of collate-key tests 962s # Start of collate-filename tests 962s ok 7 /unicode/collate-filename/0 962s ok 8 /unicode/collate-filename/1 962s ok 9 /unicode/collate-filename/2 962s # End of collate-filename tests 962s # End of unicode tests 962s ok - glib/collate.test 962s # Running test: glib/macros-c-90.test 962s TAP version 13 962s # random seed: R02Se70d71c1a292ca2c1c14d91dcdfbb2f6 962s 1..4 962s # Start of C tests 962s ok 1 /C/standard-90 962s # End of C tests 962s # Start of alignof tests 962s ok 2 /alignof/fallback 962s # End of alignof tests 962s # Start of assert tests 962s ok 3 /assert/static 962s # End of assert tests 962s # Start of struct tests 962s ok 4 /struct/sizeof_member 962s # End of struct tests 962s ok - glib/macros-c-90.test 962s # Running test: glib/properties-introspection.test 962s TAP version 13 962s # random seed: R02S4755f91f50bbfc3aaa08f5218415042d 962s 1..2 962s # Start of properties tests 962s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 962s ok 1 /properties/introspection 962s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 962s ok 2 /properties/collision 962s # End of properties tests 962s ok - glib/properties-introspection.test 962s # Running test: glib/signal-handler.test 962s TAP version 13 962s # random seed: R02Sd632d1b5b2894da3ae844901d34b21b1 962s 1..7 962s # Start of signal tests 962s # Start of handler tests 962s # min perf: connected 1 handlers in 0.000 seconds 962s ok 1 /signal/handler/connect-many 962s # min perf: disconnected 1 handlers in 0.000 seconds 962s ok 2 /signal/handler/disconnect-many-ordered 962s # min perf: disconnected 1 handlers in 0.000 seconds 962s ok 3 /signal/handler/disconnect-many-inverse 962s # min perf: disconnected 1 handlers in 0.000 seconds 962s ok 4 /signal/handler/disconnect-many-random 962s # min perf: disconnected 1 handlers in 0.000 seconds 962s ok 5 /signal/handler/disconnect-2-signals 962s # min perf: disconnected 1 handlers in 0.000 seconds 962s ok 6 /signal/handler/disconnect-2-objects 962s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 962s ok 7 /signal/handler/block-many 962s # End of handler tests 962s # End of signal tests 962s ok - glib/signal-handler.test 962s # Running test: glib/gdbus-addresses.test 962s TAP version 13 962s # random seed: R02Sc49aadb9cd34dfeb0ba28f9036280306 962s 1..9 962s # Start of gdbus tests 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/empty-address/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/empty-address/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_0YU4K2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_0YU4K2/gdbus/empty-address/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/empty-address/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_0YU4K2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_0YU4K2/gdbus/empty-address/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/empty-address/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/empty-address/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_0YU4K2/gdbus/empty-address/.dirs/runtime 962s ok 1 /gdbus/empty-address 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/unsupported-address/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/unsupported-address/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_0YU4K2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_0YU4K2/gdbus/unsupported-address/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/unsupported-address/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_0YU4K2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_0YU4K2/gdbus/unsupported-address/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/unsupported-address/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/unsupported-address/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_0YU4K2/gdbus/unsupported-address/.dirs/runtime 962s ok 2 /gdbus/unsupported-address 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/address-parsing/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/address-parsing/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_0YU4K2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_0YU4K2/gdbus/address-parsing/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/address-parsing/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_0YU4K2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_0YU4K2/gdbus/address-parsing/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/address-parsing/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/address-parsing/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_0YU4K2/gdbus/address-parsing/.dirs/runtime 962s ok 3 /gdbus/address-parsing 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/unix-address/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/unix-address/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_0YU4K2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_0YU4K2/gdbus/unix-address/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/unix-address/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_0YU4K2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_0YU4K2/gdbus/unix-address/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/unix-address/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/unix-address/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_0YU4K2/gdbus/unix-address/.dirs/runtime 962s ok 4 /gdbus/unix-address 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/nonce-tcp-address/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/nonce-tcp-address/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_0YU4K2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_0YU4K2/gdbus/nonce-tcp-address/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/nonce-tcp-address/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_0YU4K2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_0YU4K2/gdbus/nonce-tcp-address/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/nonce-tcp-address/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/nonce-tcp-address/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_0YU4K2/gdbus/nonce-tcp-address/.dirs/runtime 962s ok 5 /gdbus/nonce-tcp-address 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/tcp-address/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/tcp-address/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_0YU4K2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_0YU4K2/gdbus/tcp-address/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/tcp-address/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_0YU4K2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_0YU4K2/gdbus/tcp-address/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/tcp-address/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/tcp-address/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_0YU4K2/gdbus/tcp-address/.dirs/runtime 962s ok 6 /gdbus/tcp-address 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/autolaunch-address/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/autolaunch-address/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_0YU4K2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_0YU4K2/gdbus/autolaunch-address/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/autolaunch-address/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_0YU4K2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_0YU4K2/gdbus/autolaunch-address/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/autolaunch-address/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/autolaunch-address/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_0YU4K2/gdbus/autolaunch-address/.dirs/runtime 962s ok 7 /gdbus/autolaunch-address 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/mixed-address/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/mixed-address/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_0YU4K2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_0YU4K2/gdbus/mixed-address/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/mixed-address/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_0YU4K2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_0YU4K2/gdbus/mixed-address/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/mixed-address/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/mixed-address/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_0YU4K2/gdbus/mixed-address/.dirs/runtime 962s ok 8 /gdbus/mixed-address 962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/escape-address/.dirs/home 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/escape-address/.dirs/cache 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_0YU4K2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_0YU4K2/gdbus/escape-address/.dirs/system-config2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/escape-address/.dirs/config 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_0YU4K2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_0YU4K2/gdbus/escape-address/.dirs/system-data2 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/escape-address/.dirs/data 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_0YU4K2/gdbus/escape-address/.dirs/state 962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_0YU4K2/gdbus/escape-address/.dirs/runtime 962s ok 9 /gdbus/escape-address 962s # End of gdbus tests 962s ok - glib/gdbus-addresses.test 962s # Running test: glib/cond.test 962s TAP version 13 962s # random seed: R02S050bc347f1d144183bdeeeebf1975f64 962s 1..4 962s # Start of thread tests 962s ok 1 /thread/cond1 962s ok 2 /thread/cond2 962s # Start of cond tests 963s ok 3 /thread/cond/wait-until 963s # slow test /thread/cond/wait-until executed in 1.02 secs 963s # Start of wait-until tests 963s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 963s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 964s # Executing: glib/cond.test 964s ok 4 /thread/cond/wait-until/contended-and-interrupted 964s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 964s # End of wait-until tests 964s # End of cond tests 964s # End of thread tests 964s ok - glib/cond.test 964s # Running test: glib/gutils-user-database.test 964s TAP version 13 964s # random seed: R02Sdac062220a0e1541ca5700552544f8c5 964s 1..1 964s # Start of gutils tests 964s ok 1 /gutils/get_user_database_entry 964s # End of gutils tests 964s ok - glib/gutils-user-database.test 964s # Running test: glib/node.test 964s TAP version 13 964s # random seed: R02S3aea320c9e5ba4f2bb2317dae1d65669 964s 1..6 964s # Start of node tests 964s ok 1 /node/allocation 964s ok 2 /node/construction 964s ok 3 /node/traversal 964s ok 4 /node/misc 964s ok 5 /node/unlink 964s ok 6 /node/copy 964s # End of node tests 964s ok - glib/node.test 964s # Running test: glib/1bit-mutex.test 964s TAP version 13 964s # random seed: R02Scd4fa13bd613fda40f2e32fe37b0fb3a 964s 1..2 964s # Start of glib tests 964s # Start of 1bit-mutex tests 969s # Executing: glib/1bit-mutex.test 973s ok 1 /glib/1bit-mutex/int 973s # slow test /glib/1bit-mutex/int executed in 9.11 secs 974s # Executing: glib/1bit-mutex.test 979s # Executing: glib/1bit-mutex.test 982s ok 2 /glib/1bit-mutex/pointer 982s # slow test /glib/1bit-mutex/pointer executed in 9.01 secs 982s # End of 1bit-mutex tests 982s # End of glib tests 982s ok - glib/1bit-mutex.test 982s # Running test: glib/utf8-misc.test 982s TAP version 13 982s # random seed: R02S2787924134f6b800ade9f8c4b18b2852 982s 1..7 982s # Start of utf8 tests 982s ok 1 /utf8/strlen 982s ok 2 /utf8/strncpy 982s ok 3 /utf8/strrchr 982s ok 4 /utf8/reverse 982s ok 5 /utf8/substring 982s ok 6 /utf8/make-valid 982s ok 7 /utf8/truncate-middle 982s # End of utf8 tests 982s ok - glib/utf8-misc.test 982s # Running test: glib/gdbus-connection-loss.test 982s TAP version 13 982s # random seed: R02Sd4da53f19ef4fea5e5eef818f8908b3d 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s 1..1 982s # Start of gdbus tests 982s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_1INLK2/gdbus/connection-loss/.dirs/home 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_1INLK2/gdbus/connection-loss/.dirs/cache 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_1INLK2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_1INLK2/gdbus/connection-loss/.dirs/system-config2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_1INLK2/gdbus/connection-loss/.dirs/config 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_1INLK2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_1INLK2/gdbus/connection-loss/.dirs/system-data2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_1INLK2/gdbus/connection-loss/.dirs/data 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_1INLK2/gdbus/connection-loss/.dirs/state 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_1INLK2/gdbus/connection-loss/.dirs/runtime 982s ok 1 /gdbus/connection-loss 982s # End of gdbus tests 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s ok - glib/gdbus-connection-loss.test 982s # Running test: glib/dataset.test 982s TAP version 13 982s # random seed: R02Sdde0c38fd832fdba89a281c566f92282 982s 1..14 982s # Start of quark tests 982s ok 1 /quark/basic 982s ok 2 /quark/string 982s # End of quark tests 982s # Start of dataset tests 982s ok 3 /dataset/basic 982s ok 4 /dataset/id 982s ok 5 /dataset/full 982s ok 6 /dataset/foreach 982s ok 7 /dataset/destroy 982s # End of dataset tests 982s # Start of datalist tests 982s ok 8 /datalist/basic 982s ok 9 /datalist/id 982s ok 10 /datalist/recursive-clear 982s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 982s ok 11 /datalist/id-remove-multiple 982s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 982s ok 12 /datalist/id-remove-multiple-destroy-order 982s ok 13 /datalist/update-atomic 982s # Start of id-remove-multiple tests 982s ok 14 /datalist/id-remove-multiple/resize 982s # End of id-remove-multiple tests 982s # End of datalist tests 982s ok - glib/dataset.test 982s # Running test: glib/messages-low-memory.py.test 982s TAP version 13 982s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 982s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 982s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 982s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 982s # Return code: -6 982s # Output: 982s # Error: GLib-Message: 18:38:34.797: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 982s # GLib-Message: 18:38:34.797: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 982s # ../../../glib/gprintf.c:350: failed to allocate memory 982s 1..1 982s ok - glib/messages-low-memory.py.test 982s # Running test: glib/gdbus-bz627724.test 982s TAP version 13 982s # random seed: R02Sc6d52ffe7de29338cc5ccfd90c95b1aa 982s 1..1 982s # Start of gdbus tests 982s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_G1VSK2/gdbus/bz627724/.dirs/home 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_G1VSK2/gdbus/bz627724/.dirs/cache 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_G1VSK2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_G1VSK2/gdbus/bz627724/.dirs/system-config2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_G1VSK2/gdbus/bz627724/.dirs/config 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_G1VSK2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_G1VSK2/gdbus/bz627724/.dirs/system-data2 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_G1VSK2/gdbus/bz627724/.dirs/data 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_G1VSK2/gdbus/bz627724/.dirs/state 982s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_G1VSK2/gdbus/bz627724/.dirs/runtime 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 982s ok 1 /gdbus/bz627724 982s # End of gdbus tests 982s ok - glib/gdbus-bz627724.test 982s # Running test: glib/threadtests.test 982s TAP version 13 982s # random seed: R02S9d081355ee88811e612212183d71c36f 982s 1..5 982s # Start of GObject tests 982s ok 1 /GObject/threaded-object-init 983s ok 2 /GObject/threaded-weak-ref 983s # slow test /GObject/threaded-weak-ref executed in 0.72 secs 983s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 983s # /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 984s ok 3 /GObject/threaded-toggle-notify 984s # slow test /GObject/threaded-toggle-notify executed in 0.56 secs 984s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 984s # Start of threaded-weak-ref tests 984s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 984s # /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. 984s ok 5 /GObject/threaded-weak-ref/on-finalization 984s # End of threaded-weak-ref tests 984s # End of GObject tests 984s ok - glib/threadtests.test 984s # Running test: glib/regex.test 984s TAP version 13 984s # random seed: R02S794ff0a13e0bb01c1617b0ac389d4833 984s 1..848 984s # Start of regex tests 984s ok 1 /regex/properties 984s ok 2 /regex/class 984s ok 3 /regex/lookahead 984s ok 4 /regex/lookbehind 984s ok 5 /regex/subpattern 984s ok 6 /regex/condition 984s ok 7 /regex/recursion 984s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 984s ok 8 /regex/multiline 984s ok 9 /regex/explicit-crlf 984s ok 10 /regex/max-lookbehind 984s ok 11 /regex/compile-errors 984s ok 12 /regex/jit-unsupported-matching 984s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 984s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 984s ok 13 /regex/unmatched-named-subpattern 984s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 984s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 984s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 984s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 984s ok 14 /regex/compiled-regex-after-jit-failure 984s # Start of new tests 984s ok 15 /regex/new/1 984s ok 16 /regex/new/2 984s ok 17 /regex/new/3 984s ok 18 /regex/new/4 984s ok 19 /regex/new/5 984s ok 20 /regex/new/6 984s ok 21 /regex/new/7 984s ok 22 /regex/new/8 984s ok 23 /regex/new/9 984s ok 24 /regex/new/10 984s ok 25 /regex/new/11 984s ok 26 /regex/new/12 984s ok 27 /regex/new/13 984s ok 28 /regex/new/14 984s ok 29 /regex/new/15 984s ok 30 /regex/new/16 984s ok 31 /regex/new/17 984s ok 32 /regex/new/18 984s ok 33 /regex/new/19 984s ok 34 /regex/new/71 984s ok 35 /regex/new/80 984s ok 36 /regex/new/82 984s # End of new tests 984s # Start of new-check-flags tests 984s ok 37 /regex/new-check-flags/20 984s ok 38 /regex/new-check-flags/21 984s ok 39 /regex/new-check-flags/22 984s ok 40 /regex/new-check-flags/23 984s ok 41 /regex/new-check-flags/24 984s ok 42 /regex/new-check-flags/25 984s ok 43 /regex/new-check-flags/26 984s ok 44 /regex/new-check-flags/27 984s ok 45 /regex/new-check-flags/28 984s ok 46 /regex/new-check-flags/29 984s ok 47 /regex/new-check-flags/30 984s ok 48 /regex/new-check-flags/31 984s ok 49 /regex/new-check-flags/32 984s ok 50 /regex/new-check-flags/33 984s ok 51 /regex/new-check-flags/34 984s ok 52 /regex/new-check-flags/35 984s ok 53 /regex/new-check-flags/36 984s # End of new-check-flags tests 984s # Start of new-fail tests 984s ok 54 /regex/new-fail/37 984s ok 55 /regex/new-fail/38 984s ok 56 /regex/new-fail/39 984s ok 57 /regex/new-fail/40 984s ok 58 /regex/new-fail/41 984s ok 59 /regex/new-fail/42 984s ok 60 /regex/new-fail/43 984s ok 61 /regex/new-fail/44 984s ok 62 /regex/new-fail/45 984s ok 63 /regex/new-fail/46 984s ok 64 /regex/new-fail/47 984s ok 65 /regex/new-fail/48 984s ok 66 /regex/new-fail/49 984s ok 67 /regex/new-fail/50 984s ok 68 /regex/new-fail/51 984s ok 69 /regex/new-fail/52 984s ok 70 /regex/new-fail/53 984s ok 71 /regex/new-fail/54 984s ok 72 /regex/new-fail/55 984s ok 73 /regex/new-fail/56 984s ok 74 /regex/new-fail/57 984s ok 75 /regex/new-fail/58 984s ok 76 /regex/new-fail/59 984s ok 77 /regex/new-fail/60 984s ok 78 /regex/new-fail/61 984s ok 79 /regex/new-fail/62 984s ok 80 /regex/new-fail/63 984s ok 81 /regex/new-fail/64 984s ok 82 /regex/new-fail/65 984s ok 83 /regex/new-fail/66 984s ok 84 /regex/new-fail/67 984s ok 85 /regex/new-fail/68 984s ok 86 /regex/new-fail/69 984s ok 87 /regex/new-fail/70 984s ok 88 /regex/new-fail/72 984s ok 89 /regex/new-fail/73 984s ok 90 /regex/new-fail/74 984s ok 91 /regex/new-fail/75 984s ok 92 /regex/new-fail/76 984s ok 93 /regex/new-fail/77 984s ok 94 /regex/new-fail/78 984s ok 95 /regex/new-fail/79 984s ok 96 /regex/new-fail/81 984s ok 97 /regex/new-fail/83 984s ok 98 /regex/new-fail/84 984s ok 99 /regex/new-fail/85 984s ok 100 /regex/new-fail/86 984s ok 101 /regex/new-fail/87 984s ok 102 /regex/new-fail/88 984s ok 103 /regex/new-fail/89 984s ok 104 /regex/new-fail/90 984s ok 105 /regex/new-fail/91 984s # End of new-fail tests 984s # Start of match-simple tests 984s ok 106 /regex/match-simple/92 984s ok 107 /regex/match-simple/93 984s ok 108 /regex/match-simple/94 984s ok 109 /regex/match-simple/95 984s ok 110 /regex/match-simple/96 984s ok 111 /regex/match-simple/97 984s ok 112 /regex/match-simple/98 984s ok 113 /regex/match-simple/99 984s ok 114 /regex/match-simple/100 984s ok 115 /regex/match-simple/101 984s ok 116 /regex/match-simple/102 984s ok 117 /regex/match-simple/103 984s ok 118 /regex/match-simple/104 984s ok 119 /regex/match-simple/105 984s ok 120 /regex/match-simple/106 984s ok 121 /regex/match-simple/107 984s ok 122 /regex/match-simple/108 984s ok 123 /regex/match-simple/109 984s ok 124 /regex/match-simple/110 984s ok 125 /regex/match-simple/111 984s ok 126 /regex/match-simple/112 984s ok 127 /regex/match-simple/113 984s ok 128 /regex/match-simple/114 984s ok 129 /regex/match-simple/115 984s ok 130 /regex/match-simple/116 984s ok 131 /regex/match-simple/117 984s ok 132 /regex/match-simple/118 984s ok 133 /regex/match-simple/119 984s ok 134 /regex/match-simple/120 984s ok 135 /regex/match-simple/121 984s ok 136 /regex/match-simple/122 984s ok 137 /regex/match-simple/123 984s ok 138 /regex/match-simple/124 984s ok 139 /regex/match-simple/125 984s ok 140 /regex/match-simple/126 984s ok 141 /regex/match-simple/127 984s ok 142 /regex/match-simple/128 984s ok 143 /regex/match-simple/129 984s ok 144 /regex/match-simple/130 984s ok 145 /regex/match-simple/131 984s ok 146 /regex/match-simple/132 984s ok 147 /regex/match-simple/133 984s ok 148 /regex/match-simple/134 984s ok 149 /regex/match-simple/135 984s ok 150 /regex/match-simple/136 984s ok 151 /regex/match-simple/137 984s ok 152 /regex/match-simple/138 984s ok 153 /regex/match-simple/139 984s ok 154 /regex/match-simple/140 984s ok 155 /regex/match-simple/141 984s ok 156 /regex/match-simple/142 984s ok 157 /regex/match-simple/143 984s ok 158 /regex/match-simple/144 984s ok 159 /regex/match-simple/145 984s ok 160 /regex/match-simple/146 984s ok 161 /regex/match-simple/147 984s ok 162 /regex/match-simple/148 984s ok 163 /regex/match-simple/149 984s ok 164 /regex/match-simple/150 984s ok 165 /regex/match-simple/151 984s ok 166 /regex/match-simple/152 984s ok 167 /regex/match-simple/153 984s ok 168 /regex/match-simple/154 984s ok 169 /regex/match-simple/155 984s ok 170 /regex/match-simple/156 984s ok 171 /regex/match-simple/157 984s ok 172 /regex/match-simple/158 984s ok 173 /regex/match-simple/159 984s ok 174 /regex/match-simple/160 984s ok 175 /regex/match-simple/161 984s ok 176 /regex/match-simple/162 984s ok 177 /regex/match-simple/163 984s ok 178 /regex/match-simple/164 984s # End of match-simple tests 984s # Start of match-simple-optimized tests 984s ok 179 /regex/match-simple-optimized/92 984s ok 180 /regex/match-simple-optimized/93 984s ok 181 /regex/match-simple-optimized/94 984s ok 182 /regex/match-simple-optimized/95 984s ok 183 /regex/match-simple-optimized/96 984s ok 184 /regex/match-simple-optimized/97 984s ok 185 /regex/match-simple-optimized/98 984s ok 186 /regex/match-simple-optimized/99 984s ok 187 /regex/match-simple-optimized/100 984s ok 188 /regex/match-simple-optimized/101 984s ok 189 /regex/match-simple-optimized/102 984s ok 190 /regex/match-simple-optimized/103 984s ok 191 /regex/match-simple-optimized/104 984s ok 192 /regex/match-simple-optimized/105 984s ok 193 /regex/match-simple-optimized/106 984s ok 194 /regex/match-simple-optimized/107 984s ok 195 /regex/match-simple-optimized/108 984s ok 196 /regex/match-simple-optimized/109 984s ok 197 /regex/match-simple-optimized/110 984s ok 198 /regex/match-simple-optimized/111 984s ok 199 /regex/match-simple-optimized/112 984s ok 200 /regex/match-simple-optimized/113 984s ok 201 /regex/match-simple-optimized/114 984s ok 202 /regex/match-simple-optimized/115 984s ok 203 /regex/match-simple-optimized/116 984s ok 204 /regex/match-simple-optimized/117 984s ok 205 /regex/match-simple-optimized/118 984s ok 206 /regex/match-simple-optimized/119 984s ok 207 /regex/match-simple-optimized/120 984s ok 208 /regex/match-simple-optimized/121 984s ok 209 /regex/match-simple-optimized/122 984s ok 210 /regex/match-simple-optimized/123 984s ok 211 /regex/match-simple-optimized/124 984s ok 212 /regex/match-simple-optimized/125 984s ok 213 /regex/match-simple-optimized/126 984s ok 214 /regex/match-simple-optimized/127 984s ok 215 /regex/match-simple-optimized/128 984s ok 216 /regex/match-simple-optimized/129 984s ok 217 /regex/match-simple-optimized/130 984s ok 218 /regex/match-simple-optimized/131 984s ok 219 /regex/match-simple-optimized/132 984s ok 220 /regex/match-simple-optimized/133 984s ok 221 /regex/match-simple-optimized/134 984s ok 222 /regex/match-simple-optimized/135 984s ok 223 /regex/match-simple-optimized/136 984s ok 224 /regex/match-simple-optimized/137 984s ok 225 /regex/match-simple-optimized/138 984s ok 226 /regex/match-simple-optimized/139 984s ok 227 /regex/match-simple-optimized/140 984s ok 228 /regex/match-simple-optimized/141 984s ok 229 /regex/match-simple-optimized/142 984s ok 230 /regex/match-simple-optimized/143 984s ok 231 /regex/match-simple-optimized/144 984s ok 232 /regex/match-simple-optimized/145 984s ok 233 /regex/match-simple-optimized/146 984s ok 234 /regex/match-simple-optimized/147 984s ok 235 /regex/match-simple-optimized/148 984s ok 236 /regex/match-simple-optimized/149 984s ok 237 /regex/match-simple-optimized/150 984s ok 238 /regex/match-simple-optimized/151 984s ok 239 /regex/match-simple-optimized/152 984s ok 240 /regex/match-simple-optimized/153 984s ok 241 /regex/match-simple-optimized/154 984s ok 242 /regex/match-simple-optimized/155 984s ok 243 /regex/match-simple-optimized/156 984s ok 244 /regex/match-simple-optimized/157 984s ok 245 /regex/match-simple-optimized/158 984s ok 246 /regex/match-simple-optimized/159 984s ok 247 /regex/match-simple-optimized/160 984s ok 248 /regex/match-simple-optimized/161 984s ok 249 /regex/match-simple-optimized/162 984s ok 250 /regex/match-simple-optimized/163 984s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 984s # Executing: glib/regex.test 984s ok 251 /regex/match-simple-optimized/164 984s # End of match-simple-optimized tests 984s # Start of match tests 984s ok 252 /regex/match/165 984s ok 253 /regex/match/166 984s ok 254 /regex/match/167 984s ok 255 /regex/match/168 984s ok 256 /regex/match/169 984s ok 257 /regex/match/170 984s ok 258 /regex/match/171 984s ok 259 /regex/match/172 984s ok 260 /regex/match/173 984s ok 261 /regex/match/174 984s ok 262 /regex/match/175 984s ok 263 /regex/match/176 984s ok 264 /regex/match/177 984s ok 265 /regex/match/178 984s ok 266 /regex/match/179 984s ok 267 /regex/match/180 984s ok 268 /regex/match/181 984s ok 269 /regex/match/182 984s ok 270 /regex/match/183 984s ok 271 /regex/match/184 984s ok 272 /regex/match/185 984s ok 273 /regex/match/186 984s ok 274 /regex/match/187 984s ok 275 /regex/match/188 984s ok 276 /regex/match/189 984s ok 277 /regex/match/190 984s ok 278 /regex/match/191 984s ok 279 /regex/match/192 984s ok 280 /regex/match/193 984s ok 281 /regex/match/194 984s ok 282 /regex/match/195 984s ok 283 /regex/match/196 984s ok 284 /regex/match/197 984s ok 285 /regex/match/198 984s ok 286 /regex/match/199 984s ok 287 /regex/match/200 984s ok 288 /regex/match/201 984s ok 289 /regex/match/202 984s ok 290 /regex/match/203 984s ok 291 /regex/match/204 984s ok 292 /regex/match/205 984s ok 293 /regex/match/206 984s ok 294 /regex/match/207 984s ok 295 /regex/match/208 984s ok 296 /regex/match/209 984s ok 297 /regex/match/210 984s ok 298 /regex/match/211 984s ok 299 /regex/match/212 984s ok 300 /regex/match/213 984s ok 301 /regex/match/214 984s ok 302 /regex/match/215 984s ok 303 /regex/match/216 984s ok 304 /regex/match/217 984s ok 305 /regex/match/218 984s ok 306 /regex/match/219 984s ok 307 /regex/match/220 984s ok 308 /regex/match/221 984s ok 309 /regex/match/222 984s ok 310 /regex/match/223 984s ok 311 /regex/match/224 984s ok 312 /regex/match/225 984s ok 313 /regex/match/226 984s ok 314 /regex/match/227 984s ok 315 /regex/match/228 984s ok 316 /regex/match/229 984s ok 317 /regex/match/230 984s ok 318 /regex/match/231 984s ok 319 /regex/match/232 984s ok 320 /regex/match/233 984s ok 321 /regex/match/234 984s ok 322 /regex/match/235 984s ok 323 /regex/match/236 984s ok 324 /regex/match/237 984s ok 325 /regex/match/238 984s ok 326 /regex/match/239 984s ok 327 /regex/match/240 984s ok 328 /regex/match/241 984s ok 329 /regex/match/242 984s ok 330 /regex/match/243 984s ok 331 /regex/match/244 984s ok 332 /regex/match/245 984s ok 333 /regex/match/246 984s ok 334 /regex/match/partial281 984s ok 335 /regex/match/partial282 984s ok 336 /regex/match/partial283 984s ok 337 /regex/match/partial284 984s ok 338 /regex/match/partial285 984s ok 339 /regex/match/partial286 984s ok 340 /regex/match/partial287 984s ok 341 /regex/match/partial288 984s ok 342 /regex/match/partial289 984s ok 343 /regex/match/partial290 984s ok 344 /regex/match/partial291 984s ok 345 /regex/match/partial292 984s ok 346 /regex/match/partial293 984s ok 347 /regex/match/partial294 984s ok 348 /regex/match/partial295 984s ok 349 /regex/match/partial296 984s ok 350 /regex/match/partial297 984s ok 351 /regex/match/partial298 984s ok 352 /regex/match/partial299 984s ok 353 /regex/match/partial300 984s ok 354 /regex/match/partial301 984s ok 355 /regex/match/partial302 984s # Start of next0 tests 984s ok 356 /regex/match/next0/247 984s ok 357 /regex/match/next0/248 984s ok 358 /regex/match/next0/249 984s ok 359 /regex/match/next0/250 984s # End of next0 tests 984s # Start of next1 tests 984s ok 360 /regex/match/next1/251 984s ok 361 /regex/match/next1/252 984s ok 362 /regex/match/next1/253 984s ok 363 /regex/match/next1/254 984s ok 364 /regex/match/next1/255 984s # End of next1 tests 984s # Start of next2 tests 984s ok 365 /regex/match/next2/256 984s ok 366 /regex/match/next2/257 984s ok 367 /regex/match/next2/258 984s ok 368 /regex/match/next2/259 984s ok 369 /regex/match/next2/260 984s ok 370 /regex/match/next2/261 984s ok 371 /regex/match/next2/262 984s ok 372 /regex/match/next2/263 984s # End of next2 tests 984s # Start of next3 tests 984s ok 373 /regex/match/next3/264 984s ok 374 /regex/match/next3/265 984s ok 375 /regex/match/next3/266 984s ok 376 /regex/match/next3/267 984s ok 377 /regex/match/next3/268 984s ok 378 /regex/match/next3/269 984s # End of next3 tests 984s # Start of next4 tests 984s ok 379 /regex/match/next4/270 984s # End of next4 tests 984s # Start of count tests 984s ok 380 /regex/match/count/271 984s ok 381 /regex/match/count/272 984s ok 382 /regex/match/count/273 984s ok 383 /regex/match/count/274 984s ok 384 /regex/match/count/275 984s ok 385 /regex/match/count/276 984s ok 386 /regex/match/count/277 984s ok 387 /regex/match/count/278 984s ok 388 /regex/match/count/279 984s ok 389 /regex/match/count/280 984s # End of count tests 984s # Start of count-optimized tests 984s ok 390 /regex/match/count-optimized/271 984s ok 391 /regex/match/count-optimized/272 984s ok 392 /regex/match/count-optimized/273 984s ok 393 /regex/match/count-optimized/274 984s ok 394 /regex/match/count-optimized/275 984s ok 395 /regex/match/count-optimized/276 984s ok 396 /regex/match/count-optimized/277 984s ok 397 /regex/match/count-optimized/278 984s ok 398 /regex/match/count-optimized/279 984s ok 399 /regex/match/count-optimized/280 984s # End of count-optimized tests 984s # Start of partial-optimized tests 984s ok 400 /regex/match/partial-optimized/281 984s ok 401 /regex/match/partial-optimized/282 984s ok 402 /regex/match/partial-optimized/283 984s ok 403 /regex/match/partial-optimized/284 984s ok 404 /regex/match/partial-optimized/285 984s ok 405 /regex/match/partial-optimized/286 984s ok 406 /regex/match/partial-optimized/287 984s ok 407 /regex/match/partial-optimized/288 984s ok 408 /regex/match/partial-optimized/289 984s ok 409 /regex/match/partial-optimized/290 984s ok 410 /regex/match/partial-optimized/291 984s ok 411 /regex/match/partial-optimized/292 984s ok 412 /regex/match/partial-optimized/293 984s ok 413 /regex/match/partial-optimized/294 984s ok 414 /regex/match/partial-optimized/295 984s ok 415 /regex/match/partial-optimized/296 984s ok 416 /regex/match/partial-optimized/297 984s ok 417 /regex/match/partial-optimized/298 984s ok 418 /regex/match/partial-optimized/299 984s ok 419 /regex/match/partial-optimized/300 984s ok 420 /regex/match/partial-optimized/301 984s ok 421 /regex/match/partial-optimized/302 984s # End of partial-optimized tests 984s # Start of subpattern tests 984s ok 422 /regex/match/subpattern/303 984s ok 423 /regex/match/subpattern/304 984s ok 424 /regex/match/subpattern/305 984s ok 425 /regex/match/subpattern/306 984s ok 426 /regex/match/subpattern/307 984s ok 427 /regex/match/subpattern/308 984s ok 428 /regex/match/subpattern/309 984s ok 429 /regex/match/subpattern/310 984s ok 430 /regex/match/subpattern/311 984s ok 431 /regex/match/subpattern/312 984s ok 432 /regex/match/subpattern/313 984s ok 433 /regex/match/subpattern/314 984s ok 434 /regex/match/subpattern/315 984s # Start of named tests 984s # Start of dupnames tests 984s ok 435 /regex/match/subpattern/named/dupnames/325 984s ok 436 /regex/match/subpattern/named/dupnames/326 984s ok 437 /regex/match/subpattern/named/dupnames/327 984s ok 438 /regex/match/subpattern/named/dupnames/328 984s ok 439 /regex/match/subpattern/named/dupnames/329 984s # End of dupnames tests 984s # End of named tests 984s # End of subpattern tests 984s # Start of subpattern-optimized tests 984s ok 440 /regex/match/subpattern-optimized/303 984s ok 441 /regex/match/subpattern-optimized/304 984s ok 442 /regex/match/subpattern-optimized/305 984s ok 443 /regex/match/subpattern-optimized/306 984s ok 444 /regex/match/subpattern-optimized/307 984s ok 445 /regex/match/subpattern-optimized/308 984s ok 446 /regex/match/subpattern-optimized/309 984s ok 447 /regex/match/subpattern-optimized/310 984s ok 448 /regex/match/subpattern-optimized/311 984s ok 449 /regex/match/subpattern-optimized/312 984s ok 450 /regex/match/subpattern-optimized/313 984s ok 451 /regex/match/subpattern-optimized/314 984s ok 452 /regex/match/subpattern-optimized/315 984s # End of subpattern-optimized tests 984s # Start of named tests 984s # Start of subpattern tests 984s ok 453 /regex/match/named/subpattern/316 984s ok 454 /regex/match/named/subpattern/317 984s ok 455 /regex/match/named/subpattern/318 984s ok 456 /regex/match/named/subpattern/319 984s ok 457 /regex/match/named/subpattern/320 984s ok 458 /regex/match/named/subpattern/321 984s ok 459 /regex/match/named/subpattern/322 984s ok 460 /regex/match/named/subpattern/323 984s ok 461 /regex/match/named/subpattern/324 984s ok 462 /regex/match/named/subpattern/330 984s ok 463 /regex/match/named/subpattern/331 984s ok 464 /regex/match/named/subpattern/332 984s ok 465 /regex/match/named/subpattern/333 984s ok 466 /regex/match/named/subpattern/334 984s # End of subpattern tests 984s # End of named tests 984s # End of match tests 984s # Start of match-optimized tests 984s ok 467 /regex/match-optimized/165 984s ok 468 /regex/match-optimized/166 984s ok 469 /regex/match-optimized/167 984s ok 470 /regex/match-optimized/168 984s ok 471 /regex/match-optimized/169 984s ok 472 /regex/match-optimized/170 984s ok 473 /regex/match-optimized/171 984s ok 474 /regex/match-optimized/172 984s ok 475 /regex/match-optimized/173 984s ok 476 /regex/match-optimized/174 984s ok 477 /regex/match-optimized/175 984s ok 478 /regex/match-optimized/176 984s ok 479 /regex/match-optimized/177 984s ok 480 /regex/match-optimized/178 984s ok 481 /regex/match-optimized/179 984s ok 482 /regex/match-optimized/180 984s ok 483 /regex/match-optimized/181 984s ok 484 /regex/match-optimized/182 984s ok 485 /regex/match-optimized/183 984s ok 486 /regex/match-optimized/184 984s ok 487 /regex/match-optimized/185 984s ok 488 /regex/match-optimized/186 984s ok 489 /regex/match-optimized/187 984s ok 490 /regex/match-optimized/188 984s ok 491 /regex/match-optimized/189 984s ok 492 /regex/match-optimized/190 984s ok 493 /regex/match-optimized/191 984s ok 494 /regex/match-optimized/192 984s ok 495 /regex/match-optimized/193 984s ok 496 /regex/match-optimized/194 984s ok 497 /regex/match-optimized/195 984s ok 498 /regex/match-optimized/196 984s ok 499 /regex/match-optimized/197 984s ok 500 /regex/match-optimized/198 984s ok 501 /regex/match-optimized/199 984s ok 502 /regex/match-optimized/200 984s ok 503 /regex/match-optimized/201 984s ok 504 /regex/match-optimized/202 984s ok 505 /regex/match-optimized/203 984s ok 506 /regex/match-optimized/204 984s ok 507 /regex/match-optimized/205 984s ok 508 /regex/match-optimized/206 984s ok 509 /regex/match-optimized/207 984s ok 510 /regex/match-optimized/208 984s ok 511 /regex/match-optimized/209 984s ok 512 /regex/match-optimized/210 984s ok 513 /regex/match-optimized/211 984s ok 514 /regex/match-optimized/212 984s ok 515 /regex/match-optimized/213 984s ok 516 /regex/match-optimized/214 984s ok 517 /regex/match-optimized/215 984s ok 518 /regex/match-optimized/216 984s ok 519 /regex/match-optimized/217 984s ok 520 /regex/match-optimized/218 984s ok 521 /regex/match-optimized/219 984s ok 522 /regex/match-optimized/220 984s ok 523 /regex/match-optimized/221 984s ok 524 /regex/match-optimized/222 984s ok 525 /regex/match-optimized/223 984s ok 526 /regex/match-optimized/224 984s ok 527 /regex/match-optimized/225 984s ok 528 /regex/match-optimized/226 984s ok 529 /regex/match-optimized/227 984s ok 530 /regex/match-optimized/228 984s ok 531 /regex/match-optimized/229 984s ok 532 /regex/match-optimized/230 984s ok 533 /regex/match-optimized/231 984s ok 534 /regex/match-optimized/232 984s ok 535 /regex/match-optimized/233 984s ok 536 /regex/match-optimized/234 984s ok 537 /regex/match-optimized/235 984s ok 538 /regex/match-optimized/236 984s ok 539 /regex/match-optimized/237 984s ok 540 /regex/match-optimized/238 984s ok 541 /regex/match-optimized/239 984s ok 542 /regex/match-optimized/240 984s ok 543 /regex/match-optimized/241 984s ok 544 /regex/match-optimized/242 984s ok 545 /regex/match-optimized/243 984s ok 546 /regex/match-optimized/244 984s ok 547 /regex/match-optimized/245 984s ok 548 /regex/match-optimized/246 984s # End of match-optimized tests 984s # Start of fetch-all0 tests 984s ok 549 /regex/fetch-all0/335 984s ok 550 /regex/fetch-all0/336 984s # End of fetch-all0 tests 984s # Start of fetch-all1 tests 984s ok 551 /regex/fetch-all1/337 984s ok 552 /regex/fetch-all1/338 984s ok 553 /regex/fetch-all1/339 984s # End of fetch-all1 tests 984s # Start of fetch-all2 tests 984s ok 554 /regex/fetch-all2/340 984s ok 555 /regex/fetch-all2/341 984s ok 556 /regex/fetch-all2/342 984s # End of fetch-all2 tests 984s # Start of fetch-all3 tests 984s ok 557 /regex/fetch-all3/343 984s ok 558 /regex/fetch-all3/344 984s ok 559 /regex/fetch-all3/345 984s ok 560 /regex/fetch-all3/346 984s ok 561 /regex/fetch-all3/347 984s # End of fetch-all3 tests 984s # Start of split tests 984s # Start of simple0 tests 984s ok 562 /regex/split/simple0/348 984s ok 563 /regex/split/simple0/349 984s ok 564 /regex/split/simple0/364 984s ok 565 /regex/split/simple0/365 984s # End of simple0 tests 984s # Start of simple1 tests 984s ok 566 /regex/split/simple1/350 984s ok 567 /regex/split/simple1/351 984s # End of simple1 tests 984s # Start of simple2 tests 984s ok 568 /regex/split/simple2/352 984s ok 569 /regex/split/simple2/358 984s ok 570 /regex/split/simple2/360 984s # End of simple2 tests 984s # Start of simple3 tests 984s ok 571 /regex/split/simple3/353 984s ok 572 /regex/split/simple3/354 984s ok 573 /regex/split/simple3/355 984s ok 574 /regex/split/simple3/356 984s ok 575 /regex/split/simple3/357 984s ok 576 /regex/split/simple3/359 984s ok 577 /regex/split/simple3/361 984s ok 578 /regex/split/simple3/362 984s ok 579 /regex/split/simple3/363 984s # End of simple3 tests 984s # End of split tests 984s # Start of split0 tests 984s ok 580 /regex/split0/366 984s ok 581 /regex/split0/368 984s # End of split0 tests 984s # Start of full-split0 tests 984s ok 582 /regex/full-split0/367 984s ok 583 /regex/full-split0/369 984s ok 584 /regex/full-split0/370 984s ok 585 /regex/full-split0/371 984s ok 586 /regex/full-split0/372 984s # End of full-split0 tests 984s # Start of split1 tests 984s ok 587 /regex/split1/373 984s ok 588 /regex/split1/376 984s # End of split1 tests 984s # Start of full-split1 tests 984s ok 589 /regex/full-split1/374 984s ok 590 /regex/full-split1/375 984s ok 591 /regex/full-split1/377 984s ok 592 /regex/full-split1/378 984s ok 593 /regex/full-split1/404 984s # End of full-split1 tests 984s # Start of split2 tests 984s ok 594 /regex/split2/379 984s ok 595 /regex/split2/383 984s ok 596 /regex/split2/395 984s # End of split2 tests 984s # Start of full-split2 tests 984s ok 597 /regex/full-split2/380 984s ok 598 /regex/full-split2/381 984s ok 599 /regex/full-split2/382 984s ok 600 /regex/full-split2/384 984s ok 601 /regex/full-split2/396 984s ok 602 /regex/full-split2/399 984s ok 603 /regex/full-split2/405 984s # End of full-split2 tests 984s # Start of split3 tests 984s ok 604 /regex/split3/385 984s ok 605 /regex/split3/387 984s ok 606 /regex/split3/389 984s ok 607 /regex/split3/391 984s ok 608 /regex/split3/393 984s ok 609 /regex/split3/397 984s ok 610 /regex/split3/400 984s ok 611 /regex/split3/402 984s # End of split3 tests 984s # Start of full-split3 tests 984s ok 612 /regex/full-split3/386 984s ok 613 /regex/full-split3/388 984s ok 614 /regex/full-split3/390 984s ok 615 /regex/full-split3/392 984s ok 616 /regex/full-split3/394 984s ok 617 /regex/full-split3/398 984s ok 618 /regex/full-split3/401 984s ok 619 /regex/full-split3/403 984s ok 620 /regex/full-split3/406 984s ok 621 /regex/full-split3/407 984s # End of full-split3 tests 984s # Start of check-repacement tests 984s ok 622 /regex/check-repacement/408 984s ok 623 /regex/check-repacement/409 984s ok 624 /regex/check-repacement/410 984s ok 625 /regex/check-repacement/411 984s ok 626 /regex/check-repacement/412 984s ok 627 /regex/check-repacement/413 984s ok 628 /regex/check-repacement/414 984s ok 629 /regex/check-repacement/415 984s # End of check-repacement tests 984s # Start of expand tests 984s ok 630 /regex/expand/416 984s ok 631 /regex/expand/417 984s ok 632 /regex/expand/418 984s ok 633 /regex/expand/419 984s ok 634 /regex/expand/420 984s ok 635 /regex/expand/421 984s ok 636 /regex/expand/422 984s ok 637 /regex/expand/423 984s ok 638 /regex/expand/424 984s ok 639 /regex/expand/425 984s ok 640 /regex/expand/426 984s ok 641 /regex/expand/427 984s ok 642 /regex/expand/428 984s ok 643 /regex/expand/429 984s ok 644 /regex/expand/430 984s ok 645 /regex/expand/431 984s ok 646 /regex/expand/432 984s ok 647 /regex/expand/433 984s ok 648 /regex/expand/434 984s ok 649 /regex/expand/435 984s ok 650 /regex/expand/436 984s ok 651 /regex/expand/437 984s ok 652 /regex/expand/438 984s ok 653 /regex/expand/439 984s ok 654 /regex/expand/440 984s ok 655 /regex/expand/441 984s ok 656 /regex/expand/442 984s ok 657 /regex/expand/443 984s ok 658 /regex/expand/444 984s ok 659 /regex/expand/445 984s ok 660 /regex/expand/446 984s ok 661 /regex/expand/447 984s ok 662 /regex/expand/448 984s ok 663 /regex/expand/449 984s ok 664 /regex/expand/450 984s ok 665 /regex/expand/451 984s ok 666 /regex/expand/452 984s ok 667 /regex/expand/453 984s ok 668 /regex/expand/454 984s ok 669 /regex/expand/455 984s ok 670 /regex/expand/456 984s ok 671 /regex/expand/457 984s ok 672 /regex/expand/458 984s ok 673 /regex/expand/459 984s ok 674 /regex/expand/460 984s ok 675 /regex/expand/461 984s ok 676 /regex/expand/462 984s ok 677 /regex/expand/463 984s ok 678 /regex/expand/464 984s ok 679 /regex/expand/465 984s ok 680 /regex/expand/466 984s ok 681 /regex/expand/467 984s ok 682 /regex/expand/468 984s ok 683 /regex/expand/469 984s ok 684 /regex/expand/470 984s ok 685 /regex/expand/471 984s ok 686 /regex/expand/472 984s ok 687 /regex/expand/473 984s ok 688 /regex/expand/474 984s ok 689 /regex/expand/475 984s ok 690 /regex/expand/476 984s ok 691 /regex/expand/477 984s ok 692 /regex/expand/478 984s ok 693 /regex/expand/479 984s ok 694 /regex/expand/480 984s ok 695 /regex/expand/481 984s # End of expand tests 984s # Start of replace tests 984s ok 696 /regex/replace/482 984s ok 697 /regex/replace/483 984s ok 698 /regex/replace/484 984s ok 699 /regex/replace/485 984s ok 700 /regex/replace/486 984s ok 701 /regex/replace/487 984s ok 702 /regex/replace/488 984s ok 703 /regex/replace/489 984s ok 704 /regex/replace/490 984s ok 705 /regex/replace/491 984s ok 706 /regex/replace/492 984s ok 707 /regex/replace/493 984s ok 708 /regex/replace/494 984s ok 709 /regex/replace/495 984s ok 710 /regex/replace/496 984s ok 711 /regex/replace/497 984s ok 712 /regex/replace/498 984s ok 713 /regex/replace/499 984s ok 714 /regex/replace/500 984s ok 715 /regex/replace/501 984s ok 716 /regex/replace/502 984s ok 717 /regex/replace/503 984s ok 718 /regex/replace/504 984s ok 719 /regex/replace/505 984s ok 720 /regex/replace/506 984s ok 721 /regex/replace/507 984s ok 722 /regex/replace/508 984s ok 723 /regex/replace/509 984s # End of replace tests 984s # Start of replace-optimized tests 984s ok 724 /regex/replace-optimized/482 984s ok 725 /regex/replace-optimized/483 984s ok 726 /regex/replace-optimized/484 984s ok 727 /regex/replace-optimized/485 984s ok 728 /regex/replace-optimized/486 984s ok 729 /regex/replace-optimized/487 984s ok 730 /regex/replace-optimized/488 984s ok 731 /regex/replace-optimized/489 984s ok 732 /regex/replace-optimized/490 984s ok 733 /regex/replace-optimized/491 984s ok 734 /regex/replace-optimized/492 984s ok 735 /regex/replace-optimized/493 984s ok 736 /regex/replace-optimized/494 984s ok 737 /regex/replace-optimized/495 984s ok 738 /regex/replace-optimized/496 984s ok 739 /regex/replace-optimized/497 984s ok 740 /regex/replace-optimized/498 984s ok 741 /regex/replace-optimized/499 984s ok 742 /regex/replace-optimized/500 984s ok 743 /regex/replace-optimized/501 984s ok 744 /regex/replace-optimized/502 984s ok 745 /regex/replace-optimized/503 984s ok 746 /regex/replace-optimized/504 984s ok 747 /regex/replace-optimized/505 984s ok 748 /regex/replace-optimized/506 984s ok 749 /regex/replace-optimized/507 984s ok 750 /regex/replace-optimized/508 984s ok 751 /regex/replace-optimized/509 984s # End of replace-optimized tests 984s # Start of replace-literally tests 984s ok 752 /regex/replace-literally/510 984s ok 753 /regex/replace-literally/511 984s ok 754 /regex/replace-literally/512 984s ok 755 /regex/replace-literally/513 984s ok 756 /regex/replace-literally/514 984s ok 757 /regex/replace-literally/515 984s ok 758 /regex/replace-literally/516 984s ok 759 /regex/replace-literally/517 984s ok 760 /regex/replace-literally/518 984s ok 761 /regex/replace-literally/519 984s ok 762 /regex/replace-literally/520 984s ok 763 /regex/replace-literally/521 984s ok 764 /regex/replace-literally/522 984s ok 765 /regex/replace-literally/523 984s ok 766 /regex/replace-literally/524 984s ok 767 /regex/replace-literally/525 984s ok 768 /regex/replace-literally/526 984s ok 769 /regex/replace-literally/527 984s ok 770 /regex/replace-literally/528 984s ok 771 /regex/replace-literally/529 984s # End of replace-literally tests 984s # Start of string-number tests 984s ok 772 /regex/string-number/530 984s ok 773 /regex/string-number/531 984s ok 774 /regex/string-number/532 984s ok 775 /regex/string-number/533 984s ok 776 /regex/string-number/534 984s ok 777 /regex/string-number/535 984s ok 778 /regex/string-number/536 984s ok 779 /regex/string-number/537 984s ok 780 /regex/string-number/538 984s ok 781 /regex/string-number/539 984s ok 782 /regex/string-number/540 984s ok 783 /regex/string-number/541 984s ok 784 /regex/string-number/542 984s ok 785 /regex/string-number/543 984s ok 786 /regex/string-number/544 984s # End of string-number tests 984s # Start of escape_nul tests 984s ok 787 /regex/escape_nul/545 984s ok 788 /regex/escape_nul/546 984s ok 789 /regex/escape_nul/547 984s ok 790 /regex/escape_nul/548 984s ok 791 /regex/escape_nul/549 984s ok 792 /regex/escape_nul/550 984s ok 793 /regex/escape_nul/551 984s ok 794 /regex/escape_nul/552 984s ok 795 /regex/escape_nul/553 984s ok 796 /regex/escape_nul/554 984s ok 797 /regex/escape_nul/555 984s ok 798 /regex/escape_nul/556 984s ok 799 /regex/escape_nul/557 984s ok 800 /regex/escape_nul/558 984s ok 801 /regex/escape_nul/559 984s # End of escape_nul tests 984s # Start of escape tests 984s ok 802 /regex/escape/560 984s ok 803 /regex/escape/561 984s ok 804 /regex/escape/562 984s ok 805 /regex/escape/563 984s ok 806 /regex/escape/564 984s ok 807 /regex/escape/565 984s ok 808 /regex/escape/566 984s ok 809 /regex/escape/567 984s ok 810 /regex/escape/568 984s ok 811 /regex/escape/569 984s ok 812 /regex/escape/570 984s ok 813 /regex/escape/571 984s ok 814 /regex/escape/572 984s ok 815 /regex/escape/573 984s ok 816 /regex/escape/574 984s ok 817 /regex/escape/575 984s ok 818 /regex/escape/576 984s ok 819 /regex/escape/577 984s # End of escape tests 984s # Start of match-all0 tests 984s ok 820 /regex/match-all0/578 984s ok 821 /regex/match-all0/580 984s # End of match-all0 tests 984s # Start of match-all-full0 tests 984s ok 822 /regex/match-all-full0/579 984s ok 823 /regex/match-all-full0/581 984s ok 824 /regex/match-all-full0/582 984s ok 825 /regex/match-all-full0/583 984s # End of match-all-full0 tests 984s # Start of match-all1 tests 984s ok 826 /regex/match-all1/584 984s ok 827 /regex/match-all1/586 984s ok 828 /regex/match-all1/591 984s # End of match-all1 tests 984s # Start of match-all-full1 tests 984s ok 829 /regex/match-all-full1/585 984s ok 830 /regex/match-all-full1/587 984s ok 831 /regex/match-all-full1/588 984s ok 832 /regex/match-all-full1/589 984s ok 833 /regex/match-all-full1/590 984s ok 834 /regex/match-all-full1/592 984s # End of match-all-full1 tests 984s # Start of match-all2 tests 984s ok 835 /regex/match-all2/593 984s ok 836 /regex/match-all2/595 984s ok 837 /regex/match-all2/597 984s # End of match-all2 tests 984s # Start of match-all-full2 tests 984s ok 838 /regex/match-all-full2/594 984s ok 839 /regex/match-all-full2/596 984s ok 840 /regex/match-all-full2/598 984s # End of match-all-full2 tests 984s # Start of match-all3 tests 984s ok 841 /regex/match-all3/599 984s ok 842 /regex/match-all3/601 984s # End of match-all3 tests 984s # Start of match-all-full3 tests 984s ok 843 /regex/match-all-full3/600 984s ok 844 /regex/match-all-full3/602 984s # End of match-all-full3 tests 984s # Start of match-notempty tests 984s ok 845 /regex/match-notempty/603 984s # End of match-notempty tests 984s # Start of match-notempty-optimized tests 984s ok 846 /regex/match-notempty-optimized/603 984s # End of match-notempty-optimized tests 984s # Start of match-notempty-atstart tests 984s ok 847 /regex/match-notempty-atstart/604 984s # End of match-notempty-atstart tests 984s # Start of match-notempty-atstart-optimized tests 984s ok 848 /regex/match-notempty-atstart-optimized/604 984s # End of match-notempty-atstart-optimized tests 984s # End of regex tests 984s ok - glib/regex.test 984s # Running test: glib/spawn-singlethread.test 984s TAP version 13 984s # random seed: R02Se66bb2fc7ed59bba3f0dc04e1c9e95fb 984s 1..9 984s # Start of gthread tests 984s ok 1 /gthread/spawn-single-sync 984s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 984s ok 2 /gthread/spawn-stderr-socket 984s ok 3 /gthread/spawn-single-async 984s # thread 1 984s # thread 1 984s ok 4 /gthread/spawn-single-async-with-fds 984s ok 5 /gthread/spawn-async-with-invalid-fds 984s ok 6 /gthread/spawn-script 984s ok 7 /gthread/spawn-posix-spawn 984s # Start of spawn tests 984s ok 8 /gthread/spawn/nonexistent 984s # FD map: 984s # • 5 → 15 984s # • 6 → 16 984s # • 7 → 17 984s # • 8 → 18 984s # • 9 → 19 984s # • 10 → 20 984s # • 11 → 21 984s # • 12 → 22 984s # • 13 → 23 984s # • 3 → 13 984s ok 9 /gthread/spawn/fd-assignment-clash 984s # End of spawn tests 984s # End of gthread tests 984s ok - glib/spawn-singlethread.test 984s # Running test: glib/unicode-encoding.test 984s TAP version 13 984s # random seed: R02S068a7612d6dddb04890ae827e001b0fe 984s 1..1 984s # Start of unicode tests 984s ok 1 /unicode/encoding 984s # End of unicode tests 984s ok - glib/unicode-encoding.test 984s # Running test: glib/network-monitor.test 984s TAP version 13 984s # random seed: R02Sa29cef226ee74d3d8db6b62809107c61 984s 1..4 984s # Start of network-monitor tests 984s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 984s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 984s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 984s ok 1 /network-monitor/default 984s ok 2 /network-monitor/remove_default 984s ok 3 /network-monitor/add_networks 984s ok 4 /network-monitor/remove_networks 984s # End of network-monitor tests 984s ok - glib/network-monitor.test 984s # Running test: glib/gsocketclient-slow.test 984s TAP version 13 984s # random seed: R02S9b824db84f0d323e71e0a8c590bb6542 984s 1..3 984s # Start of socket-client tests 984s # Start of happy-eyeballs tests 984s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 984s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1107f6f2cad0 and GSocketClientAsyncConnectData 0x1107f6f262a0 984s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 984s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 984s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1107f6f2e1e0 for GSocketClientAsyncConnectData 0x1107f6f262a0 984s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 984s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 984s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 984s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 984s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 984s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 984s ok 1 /socket-client/happy-eyeballs/slow 984s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 984s # Start of cancellation tests 984s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1107f6f31900 and GSocketClientAsyncConnectData 0x1107f6f2d9f0 984s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 984s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 984s ok 2 /socket-client/happy-eyeballs/cancellation/instant 984s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1107f6f306f0 and GSocketClientAsyncConnectData 0x1107f6f262a0 984s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 984s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 984s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1107f6f32550 for GSocketClientAsyncConnectData 0x1107f6f262a0 984s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 985s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 985s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 985s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 985s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 985s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 985s ok 3 /socket-client/happy-eyeballs/cancellation/delayed 985s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 985s # End of cancellation tests 985s # End of happy-eyeballs tests 985s # End of socket-client tests 985s ok - glib/gsocketclient-slow.test 985s # Running test: glib/error.test 985s TAP version 13 985s # random seed: R02Sc777f19265fd37414160a3bf51640021 985s 1..3 985s # Start of error tests 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_RO1MK2/error/from-errno/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_RO1MK2/error/from-errno/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_RO1MK2/error/from-errno/.dirs/system-config1:/tmp/test_error_RO1MK2/error/from-errno/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_RO1MK2/error/from-errno/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_RO1MK2/error/from-errno/.dirs/system-data1:/tmp/test_error_RO1MK2/error/from-errno/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_RO1MK2/error/from-errno/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_RO1MK2/error/from-errno/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_RO1MK2/error/from-errno/.dirs/runtime 985s ok 1 /error/from-errno 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_RO1MK2/error/from-file-error/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_RO1MK2/error/from-file-error/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_RO1MK2/error/from-file-error/.dirs/system-config1:/tmp/test_error_RO1MK2/error/from-file-error/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_RO1MK2/error/from-file-error/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_RO1MK2/error/from-file-error/.dirs/system-data1:/tmp/test_error_RO1MK2/error/from-file-error/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_RO1MK2/error/from-file-error/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_RO1MK2/error/from-file-error/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_RO1MK2/error/from-file-error/.dirs/runtime 985s ok 2 /error/from-file-error 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_RO1MK2/error/from-win32-error/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_RO1MK2/error/from-win32-error/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_RO1MK2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_RO1MK2/error/from-win32-error/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_RO1MK2/error/from-win32-error/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_RO1MK2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_RO1MK2/error/from-win32-error/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_RO1MK2/error/from-win32-error/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_RO1MK2/error/from-win32-error/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_RO1MK2/error/from-win32-error/.dirs/runtime 985s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 985s # End of error tests 985s ok - glib/error.test 985s # Running test: glib/refstring.test 985s TAP version 13 985s # random seed: R02Sa5668420df20087820c176ea6e62fe43 985s 1..5 985s # Start of refstring tests 985s # s = 'hello, world' (0x12d4df6a8660) 985s ok 1 /refstring/base 985s ok 2 /refstring/length 985s ok 3 /refstring/length-auto 985s ok 4 /refstring/length-nuls 985s # s = 'hello, world' (0x12d4df6a8660) 985s # p = s = 'hello, world' (0x12d4df6a8660) 985s # releasing p[0x12d4df6a8660] ('hello, world') 985s # p = 'goodbye, world' (0x12d4df6b06c0) 985s # releasing p[0x12d4df6b06c0] ('goodbye, world') 985s # releasing s[0x12d4df6a8660] ('hello, world') 985s ok 5 /refstring/intern 985s # End of refstring tests 985s ok - glib/refstring.test 985s # Running test: glib/application-command-line.test 985s TAP version 13 985s # random seed: R02S1bc034f689bce2c67c8dd9963cddbcbc 985s 1..1 985s # Start of application-command-line tests 985s ok 1 /application-command-line/basic-properties 985s # End of application-command-line tests 985s ok - glib/application-command-line.test 985s # Running test: glib/testing.test 985s TAP version 13 985s # random seed: R02Seb80bd90b5f59d8e617f514bdb275812 985s 1..1 985s # Start of assert tests 985s ok 1 /assert/finalize_object 985s # Start of finalize_object tests 985s # Start of subprocess tests 985s # End of subprocess tests 985s # End of finalize_object tests 985s # End of assert tests 985s ok - glib/testing.test 985s # Running test: glib/mapping.test 985s TAP version 13 985s # random seed: R02S89d6c1cee7c1e28bcf2dce979fe2117a 985s 1..3 985s # Start of mapping tests 985s # test_mapping: ok 985s ok 1 /mapping/flags 985s ok 2 /mapping/private 985s # Subtest: /usr/libexec/installed-tests/glib/mapping 985s # test_child_private: child spawned 985s # # random seed: R02S9b951e4b9ff43070b3dfc595a46a3b09 985s # test_child_private: received first child signal 985s # # test_child_private: received parent signal 985s # test_child_private: received second child signal 985s ok 3 /mapping/private-child 985s # End of mapping tests 985s ok - glib/mapping.test 985s # Running test: glib/g-file-info-filesystem-readonly.test 985s TAP version 13 985s # random seed: R02S943eabc4f6887c770dbfd31ef34bed27 985s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 985s 1..2 985s # Start of g-file-info-filesystem-readonly tests 985s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 985s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 985s # End of g-file-info-filesystem-readonly tests 985s ok - glib/g-file-info-filesystem-readonly.test 985s # Running test: glib/types.test 985s TAP version 13 985s # random seed: R02S37b7ae092165ea1a12a452f877be6c5c 985s 1..1 985s # Start of types tests 985s ok 1 /types/basic_types 985s # End of types tests 985s ok - glib/types.test 985s # Running test: glib/gdbus-names.test 985s TAP version 13 985s # random seed: R02Sa7cf5c17e520e520c35a96c8a4e8e839 985s 1..10 985s # Start of gdbus tests 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/validate-names/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/validate-names/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_VGPNK2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_VGPNK2/gdbus/validate-names/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/validate-names/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_VGPNK2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_VGPNK2/gdbus/validate-names/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/validate-names/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/validate-names/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_VGPNK2/gdbus/validate-names/.dirs/runtime 985s ok 1 /gdbus/validate-names 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-own-name/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-own-name/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_VGPNK2/gdbus/bus-own-name/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-own-name/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_VGPNK2/gdbus/bus-own-name/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-own-name/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-own-name/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-own-name/.dirs/runtime 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s ok 2 /gdbus/bus-own-name 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name/.dirs/runtime 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s ok 3 /gdbus/bus-watch-name 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-auto-start/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-auto-start/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-auto-start/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-auto-start/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-auto-start/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-auto-start/.dirs/runtime 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s ok 4 /gdbus/bus-watch-name-auto-start 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s dbus-daemon[10506]: [session uid=1000 pid=10506] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=10497 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 985s # Acquired a message bus connection 985s dbus-daemon[10506]: [session uid=1000 pid=10506] Successfully activated service 'org.gtk.GDBus.FakeService' 985s # Acquired the name org.gtk.GDBus.FakeService 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-closures/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-closures/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-closures/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-closures/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-closures/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-closures/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-closures/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-closures/.dirs/runtime 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s ok 6 /gdbus/bus-watch-name-closures 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s ok 7 /gdbus/bus-watch-name-closures-auto-start 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-different-context/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-different-context/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-different-context/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-different-context/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-different-context/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-different-context/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-different-context/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-watch-different-context/.dirs/runtime 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s ok 8 /gdbus/bus-watch-different-context 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-unwatch-early/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-unwatch-early/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_VGPNK2/gdbus/bus-unwatch-early/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-unwatch-early/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_VGPNK2/gdbus/bus-unwatch-early/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-unwatch-early/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-unwatch-early/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_VGPNK2/gdbus/bus-unwatch-early/.dirs/runtime 985s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 985s ok 9 /gdbus/bus-unwatch-early 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/escape-object-path/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/escape-object-path/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_VGPNK2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_VGPNK2/gdbus/escape-object-path/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/escape-object-path/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_VGPNK2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_VGPNK2/gdbus/escape-object-path/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/escape-object-path/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_VGPNK2/gdbus/escape-object-path/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_VGPNK2/gdbus/escape-object-path/.dirs/runtime 985s ok 10 /gdbus/escape-object-path 985s # End of gdbus tests 985s ok - glib/gdbus-names.test 985s # Running test: glib/slice.test 985s TAP version 13 985s # random seed: R02Sbc7b3d140b71e21dcd1a86e2e12c0edf 985s 1..3 985s # Start of slice tests 985s ok 1 /slice/copy 985s ok 2 /slice/chain 985s ok 3 /slice/allocate 985s # End of slice tests 985s ok - glib/slice.test 985s # Running test: glib/dynamictests.test 985s TAP version 13 985s # random seed: R02S35711897c9b83a9b0f3ba187300725aa 985s 1..2 985s # Start of GObject tests 986s ok 1 /GObject/threaded-dynamic-ref-unref-init 986s ok 2 /GObject/dynamic-interface-properties 986s # End of GObject tests 986s ok - glib/dynamictests.test 986s # Running test: glib/g-icon.test 986s TAP version 13 986s # random seed: R02Sae5308f8dc444fb004d8dbc630d46236 986s 1..6 986s # Start of icons tests 986s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 986s ok 1 /icons/to-string 986s ok 2 /icons/serialize 986s ok 3 /icons/themed 986s ok 4 /icons/emblemed 986s ok 5 /icons/file 986s ok 6 /icons/bytes 986s # End of icons tests 986s ok - glib/g-icon.test 986s # Running test: glib/memory-settings-backend.test 986s TAP version 13 986s # random seed: R02Sd1e94493a1bdd1b91bc8953bb689b55c 986s 1..1 986s # Start of memory-settings-backend tests 986s ok 1 /memory-settings-backend/extension-point-registered 986s # End of memory-settings-backend tests 986s ok - glib/memory-settings-backend.test 986s # Running test: glib/sandbox.test 986s TAP version 13 986s # random seed: R02S57f7cc884a8298eb3c67ff02dba3a605 986s 1..4 986s # Start of sandbox tests 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_DCBOK2/sandbox/none/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_DCBOK2/sandbox/none/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_DCBOK2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_DCBOK2/sandbox/none/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_DCBOK2/sandbox/none/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_DCBOK2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_DCBOK2/sandbox/none/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_DCBOK2/sandbox/none/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_DCBOK2/sandbox/none/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_DCBOK2/sandbox/none/.dirs/runtime 986s ok 1 /sandbox/none 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_DCBOK2/sandbox/snap/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_DCBOK2/sandbox/snap/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_DCBOK2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_DCBOK2/sandbox/snap/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_DCBOK2/sandbox/snap/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_DCBOK2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_DCBOK2/sandbox/snap/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_DCBOK2/sandbox/snap/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_DCBOK2/sandbox/snap/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_DCBOK2/sandbox/snap/.dirs/runtime 986s # Created snap.yaml in /tmp/test_sandbox_DCBOK2/snap/current/meta/snap.yaml 986s ok 2 /sandbox/snap 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_DCBOK2/sandbox/classic-snap/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_DCBOK2/sandbox/classic-snap/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_DCBOK2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_DCBOK2/sandbox/classic-snap/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_DCBOK2/sandbox/classic-snap/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_DCBOK2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_DCBOK2/sandbox/classic-snap/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_DCBOK2/sandbox/classic-snap/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_DCBOK2/sandbox/classic-snap/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_DCBOK2/sandbox/classic-snap/.dirs/runtime 986s # Created snap.yaml in /tmp/test_sandbox_DCBOK2/snap/current/meta/snap.yaml 986s ok 3 /sandbox/classic-snap 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_DCBOK2/sandbox/flatpak/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_DCBOK2/sandbox/flatpak/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_DCBOK2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_DCBOK2/sandbox/flatpak/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_DCBOK2/sandbox/flatpak/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_DCBOK2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_DCBOK2/sandbox/flatpak/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_DCBOK2/sandbox/flatpak/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_DCBOK2/sandbox/flatpak/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_DCBOK2/sandbox/flatpak/.dirs/runtime 986s # Creating .flatpak-info in /tmp/test_sandbox_DCBOK2/sandbox/flatpak/.dirs/runtime/.flatpak-info 986s ok 4 /sandbox/flatpak 986s # End of sandbox tests 986s ok - glib/sandbox.test 986s # Running test: glib/fileattributematcher.test 986s TAP version 13 986s # random seed: R02S41207c9e1e861f1acc1d79f531a0d442 986s 1..3 986s # Start of fileattributematcher tests 986s ok 1 /fileattributematcher/exact 986s ok 2 /fileattributematcher/equality 986s ok 3 /fileattributematcher/subtract 986s # End of fileattributematcher tests 986s ok - glib/fileattributematcher.test 986s # Running test: glib/utils-c-90.test 986s TAP version 13 986s # random seed: R02Sb89df3456443f7a0d2de8c73daab133b 986s 1..40 986s # Start of utils tests 986s ok 1 /utils/language-names 986s ok 2 /utils/locale-variants 986s ok 3 /utils/version 986s ok 4 /utils/appname 986s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 986s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 986s ok 5 /utils/prgname-thread-safety 986s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 986s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 986s ok 6 /utils/tmpdir 986s ok 7 /utils/basic_bits 986s ok 8 /utils/bits 986s ok 9 /utils/swap 986s ok 10 /utils/find-program 986s ok 11 /utils/find-program-for-path 986s ok 12 /utils/debug 986s ok 13 /utils/codeset 986s ok 14 /utils/codeset2 986s ok 15 /utils/console-charset 986s ok 16 /utils/gettext 986s ok 17 /utils/username 986s ok 18 /utils/realname 986s ok 19 /utils/hostname 986s ok 20 /utils/xdgdirs 986s ok 21 /utils/specialdir 986s # NAME: Ubuntu 986s ok 22 /utils/os-info 986s ok 23 /utils/clear-pointer 986s ok 24 /utils/clear-pointer-cast 986s ok 25 /utils/take-pointer 986s ok 26 /utils/clear-source 986s ok 27 /utils/misc-mem 986s # /utils/aligned-mem summary: Aligned memory allocator 986s # Alignment must not be zero 986s # Alignment must be a power of two 986s # Alignment must be a multiple of sizeof(void*) 986s ok 28 /utils/aligned-mem 986s # /utils/free-sized summary: Check that g_free_sized() works 986s ok 29 /utils/free-sized 986s ok 30 /utils/nullify 986s ok 31 /utils/atexit 986s ok 32 /utils/check-setuid 986s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 986s ok 33 /utils/int-limits 986s ok 34 /utils/clear-list 986s ok 35 /utils/clear-slist 986s # Start of specialdir tests 986s ok 36 /utils/specialdir/desktop 986s # End of specialdir tests 986s # Start of clear-pointer tests 986s ok 37 /utils/clear-pointer/side-effects 986s # End of clear-pointer tests 986s # Start of aligned-mem tests 986s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 986s ok 38 /utils/aligned-mem/alignment 986s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 986s ok 39 /utils/aligned-mem/zeroed 986s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 986s ok 40 /utils/aligned-mem/free-sized 986s # Start of subprocess tests 986s # End of subprocess tests 986s # End of aligned-mem tests 986s # End of utils tests 986s ok - glib/utils-c-90.test 986s # Running test: glib/portal-support-flatpak-none.test 986s TAP version 13 986s # random seed: R02S87115cd5dea033bf828bf184a8339982 986s 1..1 986s # Start of portal-support tests 986s # Start of flatpak tests 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_RMCYK2/portal-support/flatpak/none/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_RMCYK2/portal-support/flatpak/none/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_RMCYK2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_RMCYK2/portal-support/flatpak/none/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_RMCYK2/portal-support/flatpak/none/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_RMCYK2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_RMCYK2/portal-support/flatpak/none/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_RMCYK2/portal-support/flatpak/none/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_RMCYK2/portal-support/flatpak/none/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_RMCYK2/portal-support/flatpak/none/.dirs/runtime 986s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_RMCYK2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 986s ok 1 /portal-support/flatpak/none 986s # End of flatpak tests 986s # End of portal-support tests 986s ok - glib/portal-support-flatpak-none.test 986s # Running test: glib/cxx-03.test 986s TAP version 13 986s # random seed: R02S7f145ddb77ce66ae69907ff2686cb873 986s 1..2 986s # Start of gtask tests 986s # 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. 986s ok 1 /gtask/name 986s # Start of name tests 986s # 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. 986s ok 2 /gtask/name/macro-wrapper 986s # End of name tests 986s # End of gtask tests 986s ok - glib/cxx-03.test 986s # Running test: glib/singleton.test 986s TAP version 13 986s # random seed: R02Sc7529034a59caa67c3b99b3bafea1a0e 986s 1..2 986s # Start of gobject tests 986s # Start of singleton tests 986s ok 1 /gobject/singleton/construction 986s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 986s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 986s ok 2 /gobject/singleton/construct-property 986s # End of singleton tests 986s # End of gobject tests 986s ok - glib/singleton.test 986s # Running test: glib/macros-c-11.test 986s TAP version 13 986s # random seed: R02S079266dbd84d3d55a2a46c7b95abcd0f 986s 1..4 986s # Start of C tests 986s ok 1 /C/standard-11 986s # End of C tests 986s # Start of alignof tests 986s ok 2 /alignof/fallback 986s # End of alignof tests 986s # Start of assert tests 986s ok 3 /assert/static 986s # End of assert tests 986s # Start of struct tests 986s ok 4 /struct/sizeof_member 986s # End of struct tests 986s ok - glib/macros-c-11.test 986s # Running test: glib/portal-support-snap.test 986s TAP version 13 986s # random seed: R02Sa4762a35013d57c048146f15b7664343 986s 1..7 986s # Start of portal-support tests 986s # Start of snap tests 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/no-snapctl/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/no-snapctl/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/no-snapctl/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/no-snapctl/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/no-snapctl/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/no-snapctl/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/no-snapctl/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/no-snapctl/.dirs/runtime 986s # Created snap.yaml in /tmp/test_portal-support-snap_8ZKYK2/meta/snap.yaml 986s ok 1 /portal-support/snap/no-snapctl 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/none/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/none/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/none/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/none/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/none/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/none/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/none/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/none/.dirs/runtime 986s # Created snap.yaml in /tmp/test_portal-support-snap_8ZKYK2/meta/snap.yaml 986s # Created snapctl in /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/none/.dirs/runtime/snapctl 986s ok 2 /portal-support/snap/none 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/all/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/all/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/all/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/all/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/all/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/all/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/all/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/all/.dirs/runtime 986s # Created snap.yaml in /tmp/test_portal-support-snap_8ZKYK2/meta/snap.yaml 986s # Created snapctl in /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/all/.dirs/runtime/snapctl 986s ok 3 /portal-support/snap/all 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/desktop-only/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/desktop-only/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/desktop-only/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/desktop-only/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/desktop-only/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/desktop-only/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/desktop-only/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/desktop-only/.dirs/runtime 986s # Created snap.yaml in /tmp/test_portal-support-snap_8ZKYK2/meta/snap.yaml 986s # Created snapctl in /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 986s ok 4 /portal-support/snap/desktop-only 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/network-only/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/network-only/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/network-only/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/network-only/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/network-only/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/network-only/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/network-only/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/network-only/.dirs/runtime 986s # Created snap.yaml in /tmp/test_portal-support-snap_8ZKYK2/meta/snap.yaml 986s # Created snapctl in /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/network-only/.dirs/runtime/snapctl 986s ok 5 /portal-support/snap/network-only 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/gsettings-only/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/gsettings-only/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/gsettings-only/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/gsettings-only/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/gsettings-only/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/gsettings-only/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/gsettings-only/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/gsettings-only/.dirs/runtime 986s # Created snap.yaml in /tmp/test_portal-support-snap_8ZKYK2/meta/snap.yaml 986s # Created snapctl in /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 986s ok 6 /portal-support/snap/gsettings-only 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/updates-dynamically/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/updates-dynamically/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/updates-dynamically/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/updates-dynamically/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/updates-dynamically/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/updates-dynamically/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/updates-dynamically/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/updates-dynamically/.dirs/runtime 986s # Created snap.yaml in /tmp/test_portal-support-snap_8ZKYK2/meta/snap.yaml 986s # Created snapctl in /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 986s # Created snapctl in /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 986s # Created snapctl in /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 986s # Created snapctl in /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 986s # Created snapctl in /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 986s # Created snapctl in /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 986s # Created snapctl in /tmp/test_portal-support-snap_8ZKYK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 986s ok 7 /portal-support/snap/updates-dynamically 986s # End of snap tests 986s # End of portal-support tests 986s ok - glib/portal-support-snap.test 986s # Running test: glib/cmph-bdz.test 986s TAP version 13 986s # random seed: R02Sa82a1c9214ceb6f675bdbd9765c98d3f 986s 1..2 986s # Start of cmph-bdz tests 986s ok 1 /cmph-bdz/search 986s ok 2 /cmph-bdz/search-packed 986s # End of cmph-bdz tests 986s ok - glib/cmph-bdz.test 986s # Running test: glib/gdbus-test-codegen.test 986s TAP version 13 986s # random seed: R02Sd0bcbd6c691a0cb2d29c43b46d8e476b 986s 1..8 986s # Start of gdbus tests 986s # Start of codegen tests 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/annotations/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/annotations/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/annotations/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/annotations/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/annotations/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/annotations/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/annotations/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/annotations/.dirs/runtime 986s ok 1 /gdbus/codegen/annotations 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/interface_stability/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/interface_stability/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/interface_stability/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/interface_stability/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/interface_stability/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/interface_stability/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/interface_stability/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/interface_stability/.dirs/runtime 986s ok 2 /gdbus/codegen/interface_stability 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/object-manager/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/object-manager/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/object-manager/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/object-manager/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/object-manager/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/object-manager/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/object-manager/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/object-manager/.dirs/runtime 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s ok 3 /gdbus/codegen/object-manager 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/property-naming/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/property-naming/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/property-naming/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/property-naming/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/property-naming/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/property-naming/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/property-naming/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/property-naming/.dirs/runtime 986s ok 4 /gdbus/codegen/property-naming 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/autocleanups/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/autocleanups/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/autocleanups/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/autocleanups/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/autocleanups/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/autocleanups/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/autocleanups/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/autocleanups/.dirs/runtime 986s ok 5 /gdbus/codegen/autocleanups 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/deprecations/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/deprecations/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/deprecations/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/deprecations/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/deprecations/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/deprecations/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/deprecations/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/deprecations/.dirs/runtime 986s ok 6 /gdbus/codegen/deprecations 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/standalone-interface-info/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/standalone-interface-info/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/standalone-interface-info/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/standalone-interface-info/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/standalone-interface-info/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 986s ok 7 /gdbus/codegen/standalone-interface-info 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/unix-fd-list/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/unix-fd-list/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/unix-fd-list/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/unix-fd-list/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/unix-fd-list/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_OYTWK2/gdbus/codegen/unix-fd-list/.dirs/runtime 986s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 986s ok 8 /gdbus/codegen/unix-fd-list 986s # End of codegen tests 986s # End of gdbus tests 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s ok - glib/gdbus-test-codegen.test 986s # Running test: glib/gdbus-method-invocation.test 986s TAP version 13 986s # random seed: R02S1372731d368ae6b6f3b13db5db94a44b 986s 1..1 986s # Start of gdbus tests 986s # Start of method-invocation tests 986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_POPVK2/gdbus/method-invocation/return/.dirs/home 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_POPVK2/gdbus/method-invocation/return/.dirs/cache 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_POPVK2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_POPVK2/gdbus/method-invocation/return/.dirs/system-config2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_POPVK2/gdbus/method-invocation/return/.dirs/config 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_POPVK2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_POPVK2/gdbus/method-invocation/return/.dirs/system-data2 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_POPVK2/gdbus/method-invocation/return/.dirs/data 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_POPVK2/gdbus/method-invocation/return/.dirs/state 986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_POPVK2/gdbus/method-invocation/return/.dirs/runtime 986s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # Calling org.freedesktop.DBus.Properties.Get 986s # Calling org.freedesktop.DBus.Properties.Get 986s # Calling org.freedesktop.DBus.Properties.Get 986s # Calling org.freedesktop.DBus.Properties.Set 986s # Calling org.freedesktop.DBus.Properties.GetAll 986s # Calling org.example.Foo.WrongReturnType 986s # Calling org.example.Foo.GetFDs 986s # Calling org.example.Foo.GetFDs 986s # Calling org.example.Foo.ReturnError 986s # Calling org.example.Foo.CloseBeforeReturning 986s ok 1 /gdbus/method-invocation/return 986s # End of method-invocation tests 986s # End of gdbus tests 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 986s ok - glib/gdbus-method-invocation.test 986s # Running test: glib/unix-streams.test 986s TAP version 13 986s # random seed: R02S3ae477f4a2c31251c8fa21efeb05bfa3 986s 1..9 986s # Start of unix-streams tests 986s ok 1 /unix-streams/basic 986s ok 2 /unix-streams/pipe-io-test 986s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 987s ok 3 /unix-streams/nonblocking-io-test 987s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 987s ok 4 /unix-streams/read_write 987s ok 5 /unix-streams/read_writev 987s ok 6 /unix-streams/write-wouldblock 987s ok 7 /unix-streams/writev-wouldblock 987s ok 8 /unix-streams/write-async-wouldblock 987s ok 9 /unix-streams/writev-async-wouldblock 987s # End of unix-streams tests 987s ok - glib/unix-streams.test 987s # Running test: glib/type.test 987s TAP version 13 987s # random seed: R02S08956489f50e7ef6d0fa4aa4d177cf9d 987s 1..6 987s # Start of type tests 987s ok 1 /type/registration-serial 987s ok 2 /type/interface-prerequisite 987s ok 3 /type/interface-check 987s ok 4 /type/next-base 987s ok 5 /type/is-a 987s # Invalid types can?t be queried. 987s # Unclassed types can?t be queried. 987s ok 6 /type/query 987s # End of type tests 987s ok - glib/type.test 987s # Running test: glib/list.test 987s TAP version 13 987s # random seed: R02S5cd179f41b17931d44a1e1240d34fe5e 987s 1..20 987s # Start of list tests 987s ok 1 /list/sort 987s ok 2 /list/sort-with-data 987s ok 3 /list/insert-before-link 987s ok 4 /list/insert-sorted 987s ok 5 /list/insert-sorted-with-data 987s ok 6 /list/reverse 987s ok 7 /list/nth 987s ok 8 /list/concat 987s ok 9 /list/remove 987s ok 10 /list/remove-all 987s ok 11 /list/first-last 987s ok 12 /list/insert 987s ok 13 /list/free-full 987s ok 14 /list/copy 987s ok 15 /list/copy-deep 987s ok 16 /list/delete-link 987s ok 17 /list/prepend 987s ok 18 /list/position 987s ok 19 /list/double-free 987s # Start of sort tests 987s ok 20 /list/sort/stable 987s # End of sort tests 987s # End of list tests 987s ok - glib/list.test 987s # Running test: glib/gdbus-threading.test 987s TAP version 13 987s # random seed: R02S17966834db5e698b572d3dac839c77b1 987s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 987s ok - glib/gdbus-threading.test 987s # Running test: glib/overflow.test 987s TAP version 13 987s # random seed: R02S03449df75db7d9399fda2aa510c05048 987s 1..6 987s # Start of glib tests 987s # Start of checked-math tests 987s ok 1 /glib/checked-math/guint-add 987s ok 2 /glib/checked-math/guint-mul 987s ok 3 /glib/checked-math/guint64-add 987s ok 4 /glib/checked-math/guint64-mul 987s ok 5 /glib/checked-math/gsize-add 987s ok 6 /glib/checked-math/gsize-mul 987s # End of checked-math tests 987s # End of glib tests 987s ok - glib/overflow.test 987s # Running test: glib/pathbuf.test 987s TAP version 13 987s # random seed: R02S4e7542c57a647b27797dad75f8df6d03 987s 1..3 987s # Start of pathbuf tests 987s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_OSFWK2/pathbuf/init/.dirs/home 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_OSFWK2/pathbuf/init/.dirs/cache 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_OSFWK2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_OSFWK2/pathbuf/init/.dirs/system-config2 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_OSFWK2/pathbuf/init/.dirs/config 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_OSFWK2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_OSFWK2/pathbuf/init/.dirs/system-data2 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_OSFWK2/pathbuf/init/.dirs/data 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_OSFWK2/pathbuf/init/.dirs/state 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_OSFWK2/pathbuf/init/.dirs/runtime 987s # Initializing empty path buf 987s # Initializing with empty path 987s # Initializing with full path 987s # Initializing with no path 987s # Allocating GPathBuf on the heap 987s ok 1 /pathbuf/init 987s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_OSFWK2/pathbuf/push-pop/.dirs/home 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_OSFWK2/pathbuf/push-pop/.dirs/cache 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_OSFWK2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_OSFWK2/pathbuf/push-pop/.dirs/system-config2 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_OSFWK2/pathbuf/push-pop/.dirs/config 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_OSFWK2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_OSFWK2/pathbuf/push-pop/.dirs/system-data2 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_OSFWK2/pathbuf/push-pop/.dirs/data 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_OSFWK2/pathbuf/push-pop/.dirs/state 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_OSFWK2/pathbuf/push-pop/.dirs/runtime 987s # Pushing relative path component 987s # Pushing absolute path component 987s # Popping a path component 987s # Can't pop the last element of a path buffer 987s ok 2 /pathbuf/push-pop 987s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_OSFWK2/pathbuf/filename-extension/.dirs/home 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_OSFWK2/pathbuf/filename-extension/.dirs/cache 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_OSFWK2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_OSFWK2/pathbuf/filename-extension/.dirs/system-config2 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_OSFWK2/pathbuf/filename-extension/.dirs/config 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_OSFWK2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_OSFWK2/pathbuf/filename-extension/.dirs/system-data2 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_OSFWK2/pathbuf/filename-extension/.dirs/data 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_OSFWK2/pathbuf/filename-extension/.dirs/state 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_OSFWK2/pathbuf/filename-extension/.dirs/runtime 987s ok 3 /pathbuf/filename-extension 987s # End of pathbuf tests 987s ok - glib/pathbuf.test 987s # Running test: glib/include.test 987s TAP version 13 987s # random seed: R02S5fc04cc56f2420f590cfba2208abf13c 987s 1..1 987s # Start of include tests 987s ok 1 /include/rwlock 987s # End of include tests 987s ok - glib/include.test 987s # Running test: glib/markup-collect.test 987s TAP version 13 987s # random seed: R02Sa91d72d6109a83efc6ed56c47c5afb68 987s 1..21 987s # Start of markup tests 987s # Start of collect tests 987s ok 1 /markup/collect/0 987s ok 2 /markup/collect/1 987s ok 3 /markup/collect/2 987s ok 4 /markup/collect/3 987s ok 5 /markup/collect/4 987s ok 6 /markup/collect/5 987s ok 7 /markup/collect/6 987s ok 8 /markup/collect/7 987s ok 9 /markup/collect/8 987s ok 10 /markup/collect/9 987s ok 11 /markup/collect/10 987s ok 12 /markup/collect/11 987s ok 13 /markup/collect/12 987s ok 14 /markup/collect/13 987s ok 15 /markup/collect/14 987s ok 16 /markup/collect/15 987s ok 17 /markup/collect/16 987s ok 18 /markup/collect/17 987s ok 19 /markup/collect/18 987s ok 20 /markup/collect/19 987s ok 21 /markup/collect/cleanup 987s # End of collect tests 987s # End of markup tests 987s ok - glib/markup-collect.test 987s # Running test: glib/contexts.test 987s TAP version 13 987s # random seed: R02Sfea6f0132280543afd738e21425dcaab 987s 1..5 987s # Start of gio tests 987s # Start of contexts tests 987s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 987s ok 1 /gio/contexts/thread-independence 987s ok 2 /gio/contexts/context-independence 987s # Start of context-specific tests 987s ok 3 /gio/contexts/context-specific/identity 987s ok 4 /gio/contexts/context-specific/emit 987s ok 5 /gio/contexts/context-specific/emit-and-unref 987s # End of context-specific tests 987s # End of contexts tests 987s # End of gio tests 987s ok - glib/contexts.test 987s # Running test: glib/socket-address.test 987s TAP version 13 987s # random seed: R02S749e6f3d5e67b4dc2f155da70cea723a 987s 1..2 987s # Start of socket tests 987s # Start of address tests 987s # Start of unix tests 987s ok 1 /socket/address/unix/construct 987s ok 2 /socket/address/unix/to-string 987s # End of unix tests 987s # End of address tests 987s # End of socket tests 987s ok - glib/socket-address.test 987s # Running test: glib/memory-input-stream.test 987s TAP version 13 987s # random seed: R02S468d8c7f7ff12d393f8188040f2f82d5 987s 1..6 987s # Start of memory-input-stream tests 987s ok 1 /memory-input-stream/read-chunks 987s ok 2 /memory-input-stream/async 987s ok 3 /memory-input-stream/seek 987s ok 4 /memory-input-stream/truncate 987s ok 5 /memory-input-stream/read-bytes 987s ok 6 /memory-input-stream/from-bytes 987s # End of memory-input-stream tests 987s ok - glib/memory-input-stream.test 987s # Running test: glib/shell.test 987s TAP version 13 987s # random seed: R02S87526b73834b7be506cac35f3f52ed29 987s 1..51 987s # Start of shell tests 987s # Start of cmdline tests 987s test cmdline: foo bar 987s ok 1 /shell/cmdline/0 987s test cmdline: foo 'bar' 987s ok 2 /shell/cmdline/1 987s test cmdline: foo "bar" 987s ok 3 /shell/cmdline/2 987s test cmdline: foo '' 'bar' 987s ok 4 /shell/cmdline/3 987s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 987s ok 5 /shell/cmdline/4 987s test cmdline: foo blah foo bar baz 987s ok 6 /shell/cmdline/5 987s test cmdline: foo ' spaces more spaces lots of spaces in this ' 987s ok 7 /shell/cmdline/6 987s test cmdline: foo \ 987s bar 987s ok 8 /shell/cmdline/7 987s test cmdline: foo '' '' 987s ok 9 /shell/cmdline/8 987s test cmdline: foo \" la la la 987s ok 10 /shell/cmdline/9 987s test cmdline: foo \ foo woo woo\ 987s ok 11 /shell/cmdline/10 987s test cmdline: foo "yada yada \$\"" 987s ok 12 /shell/cmdline/11 987s test cmdline: foo "c:\\" 987s ok 13 /shell/cmdline/12 987s test cmdline: foo # bla bla bla 987s bar 987s ok 14 /shell/cmdline/13 987s test cmdline: foo a#b 987s ok 15 /shell/cmdline/14 987s test cmdline: #foo 987s ok 16 /shell/cmdline/15 987s test cmdline: foo bar \ 987s ok 17 /shell/cmdline/16 987s test cmdline: foo 'bar baz 987s ok 18 /shell/cmdline/17 987s test cmdline: foo '"bar" baz 987s ok 19 /shell/cmdline/18 987s test cmdline: 987s ok 20 /shell/cmdline/19 987s test cmdline: 987s ok 21 /shell/cmdline/20 987s test cmdline: # foo bar 987s ok 22 /shell/cmdline/21 987s test cmdline: foo '/bar/summer'\''09 tours.pdf' 987s ok 23 /shell/cmdline/22 987s # End of cmdline tests 987s # Start of quote tests 987s ok 24 /shell/quote/0 987s ok 25 /shell/quote/1 987s ok 26 /shell/quote/2 987s ok 27 /shell/quote/3 987s ok 28 /shell/quote/4 987s ok 29 /shell/quote/5 987s ok 30 /shell/quote/6 987s # End of quote tests 987s # Start of unquote tests 987s ok 31 /shell/unquote/0 987s ok 32 /shell/unquote/1 987s ok 33 /shell/unquote/2 987s ok 34 /shell/unquote/3 987s ok 35 /shell/unquote/4 987s ok 36 /shell/unquote/5 987s ok 37 /shell/unquote/6 987s ok 38 /shell/unquote/7 987s ok 39 /shell/unquote/8 987s ok 40 /shell/unquote/9 987s ok 41 /shell/unquote/10 987s ok 42 /shell/unquote/11 987s ok 43 /shell/unquote/12 987s ok 44 /shell/unquote/13 987s ok 45 /shell/unquote/14 987s ok 46 /shell/unquote/15 987s ok 47 /shell/unquote/16 987s ok 48 /shell/unquote/17 987s ok 49 /shell/unquote/18 987s ok 50 /shell/unquote/19 987s ok 51 /shell/unquote/20 987s # End of unquote tests 987s # End of shell tests 987s ok - glib/shell.test 987s # Running test: glib/sleepy-stream.test 987s TAP version 13 987s # random seed: R02S12b89daaf2e4ff7efad3142dde801ce3 987s 1..2 987s # Start of filter-stream tests 987s ok 1 /filter-stream/input 987s ok 2 /filter-stream/async 987s # End of filter-stream tests 987s ok - glib/sleepy-stream.test 987s # Running test: glib/data-input-stream.test 987s TAP version 13 987s # random seed: R02Sc9242708e0a3f3c5cf7c6c72b9ab8eb5 987s 1..10 987s # Start of data-input-stream tests 987s ok 1 /data-input-stream/basic 987s ok 2 /data-input-stream/read-lines-LF 987s ok 3 /data-input-stream/read-lines-LF-valid-utf8 987s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 987s ok 5 /data-input-stream/read-lines-CR 987s ok 6 /data-input-stream/read-lines-CR-LF 987s ok 7 /data-input-stream/read-lines-any 987s ok 8 /data-input-stream/read-until 987s ok 9 /data-input-stream/read-upto 987s ok 10 /data-input-stream/read-int 987s # End of data-input-stream tests 987s ok - glib/data-input-stream.test 987s # Running test: glib/markup-subparser.test 987s TAP version 13 987s # random seed: R02Sd6983dcf1511ea0b39abf6a458288397 987s 1..14 987s # Start of glib tests 987s # Start of markup tests 987s # Start of subparser tests 987s # Start of success tests 987s ok 1 /glib/markup/subparser/success/0 987s ok 2 /glib/markup/subparser/success/1 987s ok 3 /glib/markup/subparser/success/2 987s ok 4 /glib/markup/subparser/success/3 987s ok 5 /glib/markup/subparser/success/4 987s ok 6 /glib/markup/subparser/success/5 987s ok 7 /glib/markup/subparser/success/6 987s # End of success tests 987s # Start of failure tests 987s ok 8 /glib/markup/subparser/failure/0 987s ok 9 /glib/markup/subparser/failure/1 987s ok 10 /glib/markup/subparser/failure/2 987s ok 11 /glib/markup/subparser/failure/3 987s ok 12 /glib/markup/subparser/failure/4 987s ok 13 /glib/markup/subparser/failure/5 987s ok 14 /glib/markup/subparser/failure/6 987s # End of failure tests 987s # End of subparser tests 987s # End of markup tests 987s # End of glib tests 987s ok - glib/markup-subparser.test 987s # Running test: glib/environment.test 987s TAP version 13 987s # random seed: R02Sd5bf68d92ac188518b2f6670ef00c30a 987s 1..6 987s # Start of environ tests 987s # /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. 987s ok 1 /environ/listenv 987s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 987s ok 2 /environ/getenv 987s ok 3 /environ/setenv 987s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 987s ok 4 /environ/array 987s # /environ/null summary: Test getting and setting variables on a NULL envp array. 987s ok 5 /environ/null 987s # /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. 987s ok 6 /environ/case 987s # End of environ tests 987s ok - glib/environment.test 987s # Running test: glib/gdbus-proxy-threads.test 987s TAP version 13 987s # random seed: R02Sbdb64070b04db34114466f48210e7b1e 987s 1..1 987s # Start of gdbus tests 987s # Start of proxy tests 987s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_PHNNK2/gdbus/proxy/vs-threads/.dirs/home 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_PHNNK2/gdbus/proxy/vs-threads/.dirs/cache 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_PHNNK2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_PHNNK2/gdbus/proxy/vs-threads/.dirs/system-config2 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_PHNNK2/gdbus/proxy/vs-threads/.dirs/config 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_PHNNK2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_PHNNK2/gdbus/proxy/vs-threads/.dirs/system-data2 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_PHNNK2/gdbus/proxy/vs-threads/.dirs/data 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_PHNNK2/gdbus/proxy/vs-threads/.dirs/state 987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_PHNNK2/gdbus/proxy/vs-threads/.dirs/runtime 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # Executing: glib/gdbus-proxy-threads.test 990s ok 1 /gdbus/proxy/vs-threads 990s # slow test /gdbus/proxy/vs-threads executed in 3.35 secs 990s # End of proxy tests 990s # End of gdbus tests 990s cleaning up pid 10829 990s ok - glib/gdbus-proxy-threads.test 990s # Running test: glib/onceinit.test 990s TAP version 13 990s # random seed: R02S2bca9d529d73121b19a2f005e7e46a2d 990s 1..1 990s # Start of thread tests 991s ok 1 /thread/onceinit 991s # End of thread tests 991s ok - glib/onceinit.test 991s # Running test: glib/closure.test 991s TAP version 13 991s # random seed: R02S3c8e6d2583aadde06fbce7e3d29fd3dd 991s 1..6 991s # Start of closure tests 991s ok 1 /closure/idle 991s ok 2 /closure/timeout 991s ok 3 /closure/iochannel 991s ok 4 /closure/child 991s ok 5 /closure/fd 991s ok 6 /closure/signal 991s # End of closure tests 991s ok - glib/closure.test 991s # Running test: glib/gthash.test 991s TAP version 13 991s # random seed: R02Sbe2c9f729757e3849a0c20a54c014e7f 991s 1..1 991s # Start of gthash tests 991s ok 1 /gthash/build-retrieve 991s # End of gthash tests 991s ok - glib/gthash.test 991s # Running test: glib/memory-monitor.test 991s TAP version 13 991s # random seed: R02S0f5e23d3499fd7fce0a8a99473c1b412 991s 1..1 991s # Start of memory-monitor tests 991s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 991s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 991s ok 1 /memory-monitor/default 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # End of memory-monitor tests 991s ok - glib/memory-monitor.test 991s # Running test: glib/portal-support-flatpak-network-only.test 991s TAP version 13 991s # random seed: R02S173956716470af7367b272c072c19185 991s 1..1 991s # Start of portal-support tests 991s # Start of flatpak tests 991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_CH9XK2/portal-support/flatpak/network/.dirs/home 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_CH9XK2/portal-support/flatpak/network/.dirs/cache 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_CH9XK2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_CH9XK2/portal-support/flatpak/network/.dirs/system-config2 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_CH9XK2/portal-support/flatpak/network/.dirs/config 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_CH9XK2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_CH9XK2/portal-support/flatpak/network/.dirs/system-data2 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_CH9XK2/portal-support/flatpak/network/.dirs/data 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_CH9XK2/portal-support/flatpak/network/.dirs/state 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_CH9XK2/portal-support/flatpak/network/.dirs/runtime 991s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_CH9XK2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 991s ok 1 /portal-support/flatpak/network 991s # End of flatpak tests 991s # End of portal-support tests 991s ok - glib/portal-support-flatpak-network-only.test 991s # Running test: glib/macros.test 991s TAP version 13 991s # random seed: R02Sd04d8db959385de024dee65c9fd7063f 991s 1..3 991s # Start of alignof tests 991s ok 1 /alignof/fallback 991s # End of alignof tests 991s # Start of assert tests 991s ok 2 /assert/static 991s # End of assert tests 991s # Start of struct tests 991s ok 3 /struct/sizeof_member 991s # End of struct tests 991s ok - glib/macros.test 991s # Running test: glib/deftype.test 991s ok - glib/deftype.test 991s # Running test: glib/strvbuilder.test 991s TAP version 13 991s # random seed: R02S4f06cccc2b0791487e21f53ce45d60e0 991s 1..6 991s # Start of strvbuilder tests 991s ok 1 /strvbuilder/empty 991s ok 2 /strvbuilder/add 991s ok 3 /strvbuilder/addv 991s ok 4 /strvbuilder/add_many 991s ok 5 /strvbuilder/take 991s ok 6 /strvbuilder/ref 991s # End of strvbuilder tests 991s ok - glib/strvbuilder.test 991s # Running test: glib/rcbox.test 991s TAP version 13 991s # random seed: R02S5e8b91cce3abf97741017c88bb49cc76 991s 1..8 991s # Start of rcbox tests 991s ok 1 /rcbox/new 991s # global_point = 0x1f5d340e88d0 991s ok 2 /rcbox/release-full 991s # global_point_a = 0x1f5d340e88d0 991s # global_point_b = 0x1f5d340e8890 991s ok 3 /rcbox/dup 991s ok 4 /rcbox/alignment 991s # End of rcbox tests 991s # Start of atomic-rcbox tests 991s ok 5 /atomic-rcbox/new 991s # global_point = 0x1f5d340e8aa0 991s ok 6 /atomic-rcbox/release-full 991s # global_point_a = 0x1f5d340e8aa0 991s # global_point_b = 0x1f5d340e8a60 991s ok 7 /atomic-rcbox/dup 991s ok 8 /atomic-rcbox/alignment 991s # End of atomic-rcbox tests 991s ok - glib/rcbox.test 991s # Running test: glib/utils-isolated.test 991s TAP version 13 991s # random seed: R02S1133fd6a02278f7ea651089da6fc4cd1 991s 1..9 991s # Start of utils-isolated tests 991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/tmp-dir/.dirs/home 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/tmp-dir/.dirs/cache 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_39SYK2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_39SYK2/utils-isolated/tmp-dir/.dirs/system-config2 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/tmp-dir/.dirs/config 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_39SYK2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_39SYK2/utils-isolated/tmp-dir/.dirs/system-data2 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/tmp-dir/.dirs/data 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/tmp-dir/.dirs/state 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_39SYK2/utils-isolated/tmp-dir/.dirs/runtime 991s ok 1 /utils-isolated/tmp-dir 991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/home-dir/.dirs/home 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/home-dir/.dirs/cache 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_39SYK2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_39SYK2/utils-isolated/home-dir/.dirs/system-config2 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/home-dir/.dirs/config 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_39SYK2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_39SYK2/utils-isolated/home-dir/.dirs/system-data2 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/home-dir/.dirs/data 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/home-dir/.dirs/state 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_39SYK2/utils-isolated/home-dir/.dirs/runtime 991s ok 2 /utils-isolated/home-dir 991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-cache-dir/.dirs/home 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-cache-dir/.dirs/cache 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_39SYK2/utils-isolated/user-cache-dir/.dirs/system-config2 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-cache-dir/.dirs/config 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_39SYK2/utils-isolated/user-cache-dir/.dirs/system-data2 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-cache-dir/.dirs/data 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-cache-dir/.dirs/state 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-cache-dir/.dirs/runtime 991s ok 3 /utils-isolated/user-cache-dir 991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/system-config-dirs/.dirs/home 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/system-config-dirs/.dirs/cache 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_39SYK2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_39SYK2/utils-isolated/system-config-dirs/.dirs/system-config2 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/system-config-dirs/.dirs/config 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_39SYK2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_39SYK2/utils-isolated/system-config-dirs/.dirs/system-data2 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/system-config-dirs/.dirs/data 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/system-config-dirs/.dirs/state 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_39SYK2/utils-isolated/system-config-dirs/.dirs/runtime 991s ok 4 /utils-isolated/system-config-dirs 991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-config-dir/.dirs/home 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-config-dir/.dirs/cache 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_39SYK2/utils-isolated/user-config-dir/.dirs/system-config2 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-config-dir/.dirs/config 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_39SYK2/utils-isolated/user-config-dir/.dirs/system-data2 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-config-dir/.dirs/data 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-config-dir/.dirs/state 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-config-dir/.dirs/runtime 991s ok 5 /utils-isolated/user-config-dir 991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/system-data-dirs/.dirs/home 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/system-data-dirs/.dirs/cache 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_39SYK2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_39SYK2/utils-isolated/system-data-dirs/.dirs/system-config2 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/system-data-dirs/.dirs/config 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_39SYK2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_39SYK2/utils-isolated/system-data-dirs/.dirs/system-data2 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/system-data-dirs/.dirs/data 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/system-data-dirs/.dirs/state 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_39SYK2/utils-isolated/system-data-dirs/.dirs/runtime 991s ok 6 /utils-isolated/system-data-dirs 991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-data-dir/.dirs/home 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-data-dir/.dirs/cache 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_39SYK2/utils-isolated/user-data-dir/.dirs/system-config2 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-data-dir/.dirs/config 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_39SYK2/utils-isolated/user-data-dir/.dirs/system-data2 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-data-dir/.dirs/data 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-data-dir/.dirs/state 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-data-dir/.dirs/runtime 991s ok 7 /utils-isolated/user-data-dir 991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-state-dir/.dirs/home 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-state-dir/.dirs/cache 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_39SYK2/utils-isolated/user-state-dir/.dirs/system-config2 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-state-dir/.dirs/config 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_39SYK2/utils-isolated/user-state-dir/.dirs/system-data2 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-state-dir/.dirs/data 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-state-dir/.dirs/state 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-state-dir/.dirs/runtime 991s ok 8 /utils-isolated/user-state-dir 991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-runtime-dir/.dirs/home 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-runtime-dir/.dirs/cache 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_39SYK2/utils-isolated/user-runtime-dir/.dirs/system-config2 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-runtime-dir/.dirs/config 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_39SYK2/utils-isolated/user-runtime-dir/.dirs/system-data2 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-runtime-dir/.dirs/data 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-runtime-dir/.dirs/state 991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_39SYK2/utils-isolated/user-runtime-dir/.dirs/runtime 991s ok 9 /utils-isolated/user-runtime-dir 991s # End of utils-isolated tests 991s ok - glib/utils-isolated.test 991s # Running test: glib/option-argv0.test 991s TAP version 13 991s # random seed: R02S1a806b180a87a68e16adeeabac85f62c 991s 1..1 991s # Start of option tests 991s ok 1 /option/argv0 991s # End of option tests 991s ok - glib/option-argv0.test 991s # Running test: glib/objects-refcount1.test 991s TAP version 13 991s # random seed: R02Sb5acb5d4efc9d2e84b6becad6c2e92e8 991s 1..1 991s # Start of gobject tests 991s # Start of refcount tests 991s # init 0xccd1db0e740 991s # 991s # init 0xccd1db0e8d0 991s # 994s # Executing: glib/objects-refcount1.test 996s # dispose 0xccd1db0e740! 996s # 996s # dispose 0xccd1db0e8d0! 996s # 996s ok 1 /gobject/refcount/object-basics 996s # slow test /gobject/refcount/object-basics executed in 5.02 secs 996s # End of refcount tests 996s # End of gobject tests 996s ok - glib/objects-refcount1.test 996s # Running test: glib/init.test 996s TAP version 13 996s # random seed: R02S823873ce3be12f3595d02ae9a38ddae3 996s 1..2 996s # Start of thread tests 996s # Start of deprecated tests 996s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_IRMWK2/thread/deprecated/init/.dirs/home 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_IRMWK2/thread/deprecated/init/.dirs/cache 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_IRMWK2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_IRMWK2/thread/deprecated/init/.dirs/system-config2 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_IRMWK2/thread/deprecated/init/.dirs/config 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_IRMWK2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_IRMWK2/thread/deprecated/init/.dirs/system-data2 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_IRMWK2/thread/deprecated/init/.dirs/data 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_IRMWK2/thread/deprecated/init/.dirs/state 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_IRMWK2/thread/deprecated/init/.dirs/runtime 996s ok 1 /thread/deprecated/init 996s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_IRMWK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_IRMWK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_IRMWK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_IRMWK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_IRMWK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_IRMWK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_IRMWK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_IRMWK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_IRMWK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 996s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_IRMWK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 996s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 996s # End of deprecated tests 996s # End of thread tests 996s ok - glib/init.test 996s # Running test: glib/notify-init.test 996s TAP version 13 996s # random seed: R02S3c01f8c1e97b267f1ac250da68fb8f39 996s 1..1 996s # Start of properties tests 996s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 996s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 996s ok 1 /properties/notify-in-init 996s # End of properties tests 996s ok - glib/notify-init.test 996s # Running test: glib/gvariant.test 996s TAP version 13 996s # random seed: R02S71337e206e7635bc27f72744e9d83c65 996s 1..64 996s # Start of gvariant tests 996s ok 1 /gvariant/type 996s ok 2 /gvariant/typeinfo 996s ok 3 /gvariant/string 996s ok 4 /gvariant/utf8 997s ok 5 /gvariant/containers 997s # slow test /gvariant/containers executed in 0.62 secs 997s ok 6 /gvariant/format-strings 997s ok 7 /gvariant/invalid-varargs 997s ok 8 /gvariant/varargs 997s ok 9 /gvariant/valist 997s ok 10 /gvariant/builder-memory 997s ok 11 /gvariant/hashing 997s ok 12 /gvariant/byteswap 999s # Executing: glib/gvariant.test 1000s ok 13 /gvariant/parser 1000s # slow test /gvariant/parser executed in 3.18 secs 1000s ok 14 /gvariant/parse-failures 1000s ok 15 /gvariant/parse-positional 1000s ok 16 /gvariant/floating 1000s ok 17 /gvariant/bytestring 1000s ok 18 /gvariant/lookup-value 1000s ok 19 /gvariant/lookup 1000s ok 20 /gvariant/compare 1000s ok 21 /gvariant/equal 1000s ok 22 /gvariant/fixed-array 1000s ok 23 /gvariant/check-format-string 1000s ok 24 /gvariant/checksum-basic 1000s ok 25 /gvariant/checksum-nested 1000s ok 26 /gvariant/gbytes 1000s ok 27 /gvariant/print-context 1000s ok 28 /gvariant/error-quark 1000s ok 29 /gvariant/stack-builder-init 1000s ok 30 /gvariant/stack-dict-init 1000s ok 31 /gvariant/unaligned-construction 1000s # Start of type tests 1000s # Start of string-scan tests 1000s # Start of recursion tests 1000s ok 32 /gvariant/type/string-scan/recursion/tuple 1000s ok 33 /gvariant/type/string-scan/recursion/array 1000s # End of recursion tests 1000s # End of string-scan tests 1000s # End of type tests 1000s # Start of serialiser tests 1000s ok 34 /gvariant/serialiser/maybe 1000s ok 35 /gvariant/serialiser/array 1001s ok 36 /gvariant/serialiser/tuple 1001s ok 37 /gvariant/serialiser/variant 1001s ok 38 /gvariant/serialiser/strings 1002s ok 39 /gvariant/serialiser/byteswap 1002s # slow test /gvariant/serialiser/byteswap executed in 1.79 secs 1002s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1002s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1002s ok 40 /gvariant/serialiser/children 1002s # Start of fuzz tests 1003s ok 41 /gvariant/serialiser/fuzz/1% 1004s ok 42 /gvariant/serialiser/fuzz/5% 1004s # slow test /gvariant/serialiser/fuzz/5% executed in 0.82 secs 1004s # Executing: glib/gvariant.test 1004s ok 43 /gvariant/serialiser/fuzz/9% 1005s ok 44 /gvariant/serialiser/fuzz/13% 1005s # slow test /gvariant/serialiser/fuzz/13% executed in 0.54 secs 1005s ok 45 /gvariant/serialiser/fuzz/17% 1005s # slow test /gvariant/serialiser/fuzz/17% executed in 0.64 secs 1005s # End of fuzz tests 1005s # End of serialiser tests 1005s # Start of varargs tests 1005s # Start of subprocess tests 1005s # End of subprocess tests 1005s # End of varargs tests 1005s # Start of byteswap tests 1005s # /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. 1005s ok 46 /gvariant/byteswap/non-normal-non-aligned 1005s # End of byteswap tests 1005s # Start of parser tests 1005s ok 47 /gvariant/parser/integer-bounds 1005s ok 48 /gvariant/parser/recursion 1005s # Start of recursion tests 1005s ok 49 /gvariant/parser/recursion/typedecls 1005s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1005s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1005s # Text form 0: @mmmu 5 1005s # Text form 1: @mmmas ['hello'] 1005s # Text form 2: @mmmu just just nothing 1005s # Text form 3: @mmmas just just nothing 1005s # Text form 4: @mmmu just nothing 1005s # Text form 5: @mmmas just nothing 1005s # Text form 6: @mmmu nothing 1005s # Text form 7: @mmmas nothing 1005s ok 50 /gvariant/parser/recursion/maybes 1005s # End of recursion tests 1005s # End of parser tests 1005s # Start of parse tests 1005s # Start of subprocess tests 1005s # End of subprocess tests 1005s # End of parse tests 1005s # Start of normal-checking tests 1005s ok 51 /gvariant/normal-checking/tuples 1005s ok 52 /gvariant/normal-checking/array-offsets 1005s ok 53 /gvariant/normal-checking/array-offsets2 1005s ok 54 /gvariant/normal-checking/tuple-offsets 1005s ok 55 /gvariant/normal-checking/tuple-offsets2 1005s ok 56 /gvariant/normal-checking/tuple-offsets3 1005s ok 57 /gvariant/normal-checking/tuple-offsets4 1005s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1005s ok 58 /gvariant/normal-checking/tuple-offsets5 1005s ok 59 /gvariant/normal-checking/empty-object-path 1005s # Start of array-offsets tests 1005s ok 60 /gvariant/normal-checking/array-offsets/overlapped 1005s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 1005s # End of array-offsets tests 1005s # Start of tuple-offsets tests 1005s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 1005s # End of tuple-offsets tests 1005s # End of normal-checking tests 1005s # Start of recursion-limits tests 1005s ok 63 /gvariant/recursion-limits/variant-in-variant 1005s ok 64 /gvariant/recursion-limits/array-in-variant 1005s # End of recursion-limits tests 1005s # End of gvariant tests 1005s ok - glib/gvariant.test 1005s # Running test: glib/giomodule.test 1005s TAP version 13 1005s # random seed: R02Sc536eea316c7fc0d002bb0702f64733b 1005s 1..3 1005s # Start of giomodule tests 1005s ok 1 /giomodule/extension-point 1005s ok 2 /giomodule/module-scan-all 1005s ok 3 /giomodule/module-scan-all-with-scope 1005s # End of giomodule tests 1005s ok - glib/giomodule.test 1005s # Running test: glib/buffered-output-stream.test 1005s TAP version 13 1005s # random seed: R02S1888a56537b22104deb8e9b95eae32aa 1005s 1..5 1005s # Start of buffered-output-stream tests 1005s ok 1 /buffered-output-stream/write 1005s ok 2 /buffered-output-stream/grow 1005s ok 3 /buffered-output-stream/seek 1005s ok 4 /buffered-output-stream/truncate 1005s # End of buffered-output-stream tests 1005s # Start of filter-output-stream tests 1005s ok 5 /filter-output-stream/close 1005s # End of filter-output-stream tests 1005s ok - glib/buffered-output-stream.test 1005s # Running test: glib/type-flags.test 1005s TAP version 13 1005s # random seed: R02S9cd0a2383c2e2daa8c28eff033c06c05 1005s 1..4 1005s # Start of type tests 1005s # Start of flags tests 1005s ok 1 /type/flags/interface 1005s ok 2 /type/flags/final 1005s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1005s ok 3 /type/flags/deprecated 1005s # Start of final tests 1005s ok 4 /type/flags/final/instance-check 1005s # End of final tests 1005s # End of flags tests 1005s # End of type tests 1005s ok - glib/type-flags.test 1005s # Running test: glib/dynamictype.test 1005s TAP version 13 1005s # random seed: R02S4d0d01141ebcd7d2f615efc234578865 1005s 1..2 1005s # Start of gobject tests 1005s ok 1 /gobject/dynamic-type 1005s # Start of dynamic-type tests 1005s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1005s ok 2 /gobject/dynamic-type/query 1005s # End of dynamic-type tests 1005s # End of gobject tests 1005s ok - glib/dynamictype.test 1005s # Running test: glib/g-file.test 1005s TAP version 13 1005s # random seed: R02S2e8d3c929c1ebff08891377e041a5699 1005s 1..8 1005s # Start of g-file tests 1005s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1005s ok 1 /g-file/test_g_file_new_null 1005s ok 2 /g-file/test_g_file_new_for_path 1005s ok 3 /g-file/test_g_file_new_for_uri 1005s ok 4 /g-file/test_g_file_dup 1005s ok 5 /g-file/test_g_file_get_parse_name_utf8 1005s file:///tmp/test-tmp-glib_g-file.test-N5VIK2 1005s file:///tmp 1005s file:///tmp 1005s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1005s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1005s ok 6 /g-file/test_g_file_new_for_commandline_arg 1005s /dir1 /dir1/dir2/dir3/ 1005s /dir1/ /dir1/dir2/dir3/ 1005s /dir1 /dir1/dir2/dir3 1005s /dir1/ /dir1/dir2/dir3 1005s /tmp/ /something/ 1005s /dir1/dir2 /dir1/ 1005s //dir1/new //dir1/new/dir2/dir3 1005s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 1005s file:///dir1 file:///dir1/dir2/dir3/ 1005s file:///dir1/ file:///dir1/dir2/dir3/ 1005s file:///dir1 file:///dir1/dir2/dir3 1005s file:///dir1/ file:///dir1/dir2/dir3 1005s file:///tmp/ file:///something/ 1005s file:///dir1/dir2 file:///dir1/ 1005s file:////dir1/new file:////dir1/new/dir2/dir3 1005s 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 1005s ok 7 /g-file/test_g_file_has_prefix 1005s ok 8 /g-file/test_g_file_get_parent_child 1005s # End of g-file tests 1005s ok - glib/g-file.test 1005s # Running test: glib/private.test 1005s TAP version 13 1005s # random seed: R02S9c8e1c55f74cef55c66375009b1c2667 1005s 1..8 1005s # Start of thread tests 1005s ok 1 /thread/private1 1006s ok 2 /thread/private2 1006s # slow test /thread/private2 executed in 1.08 secs 1006s ok 3 /thread/private3 1006s ok 4 /thread/staticprivate1 1006s ok 5 /thread/staticprivate2 1006s ok 6 /thread/staticprivate3 1007s ok 7 /thread/staticprivate4 1007s # slow test /thread/staticprivate4 executed in 1.08 secs 1007s ok 8 /thread/staticprivate5 1007s # End of thread tests 1007s ok - glib/private.test 1007s # Running test: glib/defaultvalue.test 1007s TAP version 13 1007s # random seed: R02S77190a207d5b696df44e15a1266ab3ff 1008s 1..84 1008s # Start of Default Values tests 1008s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1008s ok 2 /Default Values/GAppLaunchContext 1008s ok 3 /Default Values/GApplicationCommandLine 1008s # skipping GApplication:is-remote 1008s ok 4 /Default Values/GApplication 1008s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1008s ok 6 /Default Values/GBindingGroup 1008s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1008s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1008s ok 9 /Default Values/GBytesIcon 1008s ok 10 /Default Values/GCancellable 1008s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1008s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1008s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1008s ok 14 /Default Values/GCredentials 1008s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1008s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1008s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1008s ok 18 /Default Values/GDBusAuthObserver 1008s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1008s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1008s ok 21 /Default Values/GDBusMessage 1008s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1008s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1008s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1008s ok 25 /Default Values/GDBusObjectProxy 1008s ok 26 /Default Values/GDBusObjectSkeleton 1008s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1008s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1008s ok 29 /Default Values/GEmblem 1008s ok 30 /Default Values/GEmblemedIcon 1008s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1008s ok 32 /Default Values/GFileInfo 1008s ok 33 /Default Values/GFileInputStream 1008s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1008s ok 35 /Default Values/GFileOutputStream 1008s ok 36 /Default Values/GFilenameCompleter 1008s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1008s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1008s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1008s ok 40 /Default Values/GInitiallyUnowned 1008s ok 41 /Default Values/GIOModule 1008s ok 42 /Default Values/GListStore 1008s ok 43 /Default Values/GMemoryInputStream 1008s ok 44 /Default Values/GMemoryOutputStream 1008s ok 45 /Default Values/GMenu 1008s ok 46 /Default Values/GMenuItem 1008s ok 47 /Default Values/GMountOperation 1008s ok 48 /Default Values/GNativeSocketAddress 1008s ok 49 /Default Values/GNetworkAddress 1008s ok 50 /Default Values/GNetworkService 1008s ok 51 /Default Values/GNotification 1008s ok 52 /Default Values/GObject 1008s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1008s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1008s # skipping GProxyAddressEnumerator:proxy-resolver 1008s ok 54 /Default Values/GProxyAddressEnumerator 1008s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1008s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1008s ok 57 /Default Values/GSignalGroup 1008s ok 58 /Default Values/GSimpleAction 1008s ok 59 /Default Values/GSimpleActionGroup 1008s ok 60 /Default Values/GSimpleAsyncResult 1008s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1008s ok 62 /Default Values/GSimplePermission 1008s ok 63 /Default Values/GSimpleProxyResolver 1008s # skipping GSocketClient:proxy-resolver 1008s ok 64 /Default Values/GSocketClient 1008s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1008s ok 66 /Default Values/GSocket # SKIP initialization failed 1008s ok 67 /Default Values/GSocketListener 1008s ok 68 /Default Values/GSocketService 1008s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1008s ok 70 /Default Values/GSubprocessLauncher 1008s # GLib-GIO-DEBUG: GTask 0x9c8f3e35f90 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1008s ok 71 /Default Values/GTask 1008s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1008s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1008s ok 74 /Default Values/GTestDBus 1008s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1008s ok 76 /Default Values/GThreadedSocketService 1008s ok 77 /Default Values/GTlsInteraction 1008s ok 78 /Default Values/GTlsPassword 1008s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1008s ok 80 /Default Values/GUnixFDList 1008s ok 81 /Default Values/GVfs 1008s ok 82 /Default Values/GVolumeMonitor 1008s ok 83 /Default Values/GZlibCompressor 1008s ok 84 /Default Values/GZlibDecompressor 1008s # End of Default Values tests 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1008s ok - glib/defaultvalue.test 1008s # Running test: glib/file.test 1008s TAP version 13 1008s # random seed: R02S168fc0fe91fd89aaaa90e822c7681b3c 1008s 1..50 1008s # Start of file tests 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/basic/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/basic/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/basic/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/basic/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/basic/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/basic/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/basic/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/basic/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/basic/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/basic/.dirs/runtime 1008s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1008s ok 1 /file/basic 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/build-filename/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/build-filename/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/build-filename/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/build-filename/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/build-filename/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/build-filename/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/build-filename/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/build-filename/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/build-filename/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/build-filename/.dirs/runtime 1008s ok 2 /file/build-filename 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/build-filenamev/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/build-filenamev/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/build-filenamev/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/build-filenamev/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/build-filenamev/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/build-filenamev/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/build-filenamev/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/build-filenamev/.dirs/runtime 1008s ok 3 /file/build-filenamev 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/parent/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/parent/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/parent/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/parent/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/parent/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/parent/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/parent/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/parent/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/parent/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/parent/.dirs/runtime 1008s ok 4 /file/parent 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/child/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/child/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/child/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/child/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/child/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/child/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/child/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/child/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/child/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/child/.dirs/runtime 1008s ok 5 /file/child 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/empty-path/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/empty-path/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/empty-path/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/empty-path/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/empty-path/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/empty-path/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/empty-path/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/empty-path/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/empty-path/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/empty-path/.dirs/runtime 1008s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1008s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1008s ok 6 /file/empty-path 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/type/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/type/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/type/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/type/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/type/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/type/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/type/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/type/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/type/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/type/.dirs/runtime 1008s ok 7 /file/type 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/parse-name/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/parse-name/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/parse-name/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/parse-name/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/parse-name/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/parse-name/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/parse-name/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/parse-name/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/parse-name/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/parse-name/.dirs/runtime 1008s ok 8 /file/parse-name 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/replace-load/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/replace-load/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/replace-load/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/replace-load/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/replace-load/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/replace-load/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/replace-load/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/replace-load/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/replace-load/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/replace-load/.dirs/runtime 1008s ok 9 /file/replace-load 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/replace-cancel/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/replace-cancel/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/replace-cancel/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/replace-cancel/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/replace-cancel/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/replace-cancel/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/replace-cancel/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/replace-cancel/.dirs/runtime 1008s # Bug Reference: https://bugzilla.gnome.org/629301 1008s ok 10 /file/replace-cancel 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/replace-symlink/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/replace-symlink/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/replace-symlink/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/replace-symlink/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/replace-symlink/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/replace-symlink/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/replace-symlink/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/replace-symlink/.dirs/runtime 1008s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1008s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1008s # Using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_symlink_82UPK2 1008s ok 11 /file/replace-symlink 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/async-new-tmp/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/async-new-tmp/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/async-new-tmp/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/async-new-tmp/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/async-new-tmp/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/async-new-tmp/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/async-new-tmp/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/async-new-tmp/.dirs/runtime 1008s ok 12 /file/async-new-tmp 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/async-new-tmp-dir/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/async-new-tmp-dir/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/async-new-tmp-dir/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/async-new-tmp-dir/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/async-new-tmp-dir/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/async-new-tmp-dir/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/async-new-tmp-dir/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/async-new-tmp-dir/.dirs/runtime 1008s ok 13 /file/async-new-tmp-dir 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/async-delete/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/async-delete/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/async-delete/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/async-delete/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/async-delete/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/async-delete/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/async-delete/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/async-delete/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/async-delete/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/async-delete/.dirs/runtime 1008s ok 14 /file/async-delete 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/async-make-symlink/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/async-make-symlink/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/async-make-symlink/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/async-make-symlink/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/async-make-symlink/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/async-make-symlink/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/async-make-symlink/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/async-make-symlink/.dirs/runtime 1008s ok 15 /file/async-make-symlink 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/copy-preserve-mode/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/copy-preserve-mode/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/copy-preserve-mode/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/copy-preserve-mode/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/copy-preserve-mode/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/copy-preserve-mode/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/copy-preserve-mode/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/copy-preserve-mode/.dirs/runtime 1008s # Current umask: 2 1008s # Vector 0 1008s # Vector 1 1008s # Vector 2 1008s # Vector 3 1008s # Vector 4 1008s # Vector 5 1008s # Vector 6 1008s # Vector 7 1008s # Vector 8 1008s # Vector 9 1008s # Vector 10 1008s ok 16 /file/copy-preserve-mode 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/measure/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/measure/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/measure/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/measure/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/measure/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/measure/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/measure/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/measure/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/measure/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/measure/.dirs/runtime 1008s ok 17 /file/measure 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/measure-async/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/measure-async/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/measure-async/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/measure-async/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/measure-async/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/measure-async/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/measure-async/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/measure-async/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/measure-async/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/measure-async/.dirs/runtime 1008s ok 18 /file/measure-async 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/load-bytes/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/load-bytes/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/load-bytes/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/load-bytes/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/load-bytes/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/load-bytes/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/load-bytes/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/load-bytes/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/load-bytes/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/load-bytes/.dirs/runtime 1008s ok 19 /file/load-bytes 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/load-bytes-async/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/load-bytes-async/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/load-bytes-async/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/load-bytes-async/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/load-bytes-async/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/load-bytes-async/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/load-bytes-async/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/load-bytes-async/.dirs/runtime 1008s ok 20 /file/load-bytes-async 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/writev/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/writev/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/writev/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/writev/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/writev/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/writev/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/writev/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/writev/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/writev/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/writev/.dirs/runtime 1008s ok 21 /file/writev 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/build-attribute-list-for-copy/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/build-attribute-list-for-copy/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/build-attribute-list-for-copy/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/build-attribute-list-for-copy/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/build-attribute-list-for-copy/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/build-attribute-list-for-copy/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/build-attribute-list-for-copy/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/build-attribute-list-for-copy/.dirs/runtime 1008s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1008s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1008s # 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::* 1008s # 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::* 1008s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1008s # Attributes for copy: standard::size,xattr::* 1008s # Attributes for copy: standard::size,unix::mode,xattr::* 1008s ok 22 /file/build-attribute-list-for-copy 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/move_async/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/move_async/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/move_async/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/move_async/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/move_async/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/move_async/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/move_async/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/move_async/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/move_async/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/move_async/.dirs/runtime 1008s ok 23 /file/move_async 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/query-zero-length-content-type/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/query-zero-length-content-type/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/query-zero-length-content-type/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/query-zero-length-content-type/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/query-zero-length-content-type/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/query-zero-length-content-type/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/query-zero-length-content-type/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/query-zero-length-content-type/.dirs/runtime 1008s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1008s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1008s ok 24 /file/query-zero-length-content-type 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/query-default-handler-file/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/query-default-handler-file/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/query-default-handler-file/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/query-default-handler-file/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/query-default-handler-file/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/query-default-handler-file/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/query-default-handler-file/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/query-default-handler-file/.dirs/runtime 1008s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VZ3PK2/file/query-default-handler-file/.dirs/data/applications 1008s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VZ3PK2/file/query-default-handler-file/.dirs/config 1008s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VZ3PK2/file/query-default-handler-file/.dirs/config 1008s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VZ3PK2/file/query-default-handler-file/.dirs/config 1008s ok 25 /file/query-default-handler-file 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/query-default-handler-file-async/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/query-default-handler-file-async/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/query-default-handler-file-async/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/query-default-handler-file-async/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/query-default-handler-file-async/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/query-default-handler-file-async/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/query-default-handler-file-async/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/query-default-handler-file-async/.dirs/runtime 1008s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VZ3PK2/file/query-default-handler-file-async/.dirs/data/applications 1008s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VZ3PK2/file/query-default-handler-file-async/.dirs/config 1008s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_VZ3PK2/file/query-default-handler-file/.dirs/config to /tmp/test_file_VZ3PK2/file/query-default-handler-file-async/.dirs/config 1008s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VZ3PK2/file/query-default-handler-file-async/.dirs/config 1008s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VZ3PK2/file/query-default-handler-file-async/.dirs/config 1008s ok 26 /file/query-default-handler-file-async 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/query-default-handler-uri/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/query-default-handler-uri/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/query-default-handler-uri/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/query-default-handler-uri/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/query-default-handler-uri/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/query-default-handler-uri/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/query-default-handler-uri/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/query-default-handler-uri/.dirs/runtime 1008s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VZ3PK2/file/query-default-handler-uri/.dirs/data/applications 1008s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VZ3PK2/file/query-default-handler-uri/.dirs/config 1008s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_VZ3PK2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_VZ3PK2/file/query-default-handler-uri/.dirs/config 1008s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VZ3PK2/file/query-default-handler-uri/.dirs/config 1008s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VZ3PK2/file/query-default-handler-uri/.dirs/config 1008s ok 27 /file/query-default-handler-uri 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/query-default-handler-uri-async/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/query-default-handler-uri-async/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/query-default-handler-uri-async/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/query-default-handler-uri-async/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/query-default-handler-uri-async/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/query-default-handler-uri-async/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/query-default-handler-uri-async/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/query-default-handler-uri-async/.dirs/runtime 1008s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VZ3PK2/file/query-default-handler-uri-async/.dirs/data/applications 1008s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VZ3PK2/file/query-default-handler-uri-async/.dirs/config 1008s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_VZ3PK2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_VZ3PK2/file/query-default-handler-uri-async/.dirs/config 1008s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VZ3PK2/file/query-default-handler-uri-async/.dirs/config 1008s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_VZ3PK2/file/query-default-handler-uri-async/.dirs/config 1008s ok 28 /file/query-default-handler-uri-async 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/enumerator-cancellation/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/enumerator-cancellation/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/enumerator-cancellation/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/enumerator-cancellation/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/enumerator-cancellation/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/enumerator-cancellation/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/enumerator-cancellation/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/enumerator-cancellation/.dirs/runtime 1008s ok 29 /file/enumerator-cancellation 1008s # Start of async-create-delete tests 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/async-create-delete/0/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/async-create-delete/0/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/async-create-delete/0/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/async-create-delete/0/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/async-create-delete/0/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/async-create-delete/0/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/async-create-delete/0/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/async-create-delete/0/.dirs/runtime 1008s ok 30 /file/async-create-delete/0 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/async-create-delete/1/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/async-create-delete/1/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/async-create-delete/1/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/async-create-delete/1/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/async-create-delete/1/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/async-create-delete/1/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/async-create-delete/1/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/async-create-delete/1/.dirs/runtime 1008s ok 31 /file/async-create-delete/1 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/async-create-delete/10/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/async-create-delete/10/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/async-create-delete/10/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/async-create-delete/10/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/async-create-delete/10/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/async-create-delete/10/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/async-create-delete/10/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/async-create-delete/10/.dirs/runtime 1008s ok 32 /file/async-create-delete/10 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/async-create-delete/25/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/async-create-delete/25/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/async-create-delete/25/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/async-create-delete/25/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/async-create-delete/25/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/async-create-delete/25/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/async-create-delete/25/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/async-create-delete/25/.dirs/runtime 1008s ok 33 /file/async-create-delete/25 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/async-create-delete/4096/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/async-create-delete/4096/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/async-create-delete/4096/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/async-create-delete/4096/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/async-create-delete/4096/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/async-create-delete/4096/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/async-create-delete/4096/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/async-create-delete/4096/.dirs/runtime 1008s ok 34 /file/async-create-delete/4096 1008s # End of async-create-delete tests 1008s # Start of replace-symlink tests 1008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/replace-symlink/using-etag/.dirs/home 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/replace-symlink/using-etag/.dirs/cache 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/replace-symlink/using-etag/.dirs/system-config2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/replace-symlink/using-etag/.dirs/config 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/replace-symlink/using-etag/.dirs/system-data2 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/replace-symlink/using-etag/.dirs/data 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/replace-symlink/using-etag/.dirs/state 1008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/replace-symlink/using-etag/.dirs/runtime 1008s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1008s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1008s # Using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_symlink_using_etag_PY73K2 1009s # Executing: glib/file.test 1010s ok 35 /file/replace-symlink/using-etag 1010s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 1010s # End of replace-symlink tests 1010s # Start of replace tests 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/replace/write-only/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/replace/write-only/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/replace/write-only/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/replace/write-only/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/replace/write-only/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/replace/write-only/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/replace/write-only/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/replace/write-only/.dirs/runtime 1010s # /file/replace/write-only summary: Test various situations for g_file_replace() 1010s # Current umask: 2 1010s # Test 0, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_BL63K2 1010s # Test 1, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_XXB4K2 1010s # Test 2, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_TKB4K2 1010s # Test 3, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_8KA4K2 1010s # Test 4, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_7C93K2 1010s # Test 5, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_JO93K2 1010s # Test 6, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_8YR4K2 1010s # Test 7, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_88P4K2 1010s # Test 8, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_DKQ4K2 1010s # Test 9, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_KEQ4K2 1010s # Test 10, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_UNU4K2 1010s # Test 11, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_HIU4K2 1010s # Test 12, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_TEU4K2 1010s # Test 13, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_O3S4K2 1010s # Test 14, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_PFS4K2 1010s # Test 15, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_YVL4K2 1010s # Test 16, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_23K4K2 1010s # Test 17, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_93J4K2 1010s # Test 18, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_CJO4K2 1010s # Test 19, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_XTN4K2 1010s # Test 20, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_7VM4K2 1010s # Test 21, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_SKM4K2 1010s # Test 22, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_QDB2K2 1010s # Test 23, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_YGA2K2 1010s # Test 24, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_8L91K2 1010s # Test 25, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_LX81K2 1010s # Test 26, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_Y981K2 1010s # Test 27, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_8281K2 1010s # Test 28, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_9MD2K2 1010s # Test 29, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_XNC2K2 1010s # Test 30, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_NBD2K2 1010s # Test 31, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_PZC2K2 1010s # Test 32, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_JDC2K2 1010s # Test 33, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_3531K2 1010s # Test 34, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_RI41K2 1010s # Test 35, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_ME41K2 1010s # Test 36, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_RP21K2 1010s # Test 37, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_OB81K2 1010s # Test 38, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_RM71K2 1010s # Test 39, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_GQ51K2 1010s # Test 40, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_S0N2K2 1010s # Test 41, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_J6M2K2 1010s # Test 42, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_75L2K2 1010s # Test 43, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_PZL2K2 1010s # Test 44, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_51P2K2 1010s # Test 45, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_ATQ2K2 1010s # Test 46, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_YVP2K2 1010s # Test 47, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_0PO2K2 1010s # Test 48, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_FLH2K2 1010s # We do not have CAP_DAC_OVERRIDE or equivalent 1010s ok 36 /file/replace/write-only 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/replace/read-write/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/replace/read-write/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/replace/read-write/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/replace/read-write/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/replace/read-write/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/replace/read-write/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/replace/read-write/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/replace/read-write/.dirs/runtime 1010s # /file/replace/read-write summary: Test various situations for g_file_replace() 1010s # Current umask: 2 1010s # Test 0, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_L4H2K2 1010s # Test 1, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_QSH2K2 1010s # Test 2, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_L1F2K2 1010s # Test 3, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_DCF2K2 1010s # Test 4, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_IQF2K2 1010s # Test 5, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_PTK2K2 1010s # Test 6, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_3RJ2K2 1010s # Test 7, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_0FJ2K2 1010s # Test 8, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_V7H2K2 1010s # Test 9, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_USI2K2 1010s # Test 10, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_LZ02K2 1010s # Test 11, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_A2Z2K2 1010s # Test 12, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_2XY2K2 1010s # Test 13, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_VHZ2K2 1010s # Test 14, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_8GY2K2 1010s # Test 15, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_2122K2 1010s # Test 16, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_9312K2 1010s # Test 17, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_US12K2 1010s # Test 18, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_0NU2K2 1010s # Test 19, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_YPT2K2 1010s # Test 20, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_W1S2K2 1010s # Test 21, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_JCX2K2 1010s # Test 22, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_04W2K2 1010s # Test 23, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_IXW2K2 1010s # Test 24, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_90U2K2 1010s # Test 25, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_6FD3K2 1010s # Test 26, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_CEC3K2 1010s # Test 27, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_8PC3K2 1010s # Test 28, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_VWA3K2 1010s # Test 29, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_69F3K2 1010s # Test 30, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_LRG3K2 1010s # Test 31, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_NQF3K2 1010s # Test 32, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_FQE3K2 1010s # Test 33, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_8JE3K2 1010s # Test 34, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_G262K2 1010s # Test 35, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_5G72K2 1010s # Test 36, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_ON62K2 1010s # Test 37, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_0N52K2 1010s # Test 38, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_Z792K2 1010s # Test 39, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_L582K2 1010s # Test 40, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_C082K2 1010s # Test 41, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_1772K2 1010s # Test 42, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_T0W0K2 1010s # Test 43, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_67V0K2 1010s # Test 44, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_UEU0K2 1010s # Test 45, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_RDU0K2 1010s # Test 46, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_7RZ0K2 1010s # Test 47, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_W6Z0K2 1010s # Test 48, using temporary directory /tmp/test_file_VZ3PK2/g_file_replace_MCZ0K2 1010s # We do not have CAP_DAC_OVERRIDE or equivalent 1010s ok 37 /file/replace/read-write 1010s # End of replace tests 1010s # Start of copy tests 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/copy/progress/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/copy/progress/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/copy/progress/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/copy/progress/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/copy/progress/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/copy/progress/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/copy/progress/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/copy/progress/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/copy/progress/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/copy/progress/.dirs/runtime 1010s ok 38 /file/copy/progress 1010s # End of copy tests 1010s # Start of writev tests 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/writev/no-bytes-written/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/writev/no-bytes-written/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/writev/no-bytes-written/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/writev/no-bytes-written/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/writev/no-bytes-written/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/writev/no-bytes-written/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/writev/no-bytes-written/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/writev/no-bytes-written/.dirs/runtime 1010s ok 39 /file/writev/no-bytes-written 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/writev/no-vectors/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/writev/no-vectors/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/writev/no-vectors/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/writev/no-vectors/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/writev/no-vectors/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/writev/no-vectors/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/writev/no-vectors/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/writev/no-vectors/.dirs/runtime 1010s ok 40 /file/writev/no-vectors 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/writev/empty-vectors/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/writev/empty-vectors/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/writev/empty-vectors/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/writev/empty-vectors/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/writev/empty-vectors/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/writev/empty-vectors/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/writev/empty-vectors/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/writev/empty-vectors/.dirs/runtime 1010s ok 41 /file/writev/empty-vectors 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/writev/too-big-vectors/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/writev/too-big-vectors/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/writev/too-big-vectors/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/writev/too-big-vectors/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/writev/too-big-vectors/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/writev/too-big-vectors/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/writev/too-big-vectors/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/writev/too-big-vectors/.dirs/runtime 1010s ok 42 /file/writev/too-big-vectors 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/writev/async/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/writev/async/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/writev/async/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/writev/async/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/writev/async/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/writev/async/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/writev/async/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/writev/async/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/writev/async/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/writev/async/.dirs/runtime 1010s ok 43 /file/writev/async 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/writev/async_all/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/writev/async_all/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/writev/async_all/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/writev/async_all/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/writev/async_all/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/writev/async_all/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/writev/async_all/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/writev/async_all/.dirs/runtime 1010s ok 44 /file/writev/async_all 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/writev/async_all-empty-vectors/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/writev/async_all-empty-vectors/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/writev/async_all-empty-vectors/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/writev/async_all-empty-vectors/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/writev/async_all-empty-vectors/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/writev/async_all-empty-vectors/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/writev/async_all-empty-vectors/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/writev/async_all-empty-vectors/.dirs/runtime 1010s ok 45 /file/writev/async_all-empty-vectors 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/writev/async_all-no-vectors/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/writev/async_all-no-vectors/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/writev/async_all-no-vectors/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/writev/async_all-no-vectors/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/writev/async_all-no-vectors/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/writev/async_all-no-vectors/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/writev/async_all-no-vectors/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/writev/async_all-no-vectors/.dirs/runtime 1010s ok 46 /file/writev/async_all-no-vectors 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/writev/async_all-to-big-vectors/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/writev/async_all-to-big-vectors/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/writev/async_all-to-big-vectors/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/writev/async_all-to-big-vectors/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/writev/async_all-to-big-vectors/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/writev/async_all-to-big-vectors/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/writev/async_all-to-big-vectors/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/writev/async_all-to-big-vectors/.dirs/runtime 1010s ok 47 /file/writev/async_all-to-big-vectors 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/writev/async_all-cancellation/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/writev/async_all-cancellation/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/writev/async_all-cancellation/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/writev/async_all-cancellation/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/writev/async_all-cancellation/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/writev/async_all-cancellation/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/writev/async_all-cancellation/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/writev/async_all-cancellation/.dirs/runtime 1010s ok 48 /file/writev/async_all-cancellation 1010s # End of writev tests 1010s # Start of from-uri tests 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/from-uri/ignores-query-string/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/from-uri/ignores-query-string/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/from-uri/ignores-query-string/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/from-uri/ignores-query-string/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/from-uri/ignores-query-string/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/from-uri/ignores-query-string/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/from-uri/ignores-query-string/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/from-uri/ignores-query-string/.dirs/runtime 1010s ok 49 /file/from-uri/ignores-query-string 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_VZ3PK2/file/from-uri/ignores-fragment/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_VZ3PK2/file/from-uri/ignores-fragment/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_VZ3PK2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_VZ3PK2/file/from-uri/ignores-fragment/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_VZ3PK2/file/from-uri/ignores-fragment/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_VZ3PK2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_VZ3PK2/file/from-uri/ignores-fragment/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_VZ3PK2/file/from-uri/ignores-fragment/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_VZ3PK2/file/from-uri/ignores-fragment/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_VZ3PK2/file/from-uri/ignores-fragment/.dirs/runtime 1010s ok 50 /file/from-uri/ignores-fragment 1010s # End of from-uri tests 1010s # End of file tests 1010s ok - glib/file.test 1010s # Running test: glib/date.test 1010s TAP version 13 1010s # random seed: R02S5dd698d186585b3bc12ad5b15424e1ae 1010s 1..121 1010s # Start of date tests 1010s ok 1 /date/basic 1010s ok 2 /date/empty 1010s ok 3 /date/dmy 1010s ok 4 /date/julian 1010s ok 5 /date/compare 1010s ok 6 /date/dates 1010s ok 7 /date/strftime 1010s ok 8 /date/two-digit-years 1010s ok 9 /date/parse 1010s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1010s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1010s ok 11 /date/month_substring 1010s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1010s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1010s ok 13 /date/clamp 1010s ok 14 /date/order 1010s ok 15 /date/copy 1010s # Vector 0: 0000-00-00, invalid 1010s # Vector 1: 0001-01-01, valid 1010s # Vector 2: 0000-01-01, invalid 1010s # Vector 3: 2000-02-30, invalid 1010s # Vector 4: 2000-02-29, valid 1010s # Vector 5: 2001-02-29, invalid 1010s # Vector 6: 65535-01-01, valid 1010s ok 16 /date/valid-dmy 1010s # Start of parse tests 1010s # Test 0 1010s # Test 1 1010s ok 17 /date/parse/invalid 1010s # End of parse tests 1010s # Start of year tests 1010s ok 18 /date/year/1 1010s ok 19 /date/year/2 1010s ok 20 /date/year/3 1010s ok 21 /date/year/4 1010s ok 22 /date/year/5 1010s ok 23 /date/year/6 1010s ok 24 /date/year/7 1010s ok 25 /date/year/8 1010s ok 26 /date/year/9 1010s ok 27 /date/year/10 1010s ok 28 /date/year/11 1010s ok 29 /date/year/12 1010s ok 30 /date/year/13 1010s ok 31 /date/year/14 1010s ok 32 /date/year/98 1010s ok 33 /date/year/99 1010s ok 34 /date/year/100 1010s ok 35 /date/year/101 1010s ok 36 /date/year/102 1010s ok 37 /date/year/103 1010s ok 38 /date/year/397 1010s ok 39 /date/year/398 1010s ok 40 /date/year/399 1010s ok 41 /date/year/400 1010s ok 42 /date/year/401 1010s ok 43 /date/year/402 1010s ok 44 /date/year/403 1010s ok 45 /date/year/404 1010s ok 46 /date/year/405 1010s ok 47 /date/year/406 1010s ok 48 /date/year/1598 1010s ok 49 /date/year/1599 1010s ok 50 /date/year/1600 1010s ok 51 /date/year/1601 1010s ok 52 /date/year/1602 1010s ok 53 /date/year/1650 1010s ok 54 /date/year/1651 1010s ok 55 /date/year/1897 1010s ok 56 /date/year/1898 1010s ok 57 /date/year/1899 1010s ok 58 /date/year/1900 1010s ok 59 /date/year/1901 1010s ok 60 /date/year/1902 1010s ok 61 /date/year/1903 1010s ok 62 /date/year/1961 1010s ok 63 /date/year/1962 1010s ok 64 /date/year/1963 1010s ok 65 /date/year/1964 1010s ok 66 /date/year/1965 1010s ok 67 /date/year/1967 1010s ok 68 /date/year/1968 1010s ok 69 /date/year/1969 1010s ok 70 /date/year/1970 1010s ok 71 /date/year/1971 1010s ok 72 /date/year/1972 1010s ok 73 /date/year/1973 1010s ok 74 /date/year/1974 1010s ok 75 /date/year/1975 1010s ok 76 /date/year/1976 1010s ok 77 /date/year/1977 1010s ok 78 /date/year/1978 1010s ok 79 /date/year/1979 1010s ok 80 /date/year/1980 1010s ok 81 /date/year/1981 1010s ok 82 /date/year/1982 1010s ok 83 /date/year/1983 1010s ok 84 /date/year/1984 1010s ok 85 /date/year/1985 1010s ok 86 /date/year/1986 1010s ok 87 /date/year/1987 1010s ok 88 /date/year/1988 1010s ok 89 /date/year/1989 1010s ok 90 /date/year/1990 1010s ok 91 /date/year/1991 1010s ok 92 /date/year/1992 1010s ok 93 /date/year/1993 1010s ok 94 /date/year/1994 1010s ok 95 /date/year/1995 1010s ok 96 /date/year/1996 1010s ok 97 /date/year/1997 1010s ok 98 /date/year/1998 1010s ok 99 /date/year/1999 1010s ok 100 /date/year/2000 1010s ok 101 /date/year/2001 1010s ok 102 /date/year/2002 1010s ok 103 /date/year/2003 1010s ok 104 /date/year/2004 1010s ok 105 /date/year/2005 1010s ok 106 /date/year/2006 1010s ok 107 /date/year/2007 1010s ok 108 /date/year/2008 1010s ok 109 /date/year/2009 1010s ok 110 /date/year/2010 1010s ok 111 /date/year/2011 1010s ok 112 /date/year/2012 1010s ok 113 /date/year/3000 1010s ok 114 /date/year/3001 1010s ok 115 /date/year/3002 1010s ok 116 /date/year/3998 1010s ok 117 /date/year/3999 1010s ok 118 /date/year/4000 1010s ok 119 /date/year/4001 1010s ok 120 /date/year/4002 1010s ok 121 /date/year/4003 1010s # End of year tests 1010s # End of date tests 1010s ok - glib/date.test 1010s # Running test: glib/gdbus-test-codegen-old.test 1010s TAP version 13 1010s # random seed: R02S073663939ceebf834773b03d490e155c 1010s 1..8 1010s # Start of gdbus tests 1010s # Start of codegen tests 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/annotations/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/annotations/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/annotations/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/annotations/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/annotations/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/annotations/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/annotations/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/annotations/.dirs/runtime 1010s ok 1 /gdbus/codegen/annotations 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/interface_stability/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/interface_stability/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/interface_stability/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/interface_stability/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/interface_stability/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/interface_stability/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/interface_stability/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/interface_stability/.dirs/runtime 1010s ok 2 /gdbus/codegen/interface_stability 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/object-manager/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/object-manager/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/object-manager/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/object-manager/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/object-manager/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/object-manager/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/object-manager/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/object-manager/.dirs/runtime 1010s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1010s ok 3 /gdbus/codegen/object-manager 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/property-naming/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/property-naming/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/property-naming/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/property-naming/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/property-naming/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/property-naming/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/property-naming/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/property-naming/.dirs/runtime 1010s ok 4 /gdbus/codegen/property-naming 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/autocleanups/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/autocleanups/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/autocleanups/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/autocleanups/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/autocleanups/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/autocleanups/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/autocleanups/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/autocleanups/.dirs/runtime 1010s ok 5 /gdbus/codegen/autocleanups 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/deprecations/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/deprecations/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/deprecations/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/deprecations/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/deprecations/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/deprecations/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/deprecations/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/deprecations/.dirs/runtime 1010s ok 6 /gdbus/codegen/deprecations 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/standalone-interface-info/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/standalone-interface-info/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/standalone-interface-info/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/standalone-interface-info/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/standalone-interface-info/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1010s ok 7 /gdbus/codegen/standalone-interface-info 1010s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/unix-fd-list/.dirs/home 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/unix-fd-list/.dirs/cache 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/unix-fd-list/.dirs/config 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/unix-fd-list/.dirs/data 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/unix-fd-list/.dirs/state 1010s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_DEGSK2/gdbus/codegen/unix-fd-list/.dirs/runtime 1010s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1010s ok 8 /gdbus/codegen/unix-fd-list 1010s # End of codegen tests 1010s # End of gdbus tests 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1010s ok - glib/gdbus-test-codegen-old.test 1010s # Running test: glib/simple-proxy.test 1010s TAP version 13 1010s # random seed: R02S62a030cf25c874cf9edc370cb9547e93 1010s 1..3 1010s # Start of static-proxy tests 1010s ok 1 /static-proxy/uri 1010s ok 2 /static-proxy/socks 1010s ok 3 /static-proxy/ignore 1010s # End of static-proxy tests 1010s ok - glib/simple-proxy.test 1010s # Running test: glib/atomic.test 1010s TAP version 13 1010s # random seed: R02S987858241bd2c11101cee12565afb922 1010s 1..2 1010s # Start of atomic tests 1010s ok 1 /atomic/types 1011s ok 2 /atomic/threaded 1011s # End of atomic tests 1011s ok - glib/atomic.test 1011s # Running test: glib/logging.test 1011s TAP version 13 1011s # random seed: R02Sdc0cac20d4db0d8e187e0218d3fbd361 1011s 1..17 1011s # Start of logging tests 1011s ok 1 /logging/default-handler 1011s ok 2 /logging/warnings 1011s ok 3 /logging/fatal-log-mask 1011s # bu-DEBUG: message 1011s # ba-DEBUG: message 1011s # ba-INFO: message 1011s ok 4 /logging/set-handler 1011s ok 5 /logging/print-handler 1011s ok 6 /logging/printerr-handler 1011s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 1011s # The Log Message Handler 1011s # 1011s # The Good Fail Message Handler 1011s # 1011s ok 7 /logging/653052 1011s ok 8 /logging/gibberish 1011s # Start of default-handler tests 1011s # Start of subprocess tests 1011s # End of subprocess tests 1011s # End of default-handler tests 1011s # End of logging tests 1011s # Start of structured-logging tests 1011s ok 9 /structured-logging/no-state 1011s ok 10 /structured-logging/some-state 1011s ok 11 /structured-logging/robustness 1011s ok 12 /structured-logging/roundtrip1 1011s ok 13 /structured-logging/roundtrip2 1011s ok 14 /structured-logging/roundtrip3 1011s ok 15 /structured-logging/variant1 1011s ok 16 /structured-logging/variant2 1011s ok 17 /structured-logging/set-writer-func-twice 1011s # End of structured-logging tests 1011s ok - glib/logging.test 1011s # Running test: glib/gdbus-auth.test 1011s TAP version 13 1011s # random seed: R02S547a28c17c8bd3fe1a3295ec401b4774 1011s 1..5 1011s # Start of gdbus tests 1011s # Start of auth tests 1011s # Start of client tests 1011s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/client/EXTERNAL/.dirs/home 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/client/EXTERNAL/.dirs/cache 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_5A1VK2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/client/EXTERNAL/.dirs/config 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_5A1VK2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/client/EXTERNAL/.dirs/data 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/client/EXTERNAL/.dirs/state 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/client/EXTERNAL/.dirs/runtime 1011s ok 1 /gdbus/auth/client/EXTERNAL 1011s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_5A1VK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_5A1VK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1011s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1011s # End of client tests 1011s # Start of server tests 1011s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/ANONYMOUS/.dirs/home 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/ANONYMOUS/.dirs/cache 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/ANONYMOUS/.dirs/config 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/ANONYMOUS/.dirs/data 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/ANONYMOUS/.dirs/state 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1011s ok 3 /gdbus/auth/server/ANONYMOUS 1011s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/EXTERNAL/.dirs/home 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/EXTERNAL/.dirs/cache 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/EXTERNAL/.dirs/config 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/EXTERNAL/.dirs/data 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/EXTERNAL/.dirs/state 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/EXTERNAL/.dirs/runtime 1011s ok 4 /gdbus/auth/server/EXTERNAL 1011s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_5A1VK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1011s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1011s # End of server tests 1011s # End of auth tests 1011s # End of gdbus tests 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s ok - glib/gdbus-auth.test 1011s # Running test: glib/cxx-2b.test 1011s TAP version 13 1011s # random seed: R02Sc5f4c39234d41e062a809b370d36369f 1011s 1..2 1011s # Start of gtask tests 1011s # 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. 1011s ok 1 /gtask/name 1011s # Start of name tests 1011s # 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. 1011s ok 2 /gtask/name/macro-wrapper 1011s # End of name tests 1011s # End of gtask tests 1011s ok - glib/cxx-2b.test 1011s # Running test: glib/gdbus-non-socket.test 1011s TAP version 13 1011s # random seed: R02S8af421b55d25e7532b71d86de65e2971 1011s 1..1 1011s # Start of gdbus tests 1011s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_0T4VK2/gdbus/non-socket/.dirs/home 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_0T4VK2/gdbus/non-socket/.dirs/cache 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_0T4VK2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_0T4VK2/gdbus/non-socket/.dirs/system-config2 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_0T4VK2/gdbus/non-socket/.dirs/config 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_0T4VK2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_0T4VK2/gdbus/non-socket/.dirs/system-data2 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_0T4VK2/gdbus/non-socket/.dirs/data 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_0T4VK2/gdbus/non-socket/.dirs/state 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_0T4VK2/gdbus/non-socket/.dirs/runtime 1011s ok 1 /gdbus/non-socket 1011s # End of gdbus tests 1011s ok - glib/gdbus-non-socket.test 1011s # Running test: glib/macros-c-17.test 1011s TAP version 13 1011s # random seed: R02Sa7db57f21e5a7cf348179b4de619fd97 1011s 1..4 1011s # Start of C tests 1011s ok 1 /C/standard-17 1011s # End of C tests 1011s # Start of alignof tests 1011s ok 2 /alignof/fallback 1011s # End of alignof tests 1011s # Start of assert tests 1011s ok 3 /assert/static 1011s # End of assert tests 1011s # Start of struct tests 1011s ok 4 /struct/sizeof_member 1011s # End of struct tests 1011s ok - glib/macros-c-17.test 1011s # Running test: glib/buffered-input-stream.test 1011s TAP version 13 1011s # random seed: R02Sb913f1d916cb95d7bf8b768bc1f6281c 1011s 1..10 1011s # Start of buffered-input-stream tests 1011s ok 1 /buffered-input-stream/peek 1011s ok 2 /buffered-input-stream/peek-buffer 1011s ok 3 /buffered-input-stream/set-buffer-size 1011s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1011s ok 4 /buffered-input-stream/read-byte 1011s ok 5 /buffered-input-stream/read 1011s ok 6 /buffered-input-stream/read-async 1011s ok 7 /buffered-input-stream/skip 1011s ok 8 /buffered-input-stream/skip-async 1011s ok 9 /buffered-input-stream/seek 1011s # End of buffered-input-stream tests 1011s # Start of filter-input-stream tests 1011s ok 10 /filter-input-stream/close 1011s # End of filter-input-stream tests 1011s ok - glib/buffered-input-stream.test 1011s # Running test: glib/inet-address.test 1011s TAP version 13 1011s # random seed: R02Sd53e441727ba61cc9c5c2e8dfaa357c9 1011s 1..11 1011s # Start of inet-address tests 1011s ok 1 /inet-address/parse 1011s ok 2 /inet-address/any 1011s ok 3 /inet-address/loopback 1011s ok 4 /inet-address/bytes 1011s ok 5 /inet-address/property 1011s # End of inet-address tests 1011s # Start of socket-address tests 1011s ok 6 /socket-address/basic 1011s ok 7 /socket-address/to-string 1011s # End of socket-address tests 1011s # Start of address-mask tests 1011s ok 8 /address-mask/parse 1011s ok 9 /address-mask/property 1011s ok 10 /address-mask/equal 1011s ok 11 /address-mask/match 1011s # End of address-mask tests 1011s ok - glib/inet-address.test 1011s # Running test: glib/hook.test 1011s TAP version 13 1011s # random seed: R02S9a72592ce4d171ad09c82037bf4b01f2 1011s 1..2 1011s # Start of hook tests 1011s ok 1 /hook/basics 1011s ok 2 /hook/corner-cases 1011s # End of hook tests 1011s ok - glib/hook.test 1011s # Running test: glib/glistmodel.test 1011s TAP version 13 1011s # random seed: R02S36565af6f4e2ec581e20b019c28978ca 1011s 1..18 1011s # Start of glistmodel tests 1011s # Start of store tests 1011s ok 1 /glistmodel/store/properties 1011s ok 2 /glistmodel/store/non-gobjects 1011s ok 3 /glistmodel/store/boundaries 1011s ok 4 /glistmodel/store/refcounts 1011s ok 5 /glistmodel/store/sorted 1011s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1011s ok 6 /glistmodel/store/splice-replace-middle 1011s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1011s ok 7 /glistmodel/store/splice-replace-all 1011s ok 8 /glistmodel/store/splice-noop 1011s ok 9 /glistmodel/store/splice-remove-multiple 1011s ok 10 /glistmodel/store/splice-add-multiple 1011s ok 11 /glistmodel/store/splice-wrong-type 1011s ok 12 /glistmodel/store/item-type 1011s ok 13 /glistmodel/store/remove-all 1011s ok 14 /glistmodel/store/sort 1011s ok 15 /glistmodel/store/get-item-cache 1011s ok 16 /glistmodel/store/items-changed 1011s ok 17 /glistmodel/store/past-end 1011s ok 18 /glistmodel/store/find 1011s # End of store tests 1011s # End of glistmodel tests 1011s ok - glib/glistmodel.test 1011s # Running test: glib/gdbus-connection-slow.test 1011s TAP version 13 1011s # random seed: R02Saaf912b63b7931b6bf28fb6f906b8dc4 1011s 1..2 1011s # Start of gdbus tests 1011s # Start of connection tests 1011s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_DPGUK2/gdbus/connection/flush/.dirs/home 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_DPGUK2/gdbus/connection/flush/.dirs/cache 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_DPGUK2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_DPGUK2/gdbus/connection/flush/.dirs/system-config2 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_DPGUK2/gdbus/connection/flush/.dirs/config 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_DPGUK2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_DPGUK2/gdbus/connection/flush/.dirs/system-data2 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_DPGUK2/gdbus/connection/flush/.dirs/data 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_DPGUK2/gdbus/connection/flush/.dirs/state 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_DPGUK2/gdbus/connection/flush/.dirs/runtime 1011s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s ok 1 /gdbus/connection/flush 1011s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_DPGUK2/gdbus/connection/large_message/.dirs/home 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_DPGUK2/gdbus/connection/large_message/.dirs/cache 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_DPGUK2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_DPGUK2/gdbus/connection/large_message/.dirs/system-config2 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_DPGUK2/gdbus/connection/large_message/.dirs/config 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_DPGUK2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_DPGUK2/gdbus/connection/large_message/.dirs/system-data2 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_DPGUK2/gdbus/connection/large_message/.dirs/data 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_DPGUK2/gdbus/connection/large_message/.dirs/state 1011s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_DPGUK2/gdbus/connection/large_message/.dirs/runtime 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1011s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s ok 2 /gdbus/connection/large_message 1011s # End of connection tests 1011s # End of gdbus tests 1011s ok - glib/gdbus-connection-slow.test 1011s # Running test: glib/dbus-appinfo.test 1011s TAP version 13 1011s # random seed: R02Sb5c081f58b40913a4c89422236f96ab1 1011s 1..3 1011s # Start of appinfo tests 1011s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1011s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1011s ok 1 /appinfo/dbusappinfo 1011s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1011s dbus-daemon[11347]: [session uid=1000 pid=11347] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=11346 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 1011s # Acquired a message bus connection 1011s dbus-daemon[11347]: [session uid=1000 pid=11347] Successfully activated service 'org.freedesktop.portal.Documents' 1011s # Acquired the name org.freedesktop.portal.Documents 1011s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 1011s ok 2 /appinfo/flatpak-doc-export 1011s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1011s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1011s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 1011s ok 3 /appinfo/flatpak-missing-doc-export 1011s # End of appinfo tests 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1011s # Lost the name org.freedesktop.portal.Documents 1011s ok - glib/dbus-appinfo.test 1011s # Running test: glib/power-profile-monitor-portal.test 1012s TAP version 13 1012s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1012s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1012s 1..2 1012s ok - glib/power-profile-monitor-portal.test 1012s # Running test: glib/fileutils.test 1012s TAP version 13 1012s # random seed: R02S37e35bb7c97e5553c1f3584db3bf338f 1012s 1..27 1012s # Start of fileutils tests 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YJY2K2/fileutils/paths/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/paths/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_YJY2K2/fileutils/paths/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YJY2K2/fileutils/paths/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_YJY2K2/fileutils/paths/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YJY2K2/fileutils/paths/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/paths/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YJY2K2/fileutils/paths/.dirs/runtime 1012s ok 1 /fileutils/paths 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YJY2K2/fileutils/build-path/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/build-path/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_YJY2K2/fileutils/build-path/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YJY2K2/fileutils/build-path/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_YJY2K2/fileutils/build-path/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YJY2K2/fileutils/build-path/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/build-path/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YJY2K2/fileutils/build-path/.dirs/runtime 1012s ok 2 /fileutils/build-path 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YJY2K2/fileutils/build-pathv/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/build-pathv/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_YJY2K2/fileutils/build-pathv/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YJY2K2/fileutils/build-pathv/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_YJY2K2/fileutils/build-pathv/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YJY2K2/fileutils/build-pathv/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/build-pathv/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YJY2K2/fileutils/build-pathv/.dirs/runtime 1012s ok 3 /fileutils/build-pathv 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YJY2K2/fileutils/build-filename/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/build-filename/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_YJY2K2/fileutils/build-filename/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YJY2K2/fileutils/build-filename/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_YJY2K2/fileutils/build-filename/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YJY2K2/fileutils/build-filename/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/build-filename/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YJY2K2/fileutils/build-filename/.dirs/runtime 1012s ok 4 /fileutils/build-filename 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YJY2K2/fileutils/build-filenamev/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/build-filenamev/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_YJY2K2/fileutils/build-filenamev/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YJY2K2/fileutils/build-filenamev/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_YJY2K2/fileutils/build-filenamev/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YJY2K2/fileutils/build-filenamev/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/build-filenamev/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YJY2K2/fileutils/build-filenamev/.dirs/runtime 1012s ok 5 /fileutils/build-filenamev 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YJY2K2/fileutils/mkdir-with-parents/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/mkdir-with-parents/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_YJY2K2/fileutils/mkdir-with-parents/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YJY2K2/fileutils/mkdir-with-parents/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_YJY2K2/fileutils/mkdir-with-parents/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YJY2K2/fileutils/mkdir-with-parents/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/mkdir-with-parents/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YJY2K2/fileutils/mkdir-with-parents/.dirs/runtime 1012s # We do not have CAP_DAC_OVERRIDE or equivalent 1012s ok 6 /fileutils/mkdir-with-parents 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YJY2K2/fileutils/mkdir-with-parents-permission/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/mkdir-with-parents-permission/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_YJY2K2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YJY2K2/fileutils/mkdir-with-parents-permission/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_YJY2K2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YJY2K2/fileutils/mkdir-with-parents-permission/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/mkdir-with-parents-permission/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YJY2K2/fileutils/mkdir-with-parents-permission/.dirs/runtime 1012s # We do not have CAP_DAC_OVERRIDE or equivalent 1012s ok 7 /fileutils/mkdir-with-parents-permission 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YJY2K2/fileutils/format-size-for-display/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/format-size-for-display/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_YJY2K2/fileutils/format-size-for-display/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YJY2K2/fileutils/format-size-for-display/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_YJY2K2/fileutils/format-size-for-display/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YJY2K2/fileutils/format-size-for-display/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/format-size-for-display/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YJY2K2/fileutils/format-size-for-display/.dirs/runtime 1012s ok 8 /fileutils/format-size-for-display 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YJY2K2/fileutils/errors/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/errors/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_YJY2K2/fileutils/errors/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YJY2K2/fileutils/errors/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_YJY2K2/fileutils/errors/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YJY2K2/fileutils/errors/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/errors/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YJY2K2/fileutils/errors/.dirs/runtime 1012s ok 9 /fileutils/errors 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YJY2K2/fileutils/basename/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/basename/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_YJY2K2/fileutils/basename/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YJY2K2/fileutils/basename/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_YJY2K2/fileutils/basename/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YJY2K2/fileutils/basename/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/basename/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YJY2K2/fileutils/basename/.dirs/runtime 1012s ok 10 /fileutils/basename 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YJY2K2/fileutils/get-basename/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/get-basename/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_YJY2K2/fileutils/get-basename/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YJY2K2/fileutils/get-basename/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_YJY2K2/fileutils/get-basename/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YJY2K2/fileutils/get-basename/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/get-basename/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YJY2K2/fileutils/get-basename/.dirs/runtime 1012s ok 11 /fileutils/get-basename 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YJY2K2/fileutils/dirname/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/dirname/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_YJY2K2/fileutils/dirname/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YJY2K2/fileutils/dirname/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_YJY2K2/fileutils/dirname/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YJY2K2/fileutils/dirname/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/dirname/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YJY2K2/fileutils/dirname/.dirs/runtime 1012s ok 12 /fileutils/dirname 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YJY2K2/fileutils/dir-make-tmp/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/dir-make-tmp/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_YJY2K2/fileutils/dir-make-tmp/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YJY2K2/fileutils/dir-make-tmp/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_YJY2K2/fileutils/dir-make-tmp/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YJY2K2/fileutils/dir-make-tmp/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/dir-make-tmp/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YJY2K2/fileutils/dir-make-tmp/.dirs/runtime 1012s ok 13 /fileutils/dir-make-tmp 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YJY2K2/fileutils/file-open-tmp/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/file-open-tmp/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_YJY2K2/fileutils/file-open-tmp/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YJY2K2/fileutils/file-open-tmp/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_YJY2K2/fileutils/file-open-tmp/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YJY2K2/fileutils/file-open-tmp/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/file-open-tmp/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YJY2K2/fileutils/file-open-tmp/.dirs/runtime 1012s ok 14 /fileutils/file-open-tmp 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YJY2K2/fileutils/file-test/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/file-test/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_YJY2K2/fileutils/file-test/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YJY2K2/fileutils/file-test/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_YJY2K2/fileutils/file-test/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YJY2K2/fileutils/file-test/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/file-test/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YJY2K2/fileutils/file-test/.dirs/runtime 1012s ok 15 /fileutils/file-test 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YJY2K2/fileutils/mkstemp/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/mkstemp/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_YJY2K2/fileutils/mkstemp/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YJY2K2/fileutils/mkstemp/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_YJY2K2/fileutils/mkstemp/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YJY2K2/fileutils/mkstemp/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/mkstemp/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YJY2K2/fileutils/mkstemp/.dirs/runtime 1012s ok 16 /fileutils/mkstemp 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YJY2K2/fileutils/mkdtemp/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/mkdtemp/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_YJY2K2/fileutils/mkdtemp/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YJY2K2/fileutils/mkdtemp/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_YJY2K2/fileutils/mkdtemp/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YJY2K2/fileutils/mkdtemp/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/mkdtemp/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YJY2K2/fileutils/mkdtemp/.dirs/runtime 1012s ok 17 /fileutils/mkdtemp 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YJY2K2/fileutils/get-contents/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/get-contents/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_YJY2K2/fileutils/get-contents/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YJY2K2/fileutils/get-contents/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_YJY2K2/fileutils/get-contents/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YJY2K2/fileutils/get-contents/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/get-contents/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YJY2K2/fileutils/get-contents/.dirs/runtime 1012s ok 18 /fileutils/get-contents 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YJY2K2/fileutils/get-contents-large-file/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/get-contents-large-file/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_YJY2K2/fileutils/get-contents-large-file/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YJY2K2/fileutils/get-contents-large-file/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_YJY2K2/fileutils/get-contents-large-file/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YJY2K2/fileutils/get-contents-large-file/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/get-contents-large-file/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YJY2K2/fileutils/get-contents-large-file/.dirs/runtime 1012s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YJY2K2/fileutils/set-contents/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/set-contents/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_YJY2K2/fileutils/set-contents/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YJY2K2/fileutils/set-contents/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_YJY2K2/fileutils/set-contents/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YJY2K2/fileutils/set-contents/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/set-contents/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YJY2K2/fileutils/set-contents/.dirs/runtime 1012s ok 20 /fileutils/set-contents 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/.dirs/runtime 1012s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1012s # Flags 0 and test 0 1012s # Flags 0 and test 1 1012s # Flags 0 and test 2 1012s # Flags 0 and test 3 1012s # Flags 0 and test 4 1012s # Flags 0 and test 5 1012s # Flags 1 and test 0 1012s # Flags 1 and test 1 1012s # Flags 1 and test 2 1012s # Flags 1 and test 3 1012s # Flags 1 and test 4 1012s # Flags 1 and test 5 1012s # Flags 2 and test 0 1012s # Flags 2 and test 1 1012s # Flags 2 and test 2 1012s # Flags 2 and test 3 1012s # Flags 2 and test 4 1012s # Flags 2 and test 5 1012s # Flags 3 and test 0 1012s # Flags 3 and test 1 1012s # Flags 3 and test 2 1012s # Flags 3 and test 3 1012s # Flags 3 and test 4 1012s # Flags 3 and test 5 1012s # Flags 4 and test 0 1012s # Flags 4 and test 1 1012s # Flags 4 and test 2 1012s # Flags 4 and test 3 1012s # Flags 4 and test 4 1012s # Flags 4 and test 5 1012s # Flags 5 and test 0 1012s # Flags 5 and test 1 1012s # Flags 5 and test 2 1012s # Flags 5 and test 3 1012s # Flags 5 and test 4 1012s # Flags 5 and test 5 1012s # Flags 6 and test 0 1012s # Flags 6 and test 1 1012s # Flags 6 and test 2 1012s # Flags 6 and test 3 1012s # Flags 6 and test 4 1012s # Flags 6 and test 5 1012s ok 21 /fileutils/set-contents-full 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YJY2K2/fileutils/read-link/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/read-link/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_YJY2K2/fileutils/read-link/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YJY2K2/fileutils/read-link/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_YJY2K2/fileutils/read-link/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YJY2K2/fileutils/read-link/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/read-link/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YJY2K2/fileutils/read-link/.dirs/runtime 1012s ok 22 /fileutils/read-link 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YJY2K2/fileutils/stdio-wrappers/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/stdio-wrappers/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_YJY2K2/fileutils/stdio-wrappers/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YJY2K2/fileutils/stdio-wrappers/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_YJY2K2/fileutils/stdio-wrappers/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YJY2K2/fileutils/stdio-wrappers/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/stdio-wrappers/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YJY2K2/fileutils/stdio-wrappers/.dirs/runtime 1012s # We do not have CAP_DAC_OVERRIDE or equivalent 1012s ok 23 /fileutils/stdio-wrappers 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YJY2K2/fileutils/fopen-modes/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/fopen-modes/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_YJY2K2/fileutils/fopen-modes/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YJY2K2/fileutils/fopen-modes/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_YJY2K2/fileutils/fopen-modes/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YJY2K2/fileutils/fopen-modes/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/fopen-modes/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YJY2K2/fileutils/fopen-modes/.dirs/runtime 1012s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1012s # Testing fopen() mode 'w' 1012s # Testing fopen() mode 'r' 1012s # Testing fopen() mode 'a' 1012s # Testing fopen() mode 'w+' 1012s # Testing fopen() mode 'r+' 1012s # Testing fopen() mode 'a+' 1012s # Testing fopen() mode 'wb' 1012s # Testing fopen() mode 'rb' 1012s # Testing fopen() mode 'ab' 1012s # Testing fopen() mode 'w+b' 1012s # Testing fopen() mode 'r+b' 1012s # Testing fopen() mode 'a+b' 1012s # Testing fopen() mode 'wb+' 1012s # Testing fopen() mode 'rb+' 1012s # Testing fopen() mode 'ab+' 1012s ok 24 /fileutils/fopen-modes 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YJY2K2/fileutils/clear-fd/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/clear-fd/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_YJY2K2/fileutils/clear-fd/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YJY2K2/fileutils/clear-fd/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_YJY2K2/fileutils/clear-fd/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YJY2K2/fileutils/clear-fd/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/clear-fd/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YJY2K2/fileutils/clear-fd/.dirs/runtime 1012s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1012s # Will be closed by autocleanup: 3, -42 1012s # Testing error handling 1012s ok 25 /fileutils/clear-fd 1012s # Start of set-contents-full tests 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/read-only-file/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/read-only-file/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/read-only-file/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/read-only-file/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/read-only-file/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/read-only-file/.dirs/runtime 1012s # We do not have CAP_DAC_OVERRIDE or equivalent 1012s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1012s ok 26 /fileutils/set-contents-full/read-only-file 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/read-only-directory/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/read-only-directory/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/read-only-directory/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/read-only-directory/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/read-only-directory/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YJY2K2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1012s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1012s # Flags 0 1012s # We do not have CAP_DAC_OVERRIDE or equivalent 1012s # Flags 1 1012s # We do not have CAP_DAC_OVERRIDE or equivalent 1012s # Flags 2 1012s # We do not have CAP_DAC_OVERRIDE or equivalent 1012s # Flags 3 1012s # We do not have CAP_DAC_OVERRIDE or equivalent 1012s # Flags 4 1012s # We do not have CAP_DAC_OVERRIDE or equivalent 1012s # Flags 5 1012s # We do not have CAP_DAC_OVERRIDE or equivalent 1012s # Flags 6 1012s # We do not have CAP_DAC_OVERRIDE or equivalent 1012s ok 27 /fileutils/set-contents-full/read-only-directory 1012s # End of set-contents-full tests 1012s # Start of clear-fd tests 1012s # Start of subprocess tests 1012s # End of subprocess tests 1012s # End of clear-fd tests 1012s # End of fileutils tests 1012s ok - glib/fileutils.test 1012s # Running test: glib/deprecated-properties.test 1012s TAP version 13 1012s # random seed: R02S24b747604d2ee217f848bbecb3e200d3 1012s 1..3 1012s # Start of deprecated-properties tests 1012s ok 1 /deprecated-properties/construct 1012s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1012s ok 2 /deprecated-properties/default-construct 1012s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1012s ok 3 /deprecated-properties/set 1012s # End of deprecated-properties tests 1012s ok - glib/deprecated-properties.test 1012s # Running test: glib/gdbus-serialization.test 1012s TAP version 13 1012s # random seed: R02S634e9286e4ed6f242602f620d6d115a3 1012s 1..18 1012s # Start of gdbus tests 1012s # Start of message-serialize tests 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/basic/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/basic/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/basic/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/basic/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/basic/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/basic/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/basic/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/basic/.dirs/runtime 1012s ok 1 /gdbus/message-serialize/basic 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/complex/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/complex/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/complex/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/complex/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/complex/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/complex/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/complex/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/complex/.dirs/runtime 1012s ok 2 /gdbus/message-serialize/complex 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/invalid/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/invalid/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/invalid/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/invalid/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/invalid/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/invalid/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/invalid/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/invalid/.dirs/runtime 1012s ok 3 /gdbus/message-serialize/invalid 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/header-checks/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/header-checks/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/header-checks/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/header-checks/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/header-checks/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/header-checks/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/header-checks/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/header-checks/.dirs/runtime 1012s ok 4 /gdbus/message-serialize/header-checks 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/double-array/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/double-array/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/double-array/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/double-array/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/double-array/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/double-array/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/double-array/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/double-array/.dirs/runtime 1012s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1012s ok 5 /gdbus/message-serialize/double-array 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/empty-structure/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/empty-structure/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/empty-structure/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/empty-structure/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/empty-structure/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/empty-structure/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/empty-structure/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/empty-structure/.dirs/runtime 1012s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1012s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1012s ok 6 /gdbus/message-serialize/empty-structure 1012s # Start of header-checks tests 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/header-checks/valid/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/header-checks/valid/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/header-checks/valid/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/header-checks/valid/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/header-checks/valid/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1012s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1012s ok 7 /gdbus/message-serialize/header-checks/valid 1012s # End of header-checks tests 1012s # End of message-serialize tests 1012s # Start of message-parse tests 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1012s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1012s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/non-signature-header/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/non-signature-header/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/non-signature-header/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/non-signature-header/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/non-signature-header/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/non-signature-header/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/non-signature-header/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/non-signature-header/.dirs/runtime 1012s ok 9 /gdbus/message-parse/non-signature-header 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-signature-header/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-signature-header/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-signature-header/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-signature-header/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-signature-header/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-signature-header/.dirs/runtime 1012s ok 10 /gdbus/message-parse/empty-signature-header 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/multiple-signature-header/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/multiple-signature-header/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/multiple-signature-header/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/multiple-signature-header/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/multiple-signature-header/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1012s ok 11 /gdbus/message-parse/multiple-signature-header 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/over-long-signature-header/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/over-long-signature-header/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/over-long-signature-header/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/over-long-signature-header/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/over-long-signature-header/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1012s ok 12 /gdbus/message-parse/over-long-signature-header 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/deep-header-nesting/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/deep-header-nesting/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/deep-header-nesting/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/deep-header-nesting/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/deep-header-nesting/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1012s ok 13 /gdbus/message-parse/deep-header-nesting 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/deep-body-nesting/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/deep-body-nesting/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/deep-body-nesting/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/deep-body-nesting/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/deep-body-nesting/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1012s ok 14 /gdbus/message-parse/deep-body-nesting 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/truncated/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/truncated/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/truncated/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/truncated/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/truncated/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/truncated/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/truncated/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/truncated/.dirs/runtime 1012s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1012s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1012s ok 15 /gdbus/message-parse/truncated 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-structure/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-structure/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-structure/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-structure/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-structure/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-structure/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-structure/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/empty-structure/.dirs/runtime 1012s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1012s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1012s ok 16 /gdbus/message-parse/empty-structure 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/missing-header/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/missing-header/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/missing-header/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/missing-header/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/missing-header/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/missing-header/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/missing-header/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/missing-header/.dirs/runtime 1012s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1012s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1012s ok 17 /gdbus/message-parse/missing-header 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/invalid-header-type/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/invalid-header-type/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/invalid-header-type/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/invalid-header-type/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/invalid-header-type/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_Q7X1K2/gdbus/message-parse/invalid-header-type/.dirs/runtime 1012s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1012s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1012s ok 18 /gdbus/message-parse/invalid-header-type 1012s # End of message-parse tests 1012s # End of gdbus tests 1012s ok - glib/gdbus-serialization.test 1012s # Running test: glib/task.test 1012s TAP version 13 1012s # random seed: R02Se059c8f6a182b595c84c38644d6a40fe 1012s 1..36 1012s # Start of gtask tests 1012s ok 1 /gtask/basic 1012s ok 2 /gtask/error 1012s ok 3 /gtask/error-literal 1012s ok 4 /gtask/error-literal-from-variable 1012s ok 5 /gtask/return-from-same-iteration 1012s ok 6 /gtask/return-from-toplevel 1012s ok 7 /gtask/return-from-anon-thread 1012s ok 8 /gtask/return-from-wrong-thread 1012s ok 9 /gtask/no-callback 1012s ok 10 /gtask/report-error 1012s ok 11 /gtask/priority 1012s ok 12 /gtask/name 1012s ok 13 /gtask/static-name 1012s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1012s ok 14 /gtask/asynchronous-cancellation 1012s ok 15 /gtask/check-cancellable 1012s ok 16 /gtask/return-if-cancelled 1012s ok 17 /gtask/run-in-thread 1012s ok 18 /gtask/run-in-thread-sync 1012s ok 19 /gtask/run-in-thread-priority 1012s ok 20 /gtask/run-in-thread-nested 1013s ok 21 /gtask/run-in-thread-overflow 1013s # slow test /gtask/run-in-thread-overflow executed in 0.52 secs 1013s # GLib-GIO-DEBUG: GTask 0x10bcc98b2c90 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1013s # GLib-GIO-DEBUG: GTask 0x10bcc98b3600 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1013s ok 22 /gtask/return-on-cancel 1013s # GLib-GIO-DEBUG: GTask 0x10bcc98b2e90 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1013s # GLib-GIO-DEBUG: GTask 0x10bcc9926470 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1013s ok 23 /gtask/return-on-cancel-sync 1013s ok 24 /gtask/return-on-cancel-atomic 1013s ok 25 /gtask/return-pointer 1013s ok 26 /gtask/return-value 1013s ok 27 /gtask/return-prefixed-error 1013s ok 28 /gtask/object-keepalive 1013s ok 29 /gtask/legacy-error 1013s ok 30 /gtask/finalize-without-return 1013s # Start of name tests 1013s ok 31 /gtask/name/macro-wrapper 1013s # End of name tests 1013s # Start of return tests 1013s ok 32 /gtask/return/error-first 1013s ok 33 /gtask/return/value-first 1013s # Start of in-idle tests 1013s ok 34 /gtask/return/in-idle/error-first 1013s ok 35 /gtask/return/in-idle/value-first 1013s # End of in-idle tests 1013s # End of return tests 1013s # Start of attach-source tests 1013s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 1013s ok 36 /gtask/attach-source/set-name 1013s # End of attach-source tests 1013s # End of gtask tests 1013s ok - glib/task.test 1013s # Running test: glib/trash.test 1013s TAP version 13 1013s # random seed: R02Se21943990678c9c78db711dbe3788208 1013s 1..2 1013s # Start of trash tests 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1013s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1013s # File: /tmp/test-trash1EGZK2 (parent st_dev: 2049) 1013s # Home: /home/ubuntu (st_dev: 2049) 1013s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1013s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 1013s # End of trash tests 1013s ok - glib/trash.test 1013s # Running test: glib/queue.test 1013s TAP version 13 1013s # random seed: R02S818548c802ff1ff6ec82b63455ffb034 1013s 1..12 1013s # Start of queue tests 1013s ok 1 /queue/basic 1013s ok 2 /queue/copy 1013s ok 3 /queue/off-by-one 1013s ok 4 /queue/find-custom 1013s ok 5 /queue/static 1013s ok 6 /queue/clear 1013s ok 7 /queue/free-full 1013s ok 8 /queue/clear-full 1013s ok 9 /queue/insert-sibling-link 1013s ok 10 /queue/push-nth-link 1013s # Start of clear-full tests 1013s ok 11 /queue/clear-full/noop 1013s # End of clear-full tests 1013s # Start of random tests 1013s ok 12 /queue/random/seed:1165082888 1013s # End of random tests 1013s # End of queue tests 1013s ok - glib/queue.test 1013s # Running test: glib/gdbus-connection.test 1013s TAP version 13 1013s # random seed: R02S0c44cb98bad7a47ca4a15d9e7211b90f 1013s 1..9 1013s # Start of gdbus tests 1013s # Start of connection tests 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/bus-failure/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/bus-failure/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_V1SKK2/gdbus/connection/bus-failure/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/bus-failure/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_V1SKK2/gdbus/connection/bus-failure/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/bus-failure/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/bus-failure/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/bus-failure/.dirs/runtime 1013s ok 1 /gdbus/connection/bus-failure 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/basic/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/basic/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_V1SKK2/gdbus/connection/basic/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/basic/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_V1SKK2/gdbus/connection/basic/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/basic/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/basic/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/basic/.dirs/runtime 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s ok 2 /gdbus/connection/basic 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/life-cycle/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/life-cycle/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_V1SKK2/gdbus/connection/life-cycle/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/life-cycle/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_V1SKK2/gdbus/connection/life-cycle/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/life-cycle/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/life-cycle/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/life-cycle/.dirs/runtime 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s ok 3 /gdbus/connection/life-cycle 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/send/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/send/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_V1SKK2/gdbus/connection/send/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/send/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_V1SKK2/gdbus/connection/send/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/send/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/send/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/send/.dirs/runtime 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s ok 4 /gdbus/connection/send 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/signals/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/signals/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_V1SKK2/gdbus/connection/signals/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/signals/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_V1SKK2/gdbus/connection/signals/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/signals/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/signals/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/signals/.dirs/runtime 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s ok 5 /gdbus/connection/signals 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/signal-match-rules/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/signal-match-rules/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_V1SKK2/gdbus/connection/signal-match-rules/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/signal-match-rules/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_V1SKK2/gdbus/connection/signal-match-rules/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/signal-match-rules/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/signal-match-rules/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/signal-match-rules/.dirs/runtime 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s ok 6 /gdbus/connection/signal-match-rules 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/filter/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/filter/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_V1SKK2/gdbus/connection/filter/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/filter/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_V1SKK2/gdbus/connection/filter/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/filter/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/filter/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/filter/.dirs/runtime 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s ok 7 /gdbus/connection/filter 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/serials/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/serials/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_V1SKK2/gdbus/connection/serials/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/serials/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_V1SKK2/gdbus/connection/serials/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/serials/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/serials/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/serials/.dirs/runtime 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s ok 8 /gdbus/connection/serials 1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/cancel/.dirs/home 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/cancel/.dirs/cache 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_V1SKK2/gdbus/connection/cancel/.dirs/system-config2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/cancel/.dirs/config 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_V1SKK2/gdbus/connection/cancel/.dirs/system-data2 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/cancel/.dirs/data 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/cancel/.dirs/state 1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_V1SKK2/gdbus/connection/cancel/.dirs/runtime 1013s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1013s ok 9 /gdbus/connection/cancel 1013s # End of connection tests 1013s # End of gdbus tests 1013s ok - glib/gdbus-connection.test 1013s # Running test: glib/signals-refcount2.test 1013s TAP version 13 1013s # random seed: R02S9201118e582a7c265201d80db62fcffc 1013s 1..1 1013s # Start of gobject tests 1013s # Start of refcount tests 1013s # init 0x1f7f22f420 1013s # 1013s # init 0x1f7f22f5c0 1013s # 1014s # Executing: glib/signals-refcount2.test 1018s # dispose 0x1f7f22f420! 1018s # 1018s # dispose 0x1f7f22f5c0! 1018s # 1018s ok 1 /gobject/refcount/signals 1018s # slow test /gobject/refcount/signals executed in 5.00 secs 1018s # End of refcount tests 1018s # End of gobject tests 1018s ok - glib/signals-refcount2.test 1018s # Running test: glib/properties-refcount4.test 1018s TAP version 13 1018s # random seed: R02Sb437316bc790e905b587ab5cae5acf4f 1018s 1..1 1018s # Start of gobject tests 1018s # Start of refcount tests 1018s ok 1 /gobject/refcount/properties-4 1018s # End of refcount tests 1018s # End of gobject tests 1018s ok - glib/properties-refcount4.test 1018s # Running test: glib/io-channel-basic.test 1018s TAP version 13 1018s # random seed: R02Sd3cb969be237c8a44e9dac1b9f9bd650 1018s 1..1 1018s # Start of gio tests 1018s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1018s # # random seed: R02Sdc8396b39c18c4e8b743070c13134900 1019s # # GLib-DEBUG: io-channel-basic: child writing 8+768 bytes to 6 1019s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1019s # GLib-DEBUG: io-channel-basic: ...from 5: 768 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1019s # Executing: glib/io-channel-basic.test 1019s # # GLib-DEBUG: io-channel-basic: child writing 8+4154 bytes to 6 1019s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1019s # GLib-DEBUG: io-channel-basic: ...from 5: 4154 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1019s # # GLib-DEBUG: io-channel-basic: child writing 8+3489 bytes to 6 1019s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1019s # GLib-DEBUG: io-channel-basic: ...from 5: 3489 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1019s # # GLib-DEBUG: io-channel-basic: child writing 8+21 bytes to 6 1019s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1019s # GLib-DEBUG: io-channel-basic: ...from 5: 21 bytes 1019s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1020s # # GLib-DEBUG: io-channel-basic: child writing 8+3456 bytes to 6 1020s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1020s # GLib-DEBUG: io-channel-basic: ...from 5: 3456 bytes 1020s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1020s # # GLib-DEBUG: io-channel-basic: child writing 8+4768 bytes to 6 1020s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1020s # GLib-DEBUG: io-channel-basic: ...from 5: 4768 bytes 1020s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1020s # # GLib-DEBUG: io-channel-basic: child writing 8+444 bytes to 6 1020s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1020s # GLib-DEBUG: io-channel-basic: ...from 5: 444 bytes 1020s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1020s # # GLib-DEBUG: io-channel-basic: child writing 8+1759 bytes to 6 1020s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1020s # GLib-DEBUG: io-channel-basic: ...from 5: 1759 bytes 1020s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1021s # # GLib-DEBUG: io-channel-basic: child writing 8+4976 bytes to 6 1021s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1021s # GLib-DEBUG: io-channel-basic: ...from 5: 4976 bytes 1021s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1021s # # GLib-DEBUG: io-channel-basic: child writing 8+4339 bytes to 6 1021s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1021s # GLib-DEBUG: io-channel-basic: ...from 5: 4339 bytes 1021s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1021s # # GLib-DEBUG: io-channel-basic: child writing 8+651 bytes to 6 1021s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1021s # GLib-DEBUG: io-channel-basic: ...from 5: 651 bytes 1021s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1021s # # GLib-DEBUG: io-channel-basic: child writing 8+2745 bytes to 6 1021s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1021s # GLib-DEBUG: io-channel-basic: ...from 5: 2745 bytes 1021s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1022s # # GLib-DEBUG: io-channel-basic: child writing 8+3427 bytes to 6 1022s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 5: 3427 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1022s # # GLib-DEBUG: io-channel-basic: child writing 8+3890 bytes to 6 1022s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 5: 3890 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1022s # # GLib-DEBUG: io-channel-basic: child writing 8+3101 bytes to 6 1022s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 5: 3101 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1022s # # GLib-DEBUG: io-channel-basic: child writing 8+2543 bytes to 6 1022s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1022s # GLib-DEBUG: io-channel-basic: ...from 5: 2543 bytes 1022s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1023s # # GLib-DEBUG: io-channel-basic: child writing 8+1912 bytes to 6 1023s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 5: 1912 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1023s # # GLib-DEBUG: io-channel-basic: child writing 8+66 bytes to 6 1023s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 5: 66 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1023s # # GLib-DEBUG: io-channel-basic: child writing 8+2178 bytes to 6 1023s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1023s # GLib-DEBUG: io-channel-basic: ...from 5: 2178 bytes 1023s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1024s # # GLib-DEBUG: io-channel-basic: child writing 8+215 bytes to 6 1024s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 5: 215 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1024s # Executing: glib/io-channel-basic.test 1024s # # GLib-DEBUG: io-channel-basic: child writing 8+1096 bytes to 6 1024s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 5: 1096 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1024s # # GLib-DEBUG: io-channel-basic: child writing 8+754 bytes to 6 1024s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1024s # GLib-DEBUG: io-channel-basic: ...from 5: 754 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1024s # # GLib-DEBUG: io-channel-basic: child writing 8+4838 bytes to 6 1024s # # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1024s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 1024s # GLib-DEBUG: io-channel-basic: ...from 5: 4838 bytes 1024s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1024s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1024s # # random seed: R02S583b2f1c9eb82d6430378ac328a27506 1024s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1024s # # random seed: R02S258c5541c1299b50296b2ec79cf0091c 1024s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1024s # # random seed: R02S010d8db354ac70c5c0754855d815db2e 1024s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1024s # # random seed: R02S6435d13282cd2d3fa62875e7e7b8baa9 1024s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1024s # # random seed: R02Sdd866fea4a6f88a5cbe3dc2e42c75c19 1025s # # GLib-DEBUG: io-channel-basic: child writing 8+332 bytes to 13 1025s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 12: 332 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1025s # # GLib-DEBUG: io-channel-basic: child writing 8+3938 bytes to 9 1025s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 8: 3938 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1025s # # GLib-DEBUG: io-channel-basic: child writing 8+3199 bytes to 15 1025s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 14: 3199 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1025s # # GLib-DEBUG: io-channel-basic: child writing 8+635 bytes to 11 1025s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 10: 635 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1025s # # GLib-DEBUG: io-channel-basic: child writing 8+3383 bytes to 17 1025s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 16: 3383 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1025s # # GLib-DEBUG: io-channel-basic: child writing 8+2175 bytes to 9 1025s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 8: 2175 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1025s # # GLib-DEBUG: io-channel-basic: child writing 8+2524 bytes to 15 1025s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 14: 2524 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1025s # # GLib-DEBUG: io-channel-basic: child writing 8+212 bytes to 13 1025s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 12: 212 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1025s # # GLib-DEBUG: io-channel-basic: child writing 8+670 bytes to 17 1025s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 16: 670 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1025s # # GLib-DEBUG: io-channel-basic: child writing 8+1131 bytes to 11 1025s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 10: 1131 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1025s # # GLib-DEBUG: io-channel-basic: child writing 8+759 bytes to 9 1025s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 8: 759 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1025s # # GLib-DEBUG: io-channel-basic: child writing 8+1000 bytes to 15 1025s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 14: 1000 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1025s # # GLib-DEBUG: io-channel-basic: child writing 8+4606 bytes to 13 1025s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 12: 4606 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1025s # # GLib-DEBUG: io-channel-basic: child writing 8+3867 bytes to 17 1025s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 16: 3867 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1025s # # GLib-DEBUG: io-channel-basic: child writing 8+1457 bytes to 11 1025s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 10: 1457 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1025s # # GLib-DEBUG: io-channel-basic: child writing 8+2050 bytes to 9 1025s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 8: 2050 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1025s # # GLib-DEBUG: io-channel-basic: child writing 8+2667 bytes to 13 1025s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 12: 2667 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1025s # # GLib-DEBUG: io-channel-basic: child writing 8+895 bytes to 15 1025s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 14: 895 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1025s # # GLib-DEBUG: io-channel-basic: child writing 8+2651 bytes to 17 1025s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 16: 2651 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1025s # # GLib-DEBUG: io-channel-basic: child writing 8+1057 bytes to 11 1025s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1025s # GLib-DEBUG: io-channel-basic: ...from 10: 1057 bytes 1025s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1026s # # GLib-DEBUG: io-channel-basic: child writing 8+610 bytes to 9 1026s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 8: 610 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1026s # # GLib-DEBUG: io-channel-basic: child writing 8+3437 bytes to 13 1026s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 12: 3437 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1026s # # GLib-DEBUG: io-channel-basic: child writing 8+3040 bytes to 15 1026s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 14: 3040 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1026s # # GLib-DEBUG: io-channel-basic: child writing 8+1176 bytes to 11 1026s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 10: 1176 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1026s # # GLib-DEBUG: io-channel-basic: child writing 8+1710 bytes to 17 1026s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 16: 1710 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1026s # # GLib-DEBUG: io-channel-basic: child writing 8+503 bytes to 9 1026s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 8: 503 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1026s # # GLib-DEBUG: io-channel-basic: child writing 8+3806 bytes to 13 1026s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 12: 3806 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1026s # # GLib-DEBUG: io-channel-basic: child writing 8+1870 bytes to 15 1026s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 14: 1870 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1026s # # GLib-DEBUG: io-channel-basic: child writing 8+2499 bytes to 11 1026s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 10: 2499 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1026s # # GLib-DEBUG: io-channel-basic: child writing 8+4685 bytes to 17 1026s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 16: 4685 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1026s # # GLib-DEBUG: io-channel-basic: child writing 8+1403 bytes to 13 1026s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 12: 1403 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1026s # # GLib-DEBUG: io-channel-basic: child writing 8+2796 bytes to 9 1026s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 8: 2796 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1026s # # GLib-DEBUG: io-channel-basic: child writing 8+2457 bytes to 11 1026s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 10: 2457 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1026s # # GLib-DEBUG: io-channel-basic: child writing 8+1261 bytes to 15 1026s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 14: 1261 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1026s # # GLib-DEBUG: io-channel-basic: child writing 8+623 bytes to 17 1026s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 16: 623 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1026s # # GLib-DEBUG: io-channel-basic: child writing 8+4016 bytes to 13 1026s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 12: 4016 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1026s # # GLib-DEBUG: io-channel-basic: child writing 8+1471 bytes to 9 1026s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 8: 1471 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1026s # # GLib-DEBUG: io-channel-basic: child writing 8+35 bytes to 17 1026s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 16: 35 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1026s # # GLib-DEBUG: io-channel-basic: child writing 8+2382 bytes to 11 1026s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 10: 2382 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1026s # # GLib-DEBUG: io-channel-basic: child writing 8+1969 bytes to 15 1026s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1026s # GLib-DEBUG: io-channel-basic: ...from 14: 1969 bytes 1026s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1027s # # GLib-DEBUG: io-channel-basic: child writing 8+186 bytes to 13 1027s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 12: 186 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1027s # # GLib-DEBUG: io-channel-basic: child writing 8+1049 bytes to 9 1027s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 8: 1049 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1027s # # GLib-DEBUG: io-channel-basic: child writing 8+2538 bytes to 11 1027s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 10: 2538 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1027s # # GLib-DEBUG: io-channel-basic: child writing 8+1101 bytes to 17 1027s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 16: 1101 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1027s # # GLib-DEBUG: io-channel-basic: child writing 8+1992 bytes to 15 1027s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 14: 1992 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1027s # # GLib-DEBUG: io-channel-basic: child writing 8+317 bytes to 13 1027s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 12: 317 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1027s # # GLib-DEBUG: io-channel-basic: child writing 8+1262 bytes to 11 1027s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 10: 1262 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1027s # # GLib-DEBUG: io-channel-basic: child writing 8+3092 bytes to 17 1027s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 16: 3092 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1027s # # GLib-DEBUG: io-channel-basic: child writing 8+4406 bytes to 9 1027s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 8: 4406 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1027s # # GLib-DEBUG: io-channel-basic: child writing 8+3663 bytes to 15 1027s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 14: 3663 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1027s # # GLib-DEBUG: io-channel-basic: child writing 8+1368 bytes to 13 1027s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 12: 1368 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1027s # # GLib-DEBUG: io-channel-basic: child writing 8+2088 bytes to 9 1027s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 8: 2088 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1027s # # GLib-DEBUG: io-channel-basic: child writing 8+1278 bytes to 17 1027s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 16: 1278 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1027s # # GLib-DEBUG: io-channel-basic: child writing 8+3050 bytes to 11 1027s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 10: 3050 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1027s # # GLib-DEBUG: io-channel-basic: child writing 8+3899 bytes to 15 1027s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 14: 3899 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1027s # # GLib-DEBUG: io-channel-basic: child writing 8+4136 bytes to 13 1027s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 12: 4136 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1027s # # GLib-DEBUG: io-channel-basic: child writing 8+4292 bytes to 9 1027s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 8: 4292 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1027s # # GLib-DEBUG: io-channel-basic: child writing 8+2621 bytes to 17 1027s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 16: 2621 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1027s # # GLib-DEBUG: io-channel-basic: child writing 8+2045 bytes to 11 1027s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 10: 2045 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1027s # # GLib-DEBUG: io-channel-basic: child writing 8+2014 bytes to 15 1027s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1027s # GLib-DEBUG: io-channel-basic: ...from 14: 2014 bytes 1027s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1028s # # GLib-DEBUG: io-channel-basic: child writing 8+3890 bytes to 13 1028s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1028s # GLib-DEBUG: io-channel-basic: ...from 12: 3890 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1028s # # GLib-DEBUG: io-channel-basic: child writing 8+4065 bytes to 9 1028s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1028s # GLib-DEBUG: io-channel-basic: ...from 8: 4065 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1028s # # GLib-DEBUG: io-channel-basic: child writing 8+22 bytes to 11 1028s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1028s # GLib-DEBUG: io-channel-basic: ...from 10: 22 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1028s # # GLib-DEBUG: io-channel-basic: child writing 8+935 bytes to 15 1028s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1028s # GLib-DEBUG: io-channel-basic: ...from 14: 935 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1028s # # GLib-DEBUG: io-channel-basic: child writing 8+4489 bytes to 17 1028s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1028s # GLib-DEBUG: io-channel-basic: ...from 16: 4489 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1028s # # GLib-DEBUG: io-channel-basic: child writing 8+3144 bytes to 13 1028s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1028s # GLib-DEBUG: io-channel-basic: ...from 12: 3144 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1028s # # GLib-DEBUG: io-channel-basic: child writing 8+3830 bytes to 9 1028s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1028s # GLib-DEBUG: io-channel-basic: ...from 8: 3830 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1028s # # GLib-DEBUG: io-channel-basic: child writing 8+4660 bytes to 11 1028s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1028s # GLib-DEBUG: io-channel-basic: ...from 10: 4660 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1028s # # GLib-DEBUG: io-channel-basic: child writing 8+3145 bytes to 15 1028s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1028s # GLib-DEBUG: io-channel-basic: ...from 14: 3145 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1028s # # GLib-DEBUG: io-channel-basic: child writing 8+3334 bytes to 17 1028s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1028s # GLib-DEBUG: io-channel-basic: ...from 16: 3334 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1028s # # GLib-DEBUG: io-channel-basic: child writing 8+1237 bytes to 13 1028s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1028s # GLib-DEBUG: io-channel-basic: ...from 12: 1237 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1028s # # GLib-DEBUG: io-channel-basic: child writing 8+1262 bytes to 9 1028s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1028s # GLib-DEBUG: io-channel-basic: ...from 8: 1262 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1028s # # GLib-DEBUG: io-channel-basic: child writing 8+2622 bytes to 11 1028s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1028s # GLib-DEBUG: io-channel-basic: ...from 10: 2622 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1028s # # GLib-DEBUG: io-channel-basic: child writing 8+721 bytes to 15 1028s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1028s # GLib-DEBUG: io-channel-basic: ...from 14: 721 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1028s # # GLib-DEBUG: io-channel-basic: child writing 8+604 bytes to 17 1028s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1028s # GLib-DEBUG: io-channel-basic: ...from 16: 604 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1028s # # GLib-DEBUG: io-channel-basic: child writing 8+3159 bytes to 9 1028s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1028s # GLib-DEBUG: io-channel-basic: ...from 8: 3159 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1028s # # GLib-DEBUG: io-channel-basic: child writing 8+3843 bytes to 13 1028s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1028s # GLib-DEBUG: io-channel-basic: ...from 12: 3843 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1028s # # GLib-DEBUG: io-channel-basic: child writing 8+4791 bytes to 11 1028s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1028s # GLib-DEBUG: io-channel-basic: ...from 10: 4791 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1028s # # GLib-DEBUG: io-channel-basic: child writing 8+2990 bytes to 15 1028s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1028s # GLib-DEBUG: io-channel-basic: ...from 14: 2990 bytes 1028s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1029s # # GLib-DEBUG: io-channel-basic: child writing 8+2861 bytes to 17 1029s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1029s # GLib-DEBUG: io-channel-basic: ...from 16: 2861 bytes 1029s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1029s # # GLib-DEBUG: io-channel-basic: child writing 8+548 bytes to 9 1029s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1029s # GLib-DEBUG: io-channel-basic: ...from 8: 548 bytes 1029s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1029s # # GLib-DEBUG: io-channel-basic: child writing 8+2455 bytes to 13 1029s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1029s # GLib-DEBUG: io-channel-basic: ...from 12: 2455 bytes 1029s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1029s # # GLib-DEBUG: io-channel-basic: child writing 8+1293 bytes to 11 1029s # # GLib-DEBUG: io-channel-basic: child writing 8+628 bytes to 15 1029s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1029s # GLib-DEBUG: io-channel-basic: ...from 10: 1293 bytes 1029s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1029s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1029s # GLib-DEBUG: io-channel-basic: ...from 14: 628 bytes 1029s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1029s # # GLib-DEBUG: io-channel-basic: child writing 8+2216 bytes to 17 1029s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1029s # GLib-DEBUG: io-channel-basic: ...from 16: 2216 bytes 1029s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1029s # Executing: glib/io-channel-basic.test 1029s # # GLib-DEBUG: io-channel-basic: child writing 8+0 bytes to 13 1029s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1029s # GLib-DEBUG: io-channel-basic: ...from 12: 0 bytes 1029s # # GLib-DEBUG: io-channel-basic: child writing 8+4756 bytes to 9 1029s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1029s # GLib-DEBUG: io-channel-basic: ...from 8: 4756 bytes 1029s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1029s # # GLib-DEBUG: io-channel-basic: child writing 8+1996 bytes to 11 1029s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1029s # GLib-DEBUG: io-channel-basic: ...from 10: 1996 bytes 1029s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1029s # # GLib-DEBUG: io-channel-basic: child writing 8+625 bytes to 15 1029s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1029s # GLib-DEBUG: io-channel-basic: ...from 14: 625 bytes 1029s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1029s # # GLib-DEBUG: io-channel-basic: child writing 8+1956 bytes to 17 1029s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1029s # GLib-DEBUG: io-channel-basic: ...from 16: 1956 bytes 1029s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1029s # # GLib-DEBUG: io-channel-basic: child writing 8+129 bytes to 13 1029s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1029s # GLib-DEBUG: io-channel-basic: ...from 12: 129 bytes 1029s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1029s # # GLib-DEBUG: io-channel-basic: child writing 8+1162 bytes to 9 1029s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1029s # GLib-DEBUG: io-channel-basic: ...from 8: 1162 bytes 1029s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1029s # # GLib-DEBUG: io-channel-basic: child writing 8+3527 bytes to 11 1029s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1029s # GLib-DEBUG: io-channel-basic: ...from 10: 3527 bytes 1029s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1029s # # GLib-DEBUG: io-channel-basic: child writing 8+2341 bytes to 17 1029s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1029s # GLib-DEBUG: io-channel-basic: ...from 16: 2341 bytes 1029s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1029s # # GLib-DEBUG: io-channel-basic: child writing 8+4243 bytes to 15 1029s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1029s # GLib-DEBUG: io-channel-basic: ...from 14: 4243 bytes 1029s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1030s # # GLib-DEBUG: io-channel-basic: child writing 8+4325 bytes to 13 1030s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1030s # GLib-DEBUG: io-channel-basic: ...from 12: 4325 bytes 1030s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1030s # # GLib-DEBUG: io-channel-basic: child writing 8+1440 bytes to 9 1030s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1030s # GLib-DEBUG: io-channel-basic: ...from 8: 1440 bytes 1030s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1030s # # GLib-DEBUG: io-channel-basic: child writing 8+4615 bytes to 17 1030s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1030s # GLib-DEBUG: io-channel-basic: ...from 16: 4615 bytes 1030s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1030s # # GLib-DEBUG: io-channel-basic: child writing 8+2661 bytes to 11 1030s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1030s # GLib-DEBUG: io-channel-basic: ...from 10: 2661 bytes 1030s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1030s # # GLib-DEBUG: io-channel-basic: child writing 8+51 bytes to 15 1030s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1030s # GLib-DEBUG: io-channel-basic: ...from 14: 51 bytes 1030s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1030s # # GLib-DEBUG: io-channel-basic: child writing 8+4131 bytes to 13 1030s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1030s # GLib-DEBUG: io-channel-basic: ...from 12: 4131 bytes 1030s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1030s # # GLib-DEBUG: io-channel-basic: child writing 8+754 bytes to 9 1030s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1030s # GLib-DEBUG: io-channel-basic: ...from 8: 754 bytes 1030s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1030s # # GLib-DEBUG: io-channel-basic: child writing 8+1439 bytes to 11 1030s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1030s # GLib-DEBUG: io-channel-basic: ...from 10: 1439 bytes 1030s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1030s # # GLib-DEBUG: io-channel-basic: child writing 8+2739 bytes to 17 1030s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1030s # GLib-DEBUG: io-channel-basic: ...from 16: 2739 bytes 1030s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1030s # # GLib-DEBUG: io-channel-basic: child writing 8+2281 bytes to 15 1030s # # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1030s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 1030s # GLib-DEBUG: io-channel-basic: ...from 14: 2281 bytes 1030s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1030s # # GLib-DEBUG: io-channel-basic: child writing 8+512 bytes to 9 1030s # # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1030s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 1030s # GLib-DEBUG: io-channel-basic: ...from 8: 512 bytes 1030s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1030s # # GLib-DEBUG: io-channel-basic: child writing 8+2990 bytes to 11 1030s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1030s # GLib-DEBUG: io-channel-basic: ...from 10: 2990 bytes 1030s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1030s # # GLib-DEBUG: io-channel-basic: child writing 8+1262 bytes to 13 1030s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1030s # GLib-DEBUG: io-channel-basic: ...from 12: 1262 bytes 1030s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1030s # # GLib-DEBUG: io-channel-basic: child writing 8+2520 bytes to 17 1030s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1030s # GLib-DEBUG: io-channel-basic: ...from 16: 2520 bytes 1030s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1030s # # GLib-DEBUG: io-channel-basic: child writing 8+452 bytes to 11 1030s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1030s # # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1030s # GLib-DEBUG: io-channel-basic: ...from 10: 452 bytes 1030s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1030s # GLib-DEBUG: io-channel-basic: ...from 10: HUP 1030s # # GLib-DEBUG: io-channel-basic: child writing 8+3118 bytes to 17 1030s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1030s # GLib-DEBUG: io-channel-basic: ...from 16: 3118 bytes 1030s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1030s # # GLib-DEBUG: io-channel-basic: child writing 8+1040 bytes to 13 1030s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1030s # GLib-DEBUG: io-channel-basic: ...from 12: 1040 bytes 1030s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1031s # # GLib-DEBUG: io-channel-basic: child writing 8+3064 bytes to 17 1031s # # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1031s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 1031s # GLib-DEBUG: io-channel-basic: ...from 16: 3064 bytes 1031s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1031s # # GLib-DEBUG: io-channel-basic: child writing 8+2267 bytes to 13 1031s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1031s # GLib-DEBUG: io-channel-basic: ...from 12: 2267 bytes 1031s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1031s # # GLib-DEBUG: io-channel-basic: child writing 8+4639 bytes to 13 1031s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1031s # GLib-DEBUG: io-channel-basic: ...from 12: 4639 bytes 1031s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1031s # # GLib-DEBUG: io-channel-basic: child writing 8+2435 bytes to 13 1031s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1031s # # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1031s # GLib-DEBUG: io-channel-basic: ...from 12: 2435 bytes 1031s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1031s # GLib-DEBUG: io-channel-basic: ...from 12: HUP 1031s ok 1 /gio/io-basics 1031s # slow test /gio/io-basics executed in 12.80 secs 1031s # End of gio tests 1031s ok - glib/io-channel-basic.test 1031s # Running test: glib/network-address.test 1031s TAP version 13 1031s # random seed: R02Sebd0d29ca01864da4658828edf606134 1031s 1..72 1031s # Start of network-address tests 1031s ok 1 /network-address/basic 1031s ok 2 /network-address/scope-id 1031s ok 3 /network-address/uri-scope-id 1031s ok 4 /network-address/to-string 1031s # Start of parse-host tests 1031s ok 5 /network-address/parse-host/0 1031s ok 6 /network-address/parse-host/1 1031s ok 7 /network-address/parse-host/2 1031s ok 8 /network-address/parse-host/3 1031s ok 9 /network-address/parse-host/4 1031s ok 10 /network-address/parse-host/5 1031s ok 11 /network-address/parse-host/6 1031s ok 12 /network-address/parse-host/7 1031s ok 13 /network-address/parse-host/8 1031s ok 14 /network-address/parse-host/9 1031s ok 15 /network-address/parse-host/10 1031s ok 16 /network-address/parse-host/11 1031s ok 17 /network-address/parse-host/12 1031s ok 18 /network-address/parse-host/13 1031s # End of parse-host tests 1031s # Start of parse-uri tests 1031s ok 19 /network-address/parse-uri/0 1031s ok 20 /network-address/parse-uri/1 1031s ok 21 /network-address/parse-uri/2 1031s ok 22 /network-address/parse-uri/3 1031s ok 23 /network-address/parse-uri/4 1031s ok 24 /network-address/parse-uri/5 1031s ok 25 /network-address/parse-uri/6 1031s ok 26 /network-address/parse-uri/7 1031s ok 27 /network-address/parse-uri/8 1031s ok 28 /network-address/parse-uri/9 1031s # End of parse-uri tests 1031s # Start of resolve-address tests 1031s # Input: 192.168.1.2 1031s ok 29 /network-address/resolve-address/0 1031s # Input: fe80::42 1031s ok 30 /network-address/resolve-address/1 1031s # Input: 192.168.1.2:80 1031s ok 31 /network-address/resolve-address/2 1031s # Input: [fe80::42] 1031s ok 32 /network-address/resolve-address/3 1031s # Input: [fe80::42]:80 1031s ok 33 /network-address/resolve-address/4 1031s # Input: 192.168.258 1031s ok 34 /network-address/resolve-address/5 1031s # Input: 192.11010306 1031s ok 35 /network-address/resolve-address/6 1031s # Input: 3232235778 1031s ok 36 /network-address/resolve-address/7 1031s # Input: 0300.0250.0001.0001 1031s ok 37 /network-address/resolve-address/8 1031s # Input: 0xC0.0xA8.0x01.0x02 1031s ok 38 /network-address/resolve-address/9 1031s # Input: 0xc0.0xa8.0x01.0x02 1031s ok 39 /network-address/resolve-address/10 1031s # Input: 0xc0a80102 1031s ok 40 /network-address/resolve-address/11 1031s # End of resolve-address tests 1031s # Start of loopback tests 1031s ok 41 /network-address/loopback/basic 1031s ok 42 /network-address/loopback/sync 1031s ok 43 /network-address/loopback/async 1031s # End of loopback tests 1031s # Start of localhost tests 1031s ok 44 /network-address/localhost/async 1031s ok 45 /network-address/localhost/sync 1031s # End of localhost tests 1031s # Start of happy-eyeballs tests 1031s ok 46 /network-address/happy-eyeballs/basic 1031s ok 47 /network-address/happy-eyeballs/parallel 1031s ok 48 /network-address/happy-eyeballs/slow-ipv4 1031s ok 49 /network-address/happy-eyeballs/slow-ipv6 1032s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1032s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1032s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1032s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1032s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1032s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1032s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1032s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1032s # /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. 1032s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1033s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1033s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1033s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1033s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1033s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1033s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1033s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1033s ok 57 /network-address/happy-eyeballs/both-error 1033s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1033s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1033s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1033s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1033s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1033s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1033s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1033s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1033s # End of happy-eyeballs tests 1033s # End of network-address tests 1033s # Start of gresolver tests 1033s # Start of resolve-address tests 1033s # Input: 192.168.1.2 1033s ok 61 /gresolver/resolve-address/0 1033s # Input: fe80::42 1033s ok 62 /gresolver/resolve-address/1 1033s # Input: 192.168.1.2:80 1033s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 1033s ok 63 /gresolver/resolve-address/2 1033s # Input: [fe80::42] 1033s # Error: Error resolving ?[fe80::42]?: Name or service not known 1033s ok 64 /gresolver/resolve-address/3 1033s # Input: [fe80::42]:80 1033s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 1033s ok 65 /gresolver/resolve-address/4 1033s # Input: 192.168.258 1033s # Error: Error resolving ?192.168.258?: Name or service not known 1033s ok 66 /gresolver/resolve-address/5 1033s # Input: 192.11010306 1033s # Error: Error resolving ?192.11010306?: Name or service not known 1033s ok 67 /gresolver/resolve-address/6 1033s # Input: 3232235778 1033s # Error: Error resolving ?3232235778?: Name or service not known 1033s ok 68 /gresolver/resolve-address/7 1033s # Input: 0300.0250.0001.0001 1033s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 1033s ok 69 /gresolver/resolve-address/8 1033s # Input: 0xC0.0xA8.0x01.0x02 1033s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 1033s ok 70 /gresolver/resolve-address/9 1033s # Input: 0xc0.0xa8.0x01.0x02 1033s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 1033s ok 71 /gresolver/resolve-address/10 1033s # Input: 0xc0a80102 1033s # Error: Error resolving ?0xc0a80102?: Name or service not known 1033s ok 72 /gresolver/resolve-address/11 1033s # End of resolve-address tests 1033s # End of gresolver tests 1033s ok - glib/network-address.test 1033s # Running test: glib/spawn-path-search.test 1033s TAP version 13 1033s # random seed: R02S53808cc76aba2efa70121c8252a57c9f 1033s 1..7 1033s # Start of spawn tests 1033s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1033s # 1033s # this is spawn-test-helper from glib/tests 1033s # 1033s ok 1 /spawn/do-not-search 1033s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1033s # 1033s # this is spawn-test-helper from path-test-subdir 1033s # 1033s ok 2 /spawn/search-path 1033s # /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. 1033s # 1033s # this is spawn-test-helper from path-test-subdir 1033s # 1033s ok 3 /spawn/search-path-from-envp 1033s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1033s # 1033s # this is spawn-test-helper from path-test-subdir 1033s # 1033s ok 4 /spawn/search-path-ambiguous 1033s # 1033s # this is spawn-test-helper from path-test-subdir 1033s # 1033s ok 5 /spawn/search-path-heap-allocation 1033s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1033s # 1033s # this is spawn-test-helper from glib/tests 1033s # 1033s ok 6 /spawn/search-path-fallback-in-environ 1033s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1033s # 1033s # this is spawn-test-helper from glib/tests 1033s # 1033s ok 7 /spawn/search-path-fallback-in-envp 1033s # End of spawn tests 1033s ok - glib/spawn-path-search.test 1033s # Running test: glib/gdbus-server-auth.test 1033s TAP version 13 1033s # random seed: R02S659bd4ac5aae6224db7fec0ed5e86e06 1033s 1..9 1033s # Start of gdbus tests 1033s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/.dirs/home 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/.dirs/cache 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/.dirs/system-config2 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/.dirs/config 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/.dirs/system-data2 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/.dirs/data 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/.dirs/state 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/.dirs/runtime 1033s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1NAWK2/gdbus-server-auth-9IAWK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1033s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1NAWK2/gdbus-server-auth-9IAWK2/dbus-Yvd88Omc 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 11534 1033s ok 1 /gdbus/server-auth 1033s # Start of server-auth tests 1033s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/abstract/.dirs/home 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/abstract/.dirs/cache 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/abstract/.dirs/system-config2 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/abstract/.dirs/config 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/abstract/.dirs/system-data2 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/abstract/.dirs/data 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/abstract/.dirs/state 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/abstract/.dirs/runtime 1033s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_1NAWK2/gdbus-server-auth-WGUTK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1033s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1NAWK2/gdbus-server-auth-WGUTK2/dbus-iLW7EXop 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1033s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1033s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 11534 1033s ok 2 /gdbus/server-auth/abstract 1033s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/tcp/.dirs/home 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/tcp/.dirs/cache 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/tcp/.dirs/system-config2 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/tcp/.dirs/config 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/tcp/.dirs/system-data2 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/tcp/.dirs/data 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/tcp/.dirs/state 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/tcp/.dirs/runtime 1033s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1033s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1033s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/anonymous/.dirs/home 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/anonymous/.dirs/cache 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/anonymous/.dirs/system-config2 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/anonymous/.dirs/config 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/anonymous/.dirs/system-data2 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/anonymous/.dirs/data 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/anonymous/.dirs/state 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/anonymous/.dirs/runtime 1033s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1NAWK2/gdbus-server-auth-6N6TK2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1033s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1NAWK2/gdbus-server-auth-6N6TK2/dbus-piCaKdH3 1033s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 11534 1033s ok 4 /gdbus/server-auth/anonymous 1033s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/external/.dirs/home 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/external/.dirs/cache 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/external/.dirs/system-config2 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/external/.dirs/config 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/external/.dirs/system-data2 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/external/.dirs/data 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/external/.dirs/state 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/external/.dirs/runtime 1033s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1NAWK2/gdbus-server-auth-KEHUK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1033s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1NAWK2/gdbus-server-auth-KEHUK2/dbus-Mg4PDOfi 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 11534 1033s ok 5 /gdbus/server-auth/external 1033s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/sha1/.dirs/home 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/sha1/.dirs/cache 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/sha1/.dirs/system-config2 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/sha1/.dirs/config 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/sha1/.dirs/system-data2 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/sha1/.dirs/data 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/sha1/.dirs/state 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/sha1/.dirs/runtime 1033s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1NAWK2/gdbus-server-auth-L6OUK2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1033s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1033s # Start of anonymous tests 1033s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/anonymous/tcp/.dirs/home 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/anonymous/tcp/.dirs/config 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/anonymous/tcp/.dirs/data 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/anonymous/tcp/.dirs/state 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1033s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1033s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1033s # End of anonymous tests 1033s # Start of external tests 1033s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/external/require-same-user/.dirs/home 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/external/require-same-user/.dirs/cache 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/external/require-same-user/.dirs/config 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/external/require-same-user/.dirs/data 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/external/require-same-user/.dirs/state 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1033s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1NAWK2/gdbus-server-auth-2CUUK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1033s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1NAWK2/gdbus-server-auth-2CUUK2/dbus-U00nCT2i 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 11534 1033s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1033s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1033s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1033s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=11534,uid=1000,gid=1000 1033s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 11534 1033s ok 8 /gdbus/server-auth/external/require-same-user 1033s # End of external tests 1033s # Start of sha1 tests 1033s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/sha1/tcp/.dirs/home 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/sha1/tcp/.dirs/cache 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/sha1/tcp/.dirs/config 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/sha1/tcp/.dirs/data 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/sha1/tcp/.dirs/state 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1NAWK2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1033s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1033s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1033s # End of sha1 tests 1033s # End of server-auth tests 1033s # End of gdbus tests 1033s ok - glib/gdbus-server-auth.test 1033s # Running test: glib/gdbus-close-pending.test 1033s TAP version 13 1033s # random seed: R02S06ada0da6be35c2ad00810c25f2ac6e8 1033s 1..2 1033s # Start of gdbus tests 1033s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_Q0J3K2/gdbus/close-pending/.dirs/home 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_Q0J3K2/gdbus/close-pending/.dirs/cache 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_Q0J3K2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_Q0J3K2/gdbus/close-pending/.dirs/system-config2 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_Q0J3K2/gdbus/close-pending/.dirs/config 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_Q0J3K2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_Q0J3K2/gdbus/close-pending/.dirs/system-data2 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_Q0J3K2/gdbus/close-pending/.dirs/data 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_Q0J3K2/gdbus/close-pending/.dirs/state 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_Q0J3K2/gdbus/close-pending/.dirs/runtime 1033s ok 1 /gdbus/close-pending 1033s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_Q0J3K2/gdbus/unref-pending/.dirs/home 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_Q0J3K2/gdbus/unref-pending/.dirs/cache 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_Q0J3K2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_Q0J3K2/gdbus/unref-pending/.dirs/system-config2 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_Q0J3K2/gdbus/unref-pending/.dirs/config 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_Q0J3K2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_Q0J3K2/gdbus/unref-pending/.dirs/system-data2 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_Q0J3K2/gdbus/unref-pending/.dirs/data 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_Q0J3K2/gdbus/unref-pending/.dirs/state 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_Q0J3K2/gdbus/unref-pending/.dirs/runtime 1033s ok 2 /gdbus/unref-pending 1033s # End of gdbus tests 1033s ok - glib/gdbus-close-pending.test 1033s # Running test: glib/basics-gobject.test 1033s TAP version 13 1033s # random seed: R02S08f528853c126e6116ccb1661aefee9a 1033s 1..1 1033s # Start of gobject tests 1033s # private data during initialization: 54321 == 54321 1033s # MAIN: emit test-signal: 1033s # ::test_signal default_handler called 1033s # ::test_signal default_handler called 1033s # ::test_signal default_handler called 1033s # signal return: "" 1033s # MAIN: call iface print-string on test and derived object: 1033s # Iface-FOO: "iface-string-from-test-type" from 0x24b9164f7a0 1033s # Iface-BAR: "iface-string-from-derived-type" from 0x24b9164f6c0 1033s # chaining: 1033s # Iface-FOO: "iface-string-from-derived-type" from 0x24b9164f6c0 1033s # private data after initialization: 54321 == 54321 1033s ok 1 /gobject/basics 1033s # End of gobject tests 1033s ok - glib/basics-gobject.test 1033s # Running test: glib/gdbus-peer.test 1033s TAP version 13 1033s # random seed: R02Sff16084b38e1fda43e38e96b9cad64c8 1033s 1..12 1033s # Start of gdbus tests 1033s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/.dirs/home 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/.dirs/cache 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/.dirs/system-config2 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/.dirs/config 1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/.dirs/system-data2 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/.dirs/data 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/.dirs/state 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/.dirs/runtime 1034s # Testing with unix:dir address 1034s # Testing with unix:tmpdir address 1034s # Testing with unix:path address 1034s ok 1 /gdbus/peer-to-peer 1034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/delayed-message-processing/.dirs/home 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/delayed-message-processing/.dirs/cache 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_Z7IPK2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_Z7IPK2/gdbus/delayed-message-processing/.dirs/system-config2 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/delayed-message-processing/.dirs/config 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_Z7IPK2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_Z7IPK2/gdbus/delayed-message-processing/.dirs/system-data2 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/delayed-message-processing/.dirs/data 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/delayed-message-processing/.dirs/state 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_Z7IPK2/gdbus/delayed-message-processing/.dirs/runtime 1034s # Testing with unix:dir address 1034s # Executing: glib/gdbus-peer.test 1034s ok 2 /gdbus/delayed-message-processing 1034s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 1034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/nonce-tcp/.dirs/home 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/nonce-tcp/.dirs/cache 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_Z7IPK2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_Z7IPK2/gdbus/nonce-tcp/.dirs/system-config2 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/nonce-tcp/.dirs/config 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_Z7IPK2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_Z7IPK2/gdbus/nonce-tcp/.dirs/system-data2 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/nonce-tcp/.dirs/data 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/nonce-tcp/.dirs/state 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_Z7IPK2/gdbus/nonce-tcp/.dirs/runtime 1034s ok 3 /gdbus/nonce-tcp 1034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/tcp-anonymous/.dirs/home 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/tcp-anonymous/.dirs/cache 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_Z7IPK2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_Z7IPK2/gdbus/tcp-anonymous/.dirs/system-config2 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/tcp-anonymous/.dirs/config 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_Z7IPK2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_Z7IPK2/gdbus/tcp-anonymous/.dirs/system-data2 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/tcp-anonymous/.dirs/data 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/tcp-anonymous/.dirs/state 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_Z7IPK2/gdbus/tcp-anonymous/.dirs/runtime 1034s ok 4 /gdbus/tcp-anonymous 1034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/credentials/.dirs/home 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/credentials/.dirs/cache 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_Z7IPK2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_Z7IPK2/gdbus/credentials/.dirs/system-config2 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/credentials/.dirs/config 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_Z7IPK2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_Z7IPK2/gdbus/credentials/.dirs/system-data2 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/credentials/.dirs/data 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/credentials/.dirs/state 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_Z7IPK2/gdbus/credentials/.dirs/runtime 1034s ok 5 /gdbus/credentials 1034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/codegen-peer-to-peer/.dirs/home 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/codegen-peer-to-peer/.dirs/cache 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_Z7IPK2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_Z7IPK2/gdbus/codegen-peer-to-peer/.dirs/system-config2 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/codegen-peer-to-peer/.dirs/config 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_Z7IPK2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_Z7IPK2/gdbus/codegen-peer-to-peer/.dirs/system-data2 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/codegen-peer-to-peer/.dirs/data 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/codegen-peer-to-peer/.dirs/state 1034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_Z7IPK2/gdbus/codegen-peer-to-peer/.dirs/runtime 1034s # Testing with unix:dir address 1034s # Machine ID: 9f50c72d11934ef780ada1e9b886ae3c 1035s ok 6 /gdbus/codegen-peer-to-peer 1035s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 1035s # Start of peer-to-peer tests 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/signals/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/signals/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/signals/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/signals/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/signals/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/signals/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/signals/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/signals/.dirs/runtime 1035s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 1035s # Testing with unix:dir address 1035s ok 7 /gdbus/peer-to-peer/signals 1035s # Start of invalid tests 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/server/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/server/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/server/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/server/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/server/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 1035s ok 8 /gdbus/peer-to-peer/invalid/server 1035s # Start of conn tests 1035s # Start of stream tests 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 1035s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 1035s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 1035s # End of stream tests 1035s # Start of addr tests 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 1035s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_Z7IPK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 1035s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 1035s # End of addr tests 1035s # End of conn tests 1035s # End of invalid tests 1035s # End of peer-to-peer tests 1035s # End of gdbus tests 1035s ok - glib/gdbus-peer.test 1035s # Running test: glib/markup-parse.test 1035s TAP version 13 1035s # random seed: R02S6eddf832aa7ed0387c31218398756a21 1035s 1..71 1035s # Start of markup tests 1035s # Start of parse tests 1035s ok 1 /markup/parse/valid-17.gmarkup 1035s ok 2 /markup/parse/valid-10.gmarkup 1035s ok 3 /markup/parse/fail-49.gmarkup 1035s ok 4 /markup/parse/fail-9.gmarkup 1035s ok 5 /markup/parse/fail-54.gmarkup 1035s ok 6 /markup/parse/fail-31.gmarkup 1035s ok 7 /markup/parse/valid-1.gmarkup 1035s ok 8 /markup/parse/fail-4.gmarkup 1035s ok 9 /markup/parse/valid-6.gmarkup 1035s ok 10 /markup/parse/fail-48.gmarkup 1035s ok 11 /markup/parse/fail-36.gmarkup 1035s ok 12 /markup/parse/valid-11.gmarkup 1035s ok 13 /markup/parse/fail-18.gmarkup 1035s ok 14 /markup/parse/fail-19.gmarkup 1035s ok 15 /markup/parse/fail-17.gmarkup 1035s ok 16 /markup/parse/fail-25.gmarkup 1035s ok 17 /markup/parse/valid-7.gmarkup 1035s ok 18 /markup/parse/fail-30.gmarkup 1035s ok 19 /markup/parse/fail-24.gmarkup 1035s ok 20 /markup/parse/fail-10.gmarkup 1035s ok 21 /markup/parse/fail-52.gmarkup 1035s ok 22 /markup/parse/fail-33.gmarkup 1035s ok 23 /markup/parse/valid-8.gmarkup 1035s ok 24 /markup/parse/fail-12.gmarkup 1035s ok 25 /markup/parse/fail-23.gmarkup 1035s ok 26 /markup/parse/fail-14.gmarkup 1035s ok 27 /markup/parse/fail-21.gmarkup 1035s ok 28 /markup/parse/fail-3.gmarkup 1035s ok 29 /markup/parse/fail-38.gmarkup 1035s ok 30 /markup/parse/fail-22.gmarkup 1035s ok 31 /markup/parse/fail-5.gmarkup 1035s ok 32 /markup/parse/valid-5.gmarkup 1035s ok 33 /markup/parse/fail-27.gmarkup 1035s ok 34 /markup/parse/fail-39.gmarkup 1035s ok 35 /markup/parse/fail-46.gmarkup 1035s ok 36 /markup/parse/fail-51.gmarkup 1035s ok 37 /markup/parse/fail-37.gmarkup 1035s ok 38 /markup/parse/valid-2.gmarkup 1035s ok 39 /markup/parse/fail-8.gmarkup 1035s ok 40 /markup/parse/fail-42.gmarkup 1035s ok 41 /markup/parse/valid-13.gmarkup 1035s ok 42 /markup/parse/fail-29.gmarkup 1035s ok 43 /markup/parse/valid-16.gmarkup 1035s ok 44 /markup/parse/valid-4.gmarkup 1035s ok 45 /markup/parse/fail-16.gmarkup 1035s ok 46 /markup/parse/fail-53.gmarkup 1035s ok 47 /markup/parse/fail-35.gmarkup 1035s ok 48 /markup/parse/valid-3.gmarkup 1035s ok 49 /markup/parse/valid-9.gmarkup 1035s ok 50 /markup/parse/valid-12.gmarkup 1035s ok 51 /markup/parse/fail-1.gmarkup 1035s ok 52 /markup/parse/fail-20.gmarkup 1035s ok 53 /markup/parse/fail-28.gmarkup 1035s ok 54 /markup/parse/fail-6.gmarkup 1035s ok 55 /markup/parse/fail-2.gmarkup 1035s ok 56 /markup/parse/fail-34.gmarkup 1035s ok 57 /markup/parse/fail-7.gmarkup 1035s ok 58 /markup/parse/fail-13.gmarkup 1035s ok 59 /markup/parse/fail-45.gmarkup 1035s ok 60 /markup/parse/fail-15.gmarkup 1035s ok 61 /markup/parse/fail-40.gmarkup 1035s ok 62 /markup/parse/fail-26.gmarkup 1035s ok 63 /markup/parse/fail-32.gmarkup 1035s ok 64 /markup/parse/fail-11.gmarkup 1035s ok 65 /markup/parse/fail-50.gmarkup 1035s ok 66 /markup/parse/fail-41.gmarkup 1035s ok 67 /markup/parse/fail-43.gmarkup 1035s ok 68 /markup/parse/fail-44.gmarkup 1035s ok 69 /markup/parse/fail-47.gmarkup 1035s ok 70 /markup/parse/valid-15.gmarkup 1035s ok 71 /markup/parse/valid-14.gmarkup 1035s # End of parse tests 1035s # End of markup tests 1035s ok - glib/markup-parse.test 1035s # Running test: glib/cxx-17.test 1035s TAP version 13 1035s # random seed: R02S90ff8536d6a4e5bc9ce94fa019b64687 1035s 1..2 1035s # Start of gtask tests 1035s # 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. 1035s ok 1 /gtask/name 1035s # Start of name tests 1035s # 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. 1035s ok 2 /gtask/name/macro-wrapper 1035s # End of name tests 1035s # End of gtask tests 1035s ok - glib/cxx-17.test 1035s # Running test: glib/tls-interaction.test 1035s TAP version 13 1035s # random seed: R02S233845c1ee8dc51e48548de8e0f4de75 1035s 1..42 1035s # Start of tls-interaction tests 1035s # Start of ask-password tests 1035s # Start of invoke-with-loop tests 1035s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1035s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1035s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1035s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1035s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1035s # End of invoke-with-loop tests 1035s # Start of invoke-without-loop tests 1035s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1035s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1035s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1035s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1035s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1035s # End of invoke-without-loop tests 1035s # Start of invoke-in-loop tests 1035s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1035s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1035s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1035s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1035s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1035s # End of invoke-in-loop tests 1035s # Start of sync tests 1035s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1035s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1035s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1035s # End of sync tests 1035s # Start of async tests 1035s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1035s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1035s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1035s # End of async tests 1035s # End of ask-password tests 1035s # Start of request-certificate tests 1035s # Start of invoke-with-loop tests 1035s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1035s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1035s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1035s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1035s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1035s # End of invoke-with-loop tests 1035s # Start of invoke-without-loop tests 1035s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1035s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1035s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1035s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1035s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1035s # End of invoke-without-loop tests 1035s # Start of invoke-in-loop tests 1035s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1035s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1035s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1035s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1035s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1035s # End of invoke-in-loop tests 1035s # Start of sync tests 1035s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1035s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1035s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1035s # End of sync tests 1035s # Start of async tests 1035s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1035s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1035s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1035s # End of async tests 1035s # End of request-certificate tests 1035s # End of tls-interaction tests 1035s ok - glib/tls-interaction.test 1035s # Running test: glib/tls-certificate.test 1035s TAP version 13 1035s # random seed: R02S9414b1426e34c847e74a25dfb6d317fd 1035s 1..19 1035s # Start of tls-certificate tests 1035s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1035s ok 1 /tls-certificate/pem-parser 1035s ok 2 /tls-certificate/pem-parser-handles-chain 1035s ok 3 /tls-certificate/from_file 1035s ok 4 /tls-certificate/from_files 1035s ok 5 /tls-certificate/from_files_crlf 1035s ok 6 /tls-certificate/from_files_pkcs8 1035s ok 7 /tls-certificate/from_files_pkcs8enc 1035s ok 8 /tls-certificate/list_from_file 1035s ok 9 /tls-certificate/pkcs11-uri 1035s ok 10 /tls-certificate/pkcs11-uri-unsupported 1035s ok 11 /tls-certificate/from_pkcs12 1035s ok 12 /tls-certificate/from_pkcs12_file 1035s ok 13 /tls-certificate/not-valid-before 1035s ok 14 /tls-certificate/not-valid-after 1035s ok 15 /tls-certificate/subject-name 1035s ok 16 /tls-certificate/issuer-name 1035s ok 17 /tls-certificate/dns-names 1035s ok 18 /tls-certificate/ip-addresses 1035s ok 19 /tls-certificate/pem-parser-no-sentinel 1035s # End of tls-certificate tests 1035s ok - glib/tls-certificate.test 1035s # Running test: glib/utils-c-11.test 1035s TAP version 13 1035s # random seed: R02Sd2208192ebdd913968ce095a8cf26dc6 1035s 1..40 1035s # Start of utils tests 1035s ok 1 /utils/language-names 1035s ok 2 /utils/locale-variants 1035s ok 3 /utils/version 1035s ok 4 /utils/appname 1035s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1035s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1035s ok 5 /utils/prgname-thread-safety 1035s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1035s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1035s ok 6 /utils/tmpdir 1035s ok 7 /utils/basic_bits 1035s ok 8 /utils/bits 1035s ok 9 /utils/swap 1035s ok 10 /utils/find-program 1035s ok 11 /utils/find-program-for-path 1035s ok 12 /utils/debug 1035s ok 13 /utils/codeset 1035s ok 14 /utils/codeset2 1035s ok 15 /utils/console-charset 1035s ok 16 /utils/gettext 1035s ok 17 /utils/username 1035s ok 18 /utils/realname 1035s ok 19 /utils/hostname 1035s ok 20 /utils/xdgdirs 1035s ok 21 /utils/specialdir 1035s # NAME: Ubuntu 1035s ok 22 /utils/os-info 1035s ok 23 /utils/clear-pointer 1035s ok 24 /utils/clear-pointer-cast 1035s ok 25 /utils/take-pointer 1035s ok 26 /utils/clear-source 1035s ok 27 /utils/misc-mem 1035s # /utils/aligned-mem summary: Aligned memory allocator 1035s # Alignment must not be zero 1035s # Alignment must be a power of two 1035s # Alignment must be a multiple of sizeof(void*) 1035s ok 28 /utils/aligned-mem 1035s # /utils/free-sized summary: Check that g_free_sized() works 1035s ok 29 /utils/free-sized 1035s ok 30 /utils/nullify 1035s ok 31 /utils/atexit 1035s ok 32 /utils/check-setuid 1035s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1035s ok 33 /utils/int-limits 1035s ok 34 /utils/clear-list 1035s ok 35 /utils/clear-slist 1035s # Start of specialdir tests 1035s ok 36 /utils/specialdir/desktop 1035s # End of specialdir tests 1035s # Start of clear-pointer tests 1035s ok 37 /utils/clear-pointer/side-effects 1035s # End of clear-pointer tests 1035s # Start of aligned-mem tests 1035s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1035s ok 38 /utils/aligned-mem/alignment 1035s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1035s ok 39 /utils/aligned-mem/zeroed 1035s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1035s ok 40 /utils/aligned-mem/free-sized 1035s # Start of subprocess tests 1035s # End of subprocess tests 1035s # End of aligned-mem tests 1035s # End of utils tests 1035s ok - glib/utils-c-11.test 1035s # Running test: glib/gdbus-connection-flush.test 1035s TAP version 13 1035s # random seed: R02Sa75be5a811efe1ccf0355be2e1d589d7 1035s 1..2 1035s # Start of gdbus tests 1035s # Start of connection tests 1035s # Start of flush tests 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_E58JK2/gdbus/connection/flush/busy/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_E58JK2/gdbus/connection/flush/busy/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_E58JK2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_E58JK2/gdbus/connection/flush/busy/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_E58JK2/gdbus/connection/flush/busy/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_E58JK2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_E58JK2/gdbus/connection/flush/busy/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_E58JK2/gdbus/connection/flush/busy/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_E58JK2/gdbus/connection/flush/busy/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_E58JK2/gdbus/connection/flush/busy/.dirs/runtime 1035s ok 1 /gdbus/connection/flush/busy 1035s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_E58JK2/gdbus/connection/flush/idle/.dirs/home 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_E58JK2/gdbus/connection/flush/idle/.dirs/cache 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_E58JK2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_E58JK2/gdbus/connection/flush/idle/.dirs/system-config2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_E58JK2/gdbus/connection/flush/idle/.dirs/config 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_E58JK2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_E58JK2/gdbus/connection/flush/idle/.dirs/system-data2 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_E58JK2/gdbus/connection/flush/idle/.dirs/data 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_E58JK2/gdbus/connection/flush/idle/.dirs/state 1035s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_E58JK2/gdbus/connection/flush/idle/.dirs/runtime 1035s ok 2 /gdbus/connection/flush/idle 1035s # End of flush tests 1035s # End of connection tests 1035s # End of gdbus tests 1035s ok - glib/gdbus-connection-flush.test 1035s # Running test: glib/cxx-14.test 1035s TAP version 13 1035s # random seed: R02Seb078a657dc832420048ce06756c81ab 1035s 1..2 1035s # Start of gtask tests 1035s # 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. 1035s ok 1 /gtask/name 1035s # Start of name tests 1035s # 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. 1035s ok 2 /gtask/name/macro-wrapper 1035s # End of name tests 1035s # End of gtask tests 1035s ok - glib/cxx-14.test 1035s # Running test: glib/gdbus-address-get-session.test 1035s TAP version 13 1035s # random seed: R02S91ff1737e76fccd21b6f1b8a7c96b0bb 1035s 1..2 1035s # Start of gdbus tests 1035s ok 1 /gdbus/x11-autolaunch 1035s ok 2 /gdbus/xdg-runtime 1035s # End of gdbus tests 1035s ok - glib/gdbus-address-get-session.test 1035s # Running test: glib/credentials.test 1035s TAP version 13 1035s # random seed: R02S7dce8cabae6d21b69118f9c5be38974c 1035s 1..1 1035s # Start of credentials tests 1035s # GCredentials:linux-ucred:pid=11641,uid=1000,gid=1000 1035s # GCredentials:linux-ucred:pid=11641,uid=0,gid=1000 1035s ok 1 /credentials/basic 1035s # End of credentials tests 1035s ok - glib/credentials.test 1035s # Running test: glib/gobject-private.test 1035s TAP version 13 1035s # random seed: R02Sb0aec40664f9199dbdc1658c7f6a056c 1035s 1..3 1035s # Start of private tests 1035s ok 1 /private/instance 1035s ok 2 /private/derived-instance 1035s ok 3 /private/mixed-derived-instance 1035s # End of private tests 1035s ok - glib/gobject-private.test 1035s # Running test: glib/portal-support-env-var.test 1035s TAP version 13 1035s # random seed: R02S073f365659ab1c13fc3b088b04bd9e08 1035s 1..1 1035s # Start of portal-support tests 1035s ok 1 /portal-support/env-var 1035s # End of portal-support tests 1035s ok - glib/portal-support-env-var.test 1035s # Running test: glib/cancellable.test 1035s TAP version 13 1035s # random seed: R02Sa27a6ec69a448d5aa82047d2438f9ff9 1035s 1..10 1035s # Start of cancellable tests 1035s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1035s ok 2 /cancellable/null 1035s # /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 1035s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 1035s # /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 1035s ok 4 /cancellable/resets-on-cancel-callback-hangs 1035s ok 5 /cancellable/poll-fd 1035s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1035s ok 6 /cancellable/poll-fd-cancelled 1035s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1036s ok 7 /cancellable/poll-fd-cancelled-threaded 1036s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1036s ok 8 /cancellable/cancel-reset-races 1036s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1036s ok 9 /cancellable/cancel-reset-connect-races 1036s # End of cancellable tests 1036s # Start of cancellable-source tests 1036s # /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) 1036s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1036s ok 10 /cancellable-source/threaded-dispose 1036s # slow test /cancellable-source/threaded-dispose executed in 0.87 secs 1036s # End of cancellable-source tests 1036s ok - glib/cancellable.test 1036s # Running test: glib/signals-refcount1.test 1036s TAP version 13 1036s # random seed: R02S29850ce1176e038246724c8511ce66a4 1036s 1..1 1036s # Start of gobject tests 1036s # Start of refcount tests 1037s # init 0x18db720f420 1037s # 1037s # init 0x18db720f5c0 1037s # 1039s # Executing: glib/signals-refcount1.test 1041s # dispose 0x18db720f420! 1041s # 1041s # dispose 0x18db720f5c0! 1041s # 1041s ok 1 /gobject/refcount/signals 1041s # slow test /gobject/refcount/signals executed in 5.00 secs 1041s # End of refcount tests 1041s # End of gobject tests 1041s ok - glib/signals-refcount1.test 1041s # Running test: glib/gmenumodel.test 1041s TAP version 13 1041s # random seed: R02Sfedf46e7124c25269c84158533251416 1041s 1..14 1041s # Start of gmenu tests 1043s ok 1 /gmenu/equality 1043s # slow test /gmenu/equality executed in 1.66 secs 1044s # Executing: glib/gmenumodel.test 1045s ok 2 /gmenu/random 1045s # slow test /gmenu/random executed in 2.01 secs 1045s ok 3 /gmenu/attributes 1045s ok 4 /gmenu/links 1045s ok 5 /gmenu/mutable 1045s ok 6 /gmenu/convenience 1045s ok 7 /gmenu/menuitem 1045s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1045s ok 8 /gmenu/input-validation 1045s # Start of dbus tests 1045s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1046s ok 9 /gmenu/dbus/roundtrip 1046s # slow test /gmenu/dbus/roundtrip executed in 1.06 secs 1047s ok 10 /gmenu/dbus/subscriptions 1049s # Executing: glib/gmenumodel.test 1049s ok 11 /gmenu/dbus/threaded 1049s # slow test /gmenu/dbus/threaded executed in 2.50 secs 1049s # Start of peer tests 1050s ok 12 /gmenu/dbus/peer/roundtrip 1050s # slow test /gmenu/dbus/peer/roundtrip executed in 1.07 secs 1050s ok 13 /gmenu/dbus/peer/subscriptions # SKIP Not reliable? #932678 1050s # End of peer tests 1050s # End of dbus tests 1050s # Start of attributes tests 1050s ok 14 /gmenu/attributes/iterate 1050s # End of attributes tests 1050s # End of gmenu tests 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1050s ok - glib/gmenumodel.test 1050s # Running test: glib/once.test 1050s TAP version 13 1050s # random seed: R02S46e01f4f81f5307baf1ddd8ab4353bf8 1050s 1..5 1050s # Start of once tests 1050s # /once/single-threaded summary: Test g_once() usage from a single thread 1050s ok 1 /once/single-threaded 1050s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1050s ok 2 /once/multi-threaded 1050s # End of once tests 1050s # Start of once-init tests 1050s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1050s ok 3 /once-init/single-threaded 1050s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1050s ok 4 /once-init/multi-threaded 1050s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1050s ok 5 /once-init/string 1050s # End of once-init tests 1050s ok - glib/once.test 1050s # Running test: glib/gdbus-sasl.test 1050s TAP version 13 1050s # random seed: R02S2858ef8a14712c56c7f6d7ef22807d0c 1050s 1..1 1050s # Start of gdbus tests 1050s # Start of sasl tests 1050s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_M7QJK2/gdbus/sasl/server/.dirs/home 1050s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_M7QJK2/gdbus/sasl/server/.dirs/cache 1050s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_M7QJK2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_M7QJK2/gdbus/sasl/server/.dirs/system-config2 1050s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_M7QJK2/gdbus/sasl/server/.dirs/config 1050s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_M7QJK2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_M7QJK2/gdbus/sasl/server/.dirs/system-data2 1050s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_M7QJK2/gdbus/sasl/server/.dirs/data 1050s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_M7QJK2/gdbus/sasl/server/.dirs/state 1050s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_M7QJK2/gdbus/sasl/server/.dirs/runtime 1050s # New handshake: EXTERNAL with incorrect initial response 1050s # C:“AUTH EXTERNAL 30†1050s # Expect: /^REJECTED.*$/ 1050s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†1050s # New handshake: EXTERNAL without initial response, failing to authenticate 1050s # C:“AUTH EXTERNAL†1050s # Expect: /^DATA$/ 1050s # S:“DATA†1050s # C:“DATA 30†1050s # Expect: /^REJECTED.*$/ 1050s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†1050s # New handshake: EXTERNAL with initial response 1050s # C:“AUTH EXTERNAL 31303030†1050s # Expect: /^OK [0-9a-f]+$/ 1050s # S:“OK 07149595e9cabe952f4e7d9865fb2d6e†1050s # New handshake: EXTERNAL without initial response 1050s # C:“AUTH EXTERNAL†1050s # Expect: /^DATA$/ 1050s # S:“DATA†1050s # C:“DATA 31303030†1050s # Expect: /^OK [0-9a-f]+$/ 1050s # S:“OK 07149595e9cabe952f4e7d9865fb2d6e†1050s # New handshake: EXTERNAL with empty authorization identity 1050s # C:“AUTH EXTERNAL†1050s # Expect: /^DATA$/ 1050s # S:“DATA†1050s # C:“DATA†1050s # Expect: /^OK [0-9a-f]+$/ 1050s # S:“OK 07149595e9cabe952f4e7d9865fb2d6e†1050s # New handshake: EXTERNAL with empty authorization identity and whitespace 1050s # C:“AUTH EXTERNAL†1050s # Expect: /^DATA$/ 1050s # S:“DATA†1050s # C:“DATA †1050s # Expect: /^OK [0-9a-f]+$/ 1050s # S:“OK 07149595e9cabe952f4e7d9865fb2d6e†1050s ok 1 /gdbus/sasl/server 1050s # End of sasl tests 1050s # End of gdbus tests 1050s ok - glib/gdbus-sasl.test 1050s # Running test: glib/portal-support-none.test 1050s TAP version 13 1050s # random seed: R02S9f2a28c420701b9a29414fc90ae8835d 1050s 1..1 1050s # Start of portal-support tests 1050s ok 1 /portal-support/none 1050s # End of portal-support tests 1050s ok - glib/portal-support-none.test 1050s # Running test: glib/live-g-file.test 1050s TAP version 13 1050s # random seed: R02S999e957a3384dd76a307666167dcff9b 1050s 1..13 1050s # Start of live-g-file tests 1050s # Cleaning target testing structure in 'testdir_live-g-file'... 1050s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1050s ok 1 /live-g-file/prep_clean_structure 1050s # 1050s # Going to create testing structure in 'testdir_live-g-file'... 1050s # Creating directory 'dir1'... 1050s # Creating directory 'dir1/subdir'... 1050s # Creating directory 'dir2'... 1050s # Creating directory 'dir-target'... 1050s # Creating directory 'dir_no-access'... 1050s # Creating directory 'dir_no-write'... 1050s # Creating file 'target-file'... 1050s # Creating file 'normal_file'... 1050s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1050s # Creating file 'executable_file'... 1050s # Creating file 'private_file'... 1050s # Creating file 'normal_file2'... 1050s # Creating file 'readonly_file'... 1050s # Creating file 'UTF_pr?i?lis? z'... 1050s # Creating directory 'dir_pr?i?lis? z'... 1050s # Creating symlink 'lost_symlink' --> 'nowhere'... 1050s # Creating directory 'dir_hidden'... 1050s # Creating file 'dir_hidden/.a-hidden-file'... 1050s # Creating file 'dir_hidden/file-in-.hidden1'... 1050s # Creating file 'dir_hidden/file-in-.hidden2'... 1050s # Creating pattern file... 1050s # done. 1050s ok 2 /live-g-file/create_structure 1050s # Testing sample structure in 'testdir_live-g-file'... 1050s # Testing file 'dir1'... 1050s # Testing file 'dir1/subdir'... 1050s # Testing file 'dir2'... 1050s # Testing file 'dir-target'... 1050s # Testing file 'dir_no-access'... 1050s # Testing file 'dir_no-write'... 1050s # Testing file 'target-file'... 1050s # Testing file 'normal_file'... 1050s # Testing file 'normal_file-symlink'... 1050s # Testing file 'executable_file'... 1050s # Testing file 'private_file'... 1050s # Testing file 'normal_file2'... 1050s # Testing file 'readonly_file'... 1050s # Testing file 'UTF_pr?i?lis? z'... 1050s # Testing file 'dir_pr?i?lis? z'... 1050s # Testing file 'lost_symlink'... 1050s # Testing file 'dir_hidden'... 1050s # Testing file 'dir_hidden/.a-hidden-file'... 1050s # Testing file 'dir_hidden/file-in-.hidden1'... 1050s # Testing file 'dir_hidden/file-in-.hidden2'... 1050s # Testing pattern file... 1050s # read 65536 bytes, total = 65536 of 65536. 1050s ok 3 /live-g-file/test_initial_structure 1050s # Traversing through the sample structure in 'testdir_live-g-file'... 1050s # Found file dir1, relative to root: dir1 1050s # Found file subdir, relative to root: dir1/subdir 1050s # Found file dir2, relative to root: dir2 1050s # Found file dir-target, relative to root: dir-target 1050s # Found file dir_no-access, relative to root: dir_no-access 1050s # Found file dir_no-write, relative to root: dir_no-write 1050s # Found file target-file, relative to root: target-file 1050s # Found file normal_file, relative to root: normal_file 1050s # Found file normal_file-symlink, relative to root: normal_file-symlink 1050s # Found file executable_file, relative to root: executable_file 1050s # Found file private_file, relative to root: private_file 1050s # Found file normal_file2, relative to root: normal_file2 1050s # Found file readonly_file, relative to root: readonly_file 1050s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 1050s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 1050s # Found file lost_symlink, relative to root: lost_symlink 1050s # Found file dir_hidden, relative to root: dir_hidden 1050s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1050s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1050s # Found file .hidden, relative to root: dir_hidden/.hidden 1050s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1050s # Found file pattern_file, relative to root: pattern_file 1050s ok 4 /live-g-file/test_traverse_structure 1050s # Test enumerate 'testdir_live-g-file'... 1050s # Testing file 'dir_no-access' 1050s # Testing file 'normal_file' 1050s # Testing file 'normal_file-symlink' 1050s # Testing file 'not_exists' 1050s # Testing file 'not_exists' 1050s # Testing file 'not_exists2' 1050s # Testing file 'not_exists3' 1050s # Testing file 'not_exists4' 1050s # Testing file 'dir_no-execute/file' 1050s ok 5 /live-g-file/test_enumerate 1050s # test_open: 'dir1' 1050s # test_open: 'dir_no-access' 1050s # test_open: 'target-file' 1050s # test_open: 'normal_file-symlink' 1050s # test_open: 'executable_file' 1050s # test_open: 'private_file' 1050s # test_open: 'readonly_file' 1050s # test_open: 'UTF_pr?i?lis? z' 1050s # test_open: 'pattern_file' 1050s # test_open: 'not_exists' 1050s # test_open: 'dir_no-execute/file' 1050s # test_open: 'lost_symlink' 1050s ok 6 /live-g-file/test_open 1050s # test_create: 'dir1' 1050s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/dir1?: Is a directory 1050s # test_create: 'dir1/subdir' 1050s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/dir1/subdir?: Is a directory 1050s # test_create: 'dir2' 1050s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/dir2?: File exists 1050s # test_create: 'normal_file' 1050s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/normal_file?: File exists 1050s # test_create: 'executable_file' 1050s # test_create: 'private_file' 1050s # test_create: 'normal_file2' 1050s # test_create: 'UTF_pr?i?lis? z' 1050s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1050s # test_create: 'dir_pr?i?lis? z' 1050s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 1050s # test_create: 'pattern_file' 1050s # test_create: 'not_exists2' 1050s # test_create: 'not_exists3' 1050s # test_create: 'not_exists4' 1050s ok 7 /live-g-file/test_create 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1050s # res = 0, error code 25 = Can?t recursively copy directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'dir1/subdir' --> '.' 1050s # res = 0, error code 2 = Target file exists 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'dir1/subdir' --> 'target-file' 1050s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1050s # res = 0, error code 25 = Can?t recursively copy directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1050s # res = 0, error code 25 = Can?t recursively copy directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1050s # res = 0, error code 25 = Can?t recursively copy directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'dir2' --> 'dir-target' 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'dir-target' --> 'dir-target' 1050s # res = 0, error code 25 = Can?t recursively copy directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'dir-target' --> '.' 1050s # res = 0, error code 2 = Target file exists 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'dir-target' --> 'target-file' 1050s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/target-file/dir-target?: Not a directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'dir-target' --> 'not_exists' 1050s # res = 0, error code 25 = Can?t recursively copy directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'dir-target' --> 'dir_no-access' 1050s # res = 0, error code 25 = Can?t recursively copy directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'dir-target' --> 'dir_no-write' 1050s # res = 0, error code 25 = Can?t recursively copy directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'target-file' --> 'dir-target' 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'target-file' --> '.' 1050s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/target-file?: File exists 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'target-file' --> 'target-file' 1050s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/target-file/target-file?: Not a directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'target-file' --> 'not_exists' 1050s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/not_exists/target-file?: No such file or directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'target-file' --> 'dir_no-access' 1050s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'target-file' --> 'dir_no-write' 1050s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'normal_file-symlink' --> '.' 1050s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/normal_file-symlink: File exists 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1050s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1050s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1050s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1050s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'executable_file' --> 'dir-target' 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'executable_file' --> 'dir-target' 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'executable_file' --> '.' 1050s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/executable_file?: File exists 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'executable_file' --> 'target-file' 1050s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/target-file/executable_file?: Not a directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'executable_file' --> 'not_exists' 1050s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'executable_file' --> 'dir_no-access' 1050s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'executable_file' --> 'dir_no-write' 1050s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'private_file' --> 'dir-target' 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'private_file' --> 'dir-target' 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'private_file' --> '.' 1050s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/private_file?: File exists 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'private_file' --> 'target-file' 1050s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/target-file/private_file?: Not a directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'private_file' --> 'not_exists' 1050s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/not_exists/private_file?: No such file or directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'private_file' --> 'dir_no-access' 1050s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'private_file' --> 'dir_no-write' 1050s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'normal_file2' --> 'dir-target' 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'normal_file2' --> 'dir-target' 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'normal_file2' --> '.' 1050s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/normal_file2?: File exists 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'normal_file2' --> 'target-file' 1050s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/target-file/normal_file2?: Not a directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'normal_file2' --> 'not_exists' 1050s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1050s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1050s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 1050s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 1050s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 1050s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 1050s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 1050s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'pattern_file' --> 'dir-target' 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'pattern_file' --> '.' 1050s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/pattern_file?: File exists 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'pattern_file' --> 'target-file' 1050s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/target-file/pattern_file?: Not a directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'pattern_file' --> 'not_exists' 1050s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1050s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1050s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'not_exists' --> 'dir-target' 1050s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/not_exists?: No such file or directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'not_exists' --> '.' 1050s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/not_exists?: No such file or directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'not_exists' --> 'target-file' 1050s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/not_exists?: No such file or directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'not_exists' --> 'not_exists' 1050s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/not_exists?: No such file or directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'not_exists' --> 'dir_no-access' 1050s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/not_exists?: No such file or directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'not_exists' --> 'dir_no-write' 1050s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/not_exists?: No such file or directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'not_exists' --> 'dir-target' 1050s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/not_exists: No such file or directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'lost_symlink' --> 'dir-target' 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'lost_symlink' --> '.' 1050s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/lost_symlink: File exists 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'lost_symlink' --> 'target-file' 1050s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/target-file/lost_symlink: Not a directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'lost_symlink' --> 'not_exists' 1050s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1050s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1050s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1050s ok 8 /live-g-file/test_copy_move 1050s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/dir1 1050s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/dir1: Directory not empty 1050s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/dir2 1050s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/dir2: No such file or directory 1050s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/executable_file 1050s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/readonly_file 1050s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/dir_pr?i?lis? z 1050s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/not_exists 1050s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/not_exists: No such file or directory 1050s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/not_exists 1050s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/not_exists: No such file or directory 1050s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/dir_no-execute/file 1050s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/dir_no-execute/file: No such file or directory 1050s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-XXGSK2/testdir_live-g-file/lost_symlink 1050s ok 9 /live-g-file/test_delete 1050s # We do not have CAP_DAC_OVERRIDE or equivalent 1050s ok 10 /live-g-file/test_make_directory_with_parents 1050s # Cleaning target testing structure in 'testdir_live-g-file'... 1050s # deleting 'dir1' 1050s # deleting 'subdir' 1050s # deleting 'dir-target' 1050s # deleting 'dir2' 1050s # deleting 'target-file' 1050s # deleting 'normal_file-symlink' 1050s # deleting 'pattern_file' 1050s # deleting 'executable_file' 1050s # deleting 'private_file' 1050s # deleting 'normal_file2' 1050s # deleting 'UTF_pr?i?lis? z' 1050s # deleting 'lost_symlink' 1050s # deleting 'dir_no-access' 1050s # deleting 'dir_no-write' 1050s # deleting 'target-file' 1050s # deleting 'normal_file' 1050s # deleting 'normal_file-symlink' 1050s # deleting 'executable_file~' 1050s # deleting 'private_file' 1050s # deleting 'normal_file2~' 1050s # deleting 'a' 1050s # deleting 'UTF_pr?i?lis? z' 1050s # deleting 'dir_hidden' 1050s # deleting '.a-hidden-file' 1050s # deleting 'file-in-.hidden1' 1050s # deleting '.hidden' 1050s # deleting 'file-in-.hidden2' 1050s # deleting 'pattern_file' 1050s # deleting 'normal_file2' 1050s # deleting 'not_exists2' 1050s # deleting 'not_exists3' 1050s # deleting 'not_exists4' 1050s ok 11 /live-g-file/final_clean 1050s # Start of test_unix_is_mountpoint tests 1050s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1050s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1050s # End of test_unix_is_mountpoint tests 1050s # End of live-g-file tests 1050s ok - glib/live-g-file.test 1050s # Running test: glib/mem-overflow.test 1050s TAP version 13 1050s # random seed: R02Sd34e0ae74392d97348b2e0b4375620f9 1050s 1..2 1050s # Start of mem tests 1050s ok 1 /mem/overflow 1050s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1050s ok 2 /mem/empty-alloc 1050s # Start of overflow tests 1050s # Start of subprocess tests 1050s # End of subprocess tests 1050s # End of overflow tests 1050s # Start of empty-alloc tests 1050s # End of empty-alloc tests 1050s # End of mem tests 1050s ok - glib/mem-overflow.test 1050s # Running test: glib/utils-c-99.test 1050s TAP version 13 1050s # random seed: R02Sd85e91a1c131b818bb6753aceb465d3d 1050s 1..40 1050s # Start of utils tests 1050s ok 1 /utils/language-names 1050s ok 2 /utils/locale-variants 1050s ok 3 /utils/version 1050s ok 4 /utils/appname 1050s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1050s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1051s ok 5 /utils/prgname-thread-safety 1051s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1051s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1051s ok 6 /utils/tmpdir 1051s ok 7 /utils/basic_bits 1051s ok 8 /utils/bits 1051s ok 9 /utils/swap 1051s ok 10 /utils/find-program 1051s ok 11 /utils/find-program-for-path 1051s ok 12 /utils/debug 1051s ok 13 /utils/codeset 1051s ok 14 /utils/codeset2 1051s ok 15 /utils/console-charset 1051s ok 16 /utils/gettext 1051s ok 17 /utils/username 1051s ok 18 /utils/realname 1051s ok 19 /utils/hostname 1051s ok 20 /utils/xdgdirs 1051s ok 21 /utils/specialdir 1051s # NAME: Ubuntu 1051s ok 22 /utils/os-info 1051s ok 23 /utils/clear-pointer 1051s ok 24 /utils/clear-pointer-cast 1051s ok 25 /utils/take-pointer 1051s ok 26 /utils/clear-source 1051s ok 27 /utils/misc-mem 1051s # /utils/aligned-mem summary: Aligned memory allocator 1051s # Alignment must not be zero 1051s # Alignment must be a power of two 1051s # Alignment must be a multiple of sizeof(void*) 1051s ok 28 /utils/aligned-mem 1051s # /utils/free-sized summary: Check that g_free_sized() works 1051s ok 29 /utils/free-sized 1051s ok 30 /utils/nullify 1051s ok 31 /utils/atexit 1051s ok 32 /utils/check-setuid 1051s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1051s ok 33 /utils/int-limits 1051s ok 34 /utils/clear-list 1051s ok 35 /utils/clear-slist 1051s # Start of specialdir tests 1051s ok 36 /utils/specialdir/desktop 1051s # End of specialdir tests 1051s # Start of clear-pointer tests 1051s ok 37 /utils/clear-pointer/side-effects 1051s # End of clear-pointer tests 1051s # Start of aligned-mem tests 1051s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1051s ok 38 /utils/aligned-mem/alignment 1051s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1051s ok 39 /utils/aligned-mem/zeroed 1051s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1051s ok 40 /utils/aligned-mem/free-sized 1051s # Start of subprocess tests 1051s # End of subprocess tests 1051s # End of aligned-mem tests 1051s # End of utils tests 1051s ok - glib/utils-c-99.test 1051s # Running test: glib/cxx-20.test 1051s TAP version 13 1051s # random seed: R02S30295e1bad3044bf3b5c54fdc06210c2 1051s 1..2 1051s # Start of gtask tests 1051s # 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. 1051s ok 1 /gtask/name 1051s # Start of name tests 1051s # 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. 1051s ok 2 /gtask/name/macro-wrapper 1051s # End of name tests 1051s # End of gtask tests 1051s ok - glib/cxx-20.test 1051s # Running test: glib/proxy-test.test 1051s TAP version 13 1051s # random seed: R02Sef0b1051b87f3aa1405bcf3fabefbce3 1051s 1..11 1051s # Start of proxy tests 1051s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 1051s ok 1 /proxy/direct_sync 1051s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1051s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1ed9434c0980 and GSocketClientAsyncConnectData 0x1ed9434b6260 1051s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1051s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1051s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1ed9434c1390 for GSocketClientAsyncConnectData 0x1ed9434b6260 1051s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1051s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1051s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1051s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1051s ok 2 /proxy/direct_async 1051s ok 3 /proxy/single_sync 1051s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1051s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1ed9434c2c90 and GSocketClientAsyncConnectData 0x1ed9434c1de0 1051s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1051s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1051s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1ed9434c37f0 for GSocketClientAsyncConnectData 0x1ed9434c1de0 1051s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1051s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1051s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1051s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1051s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1051s ok 4 /proxy/single_async 1051s ok 5 /proxy/multiple_sync 1051s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1051s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1ed9434c3520 and GSocketClientAsyncConnectData 0x1ed9434c32f0 1051s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1051s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1051s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1ed9434c3e70 for GSocketClientAsyncConnectData 0x1ed9434c32f0 1051s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1051s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1051s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1051s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1051s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1051s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1051s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1ed9434c3880 for GSocketClientAsyncConnectData 0x1ed9434c32f0 1051s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1051s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1051s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1051s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1051s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1051s ok 6 /proxy/multiple_async 1051s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1051s ok 7 /proxy/invalid-uris-sync 1051s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1051s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1051s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1ed9434c3c00 and GSocketClientAsyncConnectData 0x1ed9434c3100 1051s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1051s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1051s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1051s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1051s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1051s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1ed9434c3c00 and GSocketClientAsyncConnectData 0x1ed9434c3100 1051s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1051s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1051s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1051s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1051s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1051s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1ed9434c3c00 and GSocketClientAsyncConnectData 0x1ed9434c3100 1051s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1051s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1051s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1ed9434c1ba0 for GSocketClientAsyncConnectData 0x1ed9434c3100 1051s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1051s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1051s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1051s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1051s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1051s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1ed9434c3520 and GSocketClientAsyncConnectData 0x1ed9434c35e0 1051s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1051s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1051s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1ed9434c10a0 for GSocketClientAsyncConnectData 0x1ed9434c35e0 1051s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1051s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1051s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1051s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1051s ok 8 /proxy/invalid-uris-async 1051s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1051s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1ed9434c3c00 and GSocketClientAsyncConnectData 0x1ed9434c3100 1051s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1051s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1051s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1051s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1051s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1051s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1051s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1051s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1ed9434c3520 and GSocketClientAsyncConnectData 0x1ed9434c35e0 1051s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1051s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1051s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1ed9434c1ba0 for GSocketClientAsyncConnectData 0x1ed9434c35e0 1051s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1051s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1051s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1051s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1051s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1051s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1051s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1051s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1051s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1051s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1ed9434c2db0 and GSocketClientAsyncConnectData 0x1ed9434c4110 1051s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1051s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1051s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1ed9434c3f30 for GSocketClientAsyncConnectData 0x1ed9434c4110 1051s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1051s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1051s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1051s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1051s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1051s ok 9 /proxy/dns 1051s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1051s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1ed9434c37f0 and GSocketClientAsyncConnectData 0x1ed9434bd9c0 1051s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1051s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1051s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1ed9434c38b0 for GSocketClientAsyncConnectData 0x1ed9434bd9c0 1051s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1051s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1051s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1051s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1051s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1051s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1051s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1051s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1051s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1051s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1ed9434c17d0 and GSocketClientAsyncConnectData 0x1ed9434c4330 1051s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1051s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1051s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1ed9434c38b0 for GSocketClientAsyncConnectData 0x1ed9434c4330 1051s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1051s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1051s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1051s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1051s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1051s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1051s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1ed9434c29a0 and GSocketClientAsyncConnectData 0x1ed9434bd9c0 1051s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1051s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1051s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1ed9434c4490 for GSocketClientAsyncConnectData 0x1ed9434bd9c0 1051s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1051s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1051s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1051s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1051s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1051s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1051s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1051s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1051s ok 10 /proxy/override 1051s ok 11 /proxy/enumerator-ports 1051s # End of proxy tests 1051s ok - glib/proxy-test.test 1051s # Running test: glib/thread-deprecated.test 1051s TAP version 13 1051s # random seed: R02S15d58a2dc414930572e1054e20d90fee 1051s 1..6 1051s # Start of thread tests 1051s ok 1 /thread/mutex 1051s ok 2 /thread/static-rec-mutex 1054s # Executing: glib/thread-deprecated.test 1056s ok 3 /thread/static-private 1056s # slow test /thread/static-private executed in 4.40 secs 1059s # Executing: glib/thread-deprecated.test 1061s ok 4 /thread/static-rw-lock 1061s # slow test /thread/static-rw-lock executed in 5.00 secs 1061s ok 5 /thread/once 1064s # Executing: glib/thread-deprecated.test 1069s # Executing: glib/thread-deprecated.test 1071s ok 6 /thread/rerun-all 1071s # slow test /thread/rerun-all executed in 10.02 secs 1071s # End of thread tests 1071s ok - glib/thread-deprecated.test 1071s # Running test: glib/appmonitor.test 1071s TAP version 13 1071s # random seed: R02S9e157ca79acb0b4b0d5f020c0f0fe2c7 1071s 1..1 1071s # Start of monitor tests 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_WRPWK2/monitor/app/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_WRPWK2/monitor/app/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_WRPWK2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_WRPWK2/monitor/app/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_WRPWK2/monitor/app/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_WRPWK2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_WRPWK2/monitor/app/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_WRPWK2/monitor/app/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_WRPWK2/monitor/app/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_WRPWK2/monitor/app/.dirs/runtime 1071s # Using data directory: /tmp/test_appmonitor_WRPWK2/monitor/app/.dirs/data 1071s ok 1 /monitor/app 1071s # End of monitor tests 1071s ok - glib/appmonitor.test 1071s # Running test: glib/checksum.test 1071s TAP version 13 1071s # random seed: R02Sbb568cce37907cfa56b9a7ac97f7e881 1071s 1..1851 1071s # Start of checksum tests 1071s ok 1 /checksum/unsupported 1071s # Start of MD5 tests 1071s ok 2 /checksum/MD5/0 1071s ok 3 /checksum/MD5/1 1071s ok 4 /checksum/MD5/2 1071s ok 5 /checksum/MD5/3 1071s ok 6 /checksum/MD5/4 1071s ok 7 /checksum/MD5/5 1071s ok 8 /checksum/MD5/6 1071s ok 9 /checksum/MD5/7 1071s ok 10 /checksum/MD5/8 1071s ok 11 /checksum/MD5/9 1071s ok 12 /checksum/MD5/10 1071s ok 13 /checksum/MD5/11 1071s ok 14 /checksum/MD5/12 1071s ok 15 /checksum/MD5/13 1071s ok 16 /checksum/MD5/14 1071s ok 17 /checksum/MD5/15 1071s ok 18 /checksum/MD5/16 1071s ok 19 /checksum/MD5/17 1071s ok 20 /checksum/MD5/18 1071s ok 21 /checksum/MD5/19 1071s ok 22 /checksum/MD5/20 1071s ok 23 /checksum/MD5/21 1071s ok 24 /checksum/MD5/22 1071s ok 25 /checksum/MD5/23 1071s ok 26 /checksum/MD5/24 1071s ok 27 /checksum/MD5/25 1071s ok 28 /checksum/MD5/26 1071s ok 29 /checksum/MD5/27 1071s ok 30 /checksum/MD5/28 1071s ok 31 /checksum/MD5/29 1071s ok 32 /checksum/MD5/30 1071s ok 33 /checksum/MD5/31 1071s ok 34 /checksum/MD5/32 1071s ok 35 /checksum/MD5/33 1071s ok 36 /checksum/MD5/34 1071s ok 37 /checksum/MD5/35 1071s ok 38 /checksum/MD5/36 1071s ok 39 /checksum/MD5/37 1071s ok 40 /checksum/MD5/38 1071s ok 41 /checksum/MD5/39 1071s ok 42 /checksum/MD5/40 1071s ok 43 /checksum/MD5/41 1071s ok 44 /checksum/MD5/42 1071s ok 45 /checksum/MD5/43 1071s ok 46 /checksum/MD5/44 1071s ok 47 /checksum/MD5/45 1071s ok 48 /checksum/MD5/46 1071s ok 49 /checksum/MD5/47 1071s ok 50 /checksum/MD5/48 1071s ok 51 /checksum/MD5/49 1071s ok 52 /checksum/MD5/50 1071s ok 53 /checksum/MD5/51 1071s ok 54 /checksum/MD5/52 1071s ok 55 /checksum/MD5/53 1071s ok 56 /checksum/MD5/54 1071s ok 57 /checksum/MD5/55 1071s ok 58 /checksum/MD5/56 1071s ok 59 /checksum/MD5/57 1071s ok 60 /checksum/MD5/58 1071s ok 61 /checksum/MD5/59 1071s ok 62 /checksum/MD5/60 1071s ok 63 /checksum/MD5/61 1071s ok 64 /checksum/MD5/62 1071s ok 65 /checksum/MD5/63 1071s ok 66 /checksum/MD5/64 1071s ok 67 /checksum/MD5/65 1071s ok 68 /checksum/MD5/66 1071s ok 69 /checksum/MD5/67 1071s ok 70 /checksum/MD5/68 1071s ok 71 /checksum/MD5/69 1071s ok 72 /checksum/MD5/70 1071s ok 73 /checksum/MD5/71 1071s ok 74 /checksum/MD5/72 1071s ok 75 /checksum/MD5/73 1071s ok 76 /checksum/MD5/74 1071s ok 77 /checksum/MD5/75 1071s ok 78 /checksum/MD5/76 1071s ok 79 /checksum/MD5/77 1071s ok 80 /checksum/MD5/78 1071s ok 81 /checksum/MD5/79 1071s ok 82 /checksum/MD5/80 1071s ok 83 /checksum/MD5/81 1071s ok 84 /checksum/MD5/82 1071s ok 85 /checksum/MD5/83 1071s ok 86 /checksum/MD5/84 1071s ok 87 /checksum/MD5/85 1071s ok 88 /checksum/MD5/86 1071s ok 89 /checksum/MD5/87 1071s ok 90 /checksum/MD5/88 1071s ok 91 /checksum/MD5/89 1071s ok 92 /checksum/MD5/90 1071s ok 93 /checksum/MD5/91 1071s ok 94 /checksum/MD5/92 1071s ok 95 /checksum/MD5/93 1071s ok 96 /checksum/MD5/94 1071s ok 97 /checksum/MD5/95 1071s ok 98 /checksum/MD5/96 1071s ok 99 /checksum/MD5/97 1071s ok 100 /checksum/MD5/98 1071s ok 101 /checksum/MD5/99 1071s ok 102 /checksum/MD5/100 1071s ok 103 /checksum/MD5/101 1071s ok 104 /checksum/MD5/102 1071s ok 105 /checksum/MD5/103 1071s ok 106 /checksum/MD5/104 1071s ok 107 /checksum/MD5/105 1071s ok 108 /checksum/MD5/106 1071s ok 109 /checksum/MD5/107 1071s ok 110 /checksum/MD5/108 1071s ok 111 /checksum/MD5/109 1071s ok 112 /checksum/MD5/110 1071s ok 113 /checksum/MD5/111 1071s ok 114 /checksum/MD5/112 1071s ok 115 /checksum/MD5/113 1071s ok 116 /checksum/MD5/114 1071s ok 117 /checksum/MD5/115 1071s ok 118 /checksum/MD5/116 1071s ok 119 /checksum/MD5/117 1071s ok 120 /checksum/MD5/118 1071s ok 121 /checksum/MD5/119 1071s ok 122 /checksum/MD5/120 1071s ok 123 /checksum/MD5/121 1071s ok 124 /checksum/MD5/122 1071s ok 125 /checksum/MD5/123 1071s ok 126 /checksum/MD5/124 1071s ok 127 /checksum/MD5/125 1071s ok 128 /checksum/MD5/126 1071s ok 129 /checksum/MD5/127 1071s ok 130 /checksum/MD5/128 1071s ok 131 /checksum/MD5/129 1071s ok 132 /checksum/MD5/130 1071s ok 133 /checksum/MD5/131 1071s ok 134 /checksum/MD5/132 1071s ok 135 /checksum/MD5/133 1071s ok 136 /checksum/MD5/134 1071s ok 137 /checksum/MD5/135 1071s ok 138 /checksum/MD5/136 1071s ok 139 /checksum/MD5/137 1071s ok 140 /checksum/MD5/138 1071s ok 141 /checksum/MD5/139 1071s ok 142 /checksum/MD5/140 1071s ok 143 /checksum/MD5/141 1071s ok 144 /checksum/MD5/142 1071s ok 145 /checksum/MD5/143 1071s ok 146 /checksum/MD5/144 1071s ok 147 /checksum/MD5/145 1071s ok 148 /checksum/MD5/146 1071s ok 149 /checksum/MD5/147 1071s ok 150 /checksum/MD5/148 1071s ok 151 /checksum/MD5/149 1071s ok 152 /checksum/MD5/150 1071s ok 153 /checksum/MD5/151 1071s ok 154 /checksum/MD5/152 1071s ok 155 /checksum/MD5/153 1071s ok 156 /checksum/MD5/154 1071s ok 157 /checksum/MD5/155 1071s ok 158 /checksum/MD5/156 1071s ok 159 /checksum/MD5/157 1071s ok 160 /checksum/MD5/158 1071s ok 161 /checksum/MD5/159 1071s ok 162 /checksum/MD5/160 1071s ok 163 /checksum/MD5/161 1071s ok 164 /checksum/MD5/162 1071s ok 165 /checksum/MD5/163 1071s ok 166 /checksum/MD5/164 1071s ok 167 /checksum/MD5/165 1071s ok 168 /checksum/MD5/166 1071s ok 169 /checksum/MD5/167 1071s ok 170 /checksum/MD5/168 1071s ok 171 /checksum/MD5/169 1071s ok 172 /checksum/MD5/170 1071s ok 173 /checksum/MD5/171 1071s ok 174 /checksum/MD5/172 1071s ok 175 /checksum/MD5/173 1071s ok 176 /checksum/MD5/174 1071s ok 177 /checksum/MD5/175 1071s ok 178 /checksum/MD5/176 1071s ok 179 /checksum/MD5/177 1071s ok 180 /checksum/MD5/178 1071s ok 181 /checksum/MD5/179 1071s ok 182 /checksum/MD5/180 1071s ok 183 /checksum/MD5/181 1071s ok 184 /checksum/MD5/182 1071s ok 185 /checksum/MD5/183 1071s ok 186 /checksum/MD5/string 1071s ok 187 /checksum/MD5/bytes 1071s # Start of reset tests 1071s ok 188 /checksum/MD5/reset/0 1071s ok 189 /checksum/MD5/reset/1 1071s ok 190 /checksum/MD5/reset/2 1071s ok 191 /checksum/MD5/reset/3 1071s ok 192 /checksum/MD5/reset/4 1071s ok 193 /checksum/MD5/reset/5 1071s ok 194 /checksum/MD5/reset/6 1071s ok 195 /checksum/MD5/reset/7 1071s ok 196 /checksum/MD5/reset/8 1071s ok 197 /checksum/MD5/reset/9 1071s ok 198 /checksum/MD5/reset/10 1071s ok 199 /checksum/MD5/reset/11 1071s ok 200 /checksum/MD5/reset/12 1071s ok 201 /checksum/MD5/reset/13 1071s ok 202 /checksum/MD5/reset/14 1071s ok 203 /checksum/MD5/reset/15 1071s ok 204 /checksum/MD5/reset/16 1071s ok 205 /checksum/MD5/reset/17 1071s ok 206 /checksum/MD5/reset/18 1071s ok 207 /checksum/MD5/reset/19 1071s ok 208 /checksum/MD5/reset/20 1071s ok 209 /checksum/MD5/reset/21 1071s ok 210 /checksum/MD5/reset/22 1071s ok 211 /checksum/MD5/reset/23 1071s ok 212 /checksum/MD5/reset/24 1071s ok 213 /checksum/MD5/reset/25 1071s ok 214 /checksum/MD5/reset/26 1071s ok 215 /checksum/MD5/reset/27 1071s ok 216 /checksum/MD5/reset/28 1071s ok 217 /checksum/MD5/reset/29 1071s ok 218 /checksum/MD5/reset/30 1071s ok 219 /checksum/MD5/reset/31 1071s ok 220 /checksum/MD5/reset/32 1071s ok 221 /checksum/MD5/reset/33 1071s ok 222 /checksum/MD5/reset/34 1071s ok 223 /checksum/MD5/reset/35 1071s ok 224 /checksum/MD5/reset/36 1071s ok 225 /checksum/MD5/reset/37 1071s ok 226 /checksum/MD5/reset/38 1071s ok 227 /checksum/MD5/reset/39 1071s ok 228 /checksum/MD5/reset/40 1071s ok 229 /checksum/MD5/reset/41 1071s ok 230 /checksum/MD5/reset/42 1071s ok 231 /checksum/MD5/reset/43 1071s ok 232 /checksum/MD5/reset/44 1071s ok 233 /checksum/MD5/reset/45 1071s ok 234 /checksum/MD5/reset/46 1071s ok 235 /checksum/MD5/reset/47 1071s ok 236 /checksum/MD5/reset/48 1071s ok 237 /checksum/MD5/reset/49 1071s ok 238 /checksum/MD5/reset/50 1071s ok 239 /checksum/MD5/reset/51 1071s ok 240 /checksum/MD5/reset/52 1071s ok 241 /checksum/MD5/reset/53 1071s ok 242 /checksum/MD5/reset/54 1071s ok 243 /checksum/MD5/reset/55 1071s ok 244 /checksum/MD5/reset/56 1071s ok 245 /checksum/MD5/reset/57 1071s ok 246 /checksum/MD5/reset/58 1071s ok 247 /checksum/MD5/reset/59 1071s ok 248 /checksum/MD5/reset/60 1071s ok 249 /checksum/MD5/reset/61 1071s ok 250 /checksum/MD5/reset/62 1071s ok 251 /checksum/MD5/reset/63 1071s ok 252 /checksum/MD5/reset/64 1071s ok 253 /checksum/MD5/reset/65 1071s ok 254 /checksum/MD5/reset/66 1071s ok 255 /checksum/MD5/reset/67 1071s ok 256 /checksum/MD5/reset/68 1071s ok 257 /checksum/MD5/reset/69 1071s ok 258 /checksum/MD5/reset/70 1071s ok 259 /checksum/MD5/reset/71 1071s ok 260 /checksum/MD5/reset/72 1071s ok 261 /checksum/MD5/reset/73 1071s ok 262 /checksum/MD5/reset/74 1071s ok 263 /checksum/MD5/reset/75 1071s ok 264 /checksum/MD5/reset/76 1071s ok 265 /checksum/MD5/reset/77 1071s ok 266 /checksum/MD5/reset/78 1071s ok 267 /checksum/MD5/reset/79 1071s ok 268 /checksum/MD5/reset/80 1071s ok 269 /checksum/MD5/reset/81 1071s ok 270 /checksum/MD5/reset/82 1071s ok 271 /checksum/MD5/reset/83 1071s ok 272 /checksum/MD5/reset/84 1071s ok 273 /checksum/MD5/reset/85 1071s ok 274 /checksum/MD5/reset/86 1071s ok 275 /checksum/MD5/reset/87 1071s ok 276 /checksum/MD5/reset/88 1071s ok 277 /checksum/MD5/reset/89 1071s ok 278 /checksum/MD5/reset/90 1071s ok 279 /checksum/MD5/reset/91 1071s ok 280 /checksum/MD5/reset/92 1071s ok 281 /checksum/MD5/reset/93 1071s ok 282 /checksum/MD5/reset/94 1071s ok 283 /checksum/MD5/reset/95 1071s ok 284 /checksum/MD5/reset/96 1071s ok 285 /checksum/MD5/reset/97 1071s ok 286 /checksum/MD5/reset/98 1071s ok 287 /checksum/MD5/reset/99 1071s ok 288 /checksum/MD5/reset/100 1071s ok 289 /checksum/MD5/reset/101 1071s ok 290 /checksum/MD5/reset/102 1071s ok 291 /checksum/MD5/reset/103 1071s ok 292 /checksum/MD5/reset/104 1071s ok 293 /checksum/MD5/reset/105 1071s ok 294 /checksum/MD5/reset/106 1071s ok 295 /checksum/MD5/reset/107 1071s ok 296 /checksum/MD5/reset/108 1071s ok 297 /checksum/MD5/reset/109 1071s ok 298 /checksum/MD5/reset/110 1071s ok 299 /checksum/MD5/reset/111 1071s ok 300 /checksum/MD5/reset/112 1071s ok 301 /checksum/MD5/reset/113 1071s ok 302 /checksum/MD5/reset/114 1071s ok 303 /checksum/MD5/reset/115 1071s ok 304 /checksum/MD5/reset/116 1071s ok 305 /checksum/MD5/reset/117 1071s ok 306 /checksum/MD5/reset/118 1071s ok 307 /checksum/MD5/reset/119 1071s ok 308 /checksum/MD5/reset/120 1071s ok 309 /checksum/MD5/reset/121 1071s ok 310 /checksum/MD5/reset/122 1071s ok 311 /checksum/MD5/reset/123 1071s ok 312 /checksum/MD5/reset/124 1071s ok 313 /checksum/MD5/reset/125 1071s ok 314 /checksum/MD5/reset/126 1071s ok 315 /checksum/MD5/reset/127 1071s ok 316 /checksum/MD5/reset/128 1071s ok 317 /checksum/MD5/reset/129 1071s ok 318 /checksum/MD5/reset/130 1071s ok 319 /checksum/MD5/reset/131 1071s ok 320 /checksum/MD5/reset/132 1071s ok 321 /checksum/MD5/reset/133 1071s ok 322 /checksum/MD5/reset/134 1071s ok 323 /checksum/MD5/reset/135 1071s ok 324 /checksum/MD5/reset/136 1071s ok 325 /checksum/MD5/reset/137 1071s ok 326 /checksum/MD5/reset/138 1071s ok 327 /checksum/MD5/reset/139 1071s ok 328 /checksum/MD5/reset/140 1071s ok 329 /checksum/MD5/reset/141 1071s ok 330 /checksum/MD5/reset/142 1071s ok 331 /checksum/MD5/reset/143 1071s ok 332 /checksum/MD5/reset/144 1071s ok 333 /checksum/MD5/reset/145 1071s ok 334 /checksum/MD5/reset/146 1071s ok 335 /checksum/MD5/reset/147 1071s ok 336 /checksum/MD5/reset/148 1071s ok 337 /checksum/MD5/reset/149 1071s ok 338 /checksum/MD5/reset/150 1071s ok 339 /checksum/MD5/reset/151 1071s ok 340 /checksum/MD5/reset/152 1071s ok 341 /checksum/MD5/reset/153 1071s ok 342 /checksum/MD5/reset/154 1071s ok 343 /checksum/MD5/reset/155 1071s ok 344 /checksum/MD5/reset/156 1071s ok 345 /checksum/MD5/reset/157 1071s ok 346 /checksum/MD5/reset/158 1071s ok 347 /checksum/MD5/reset/159 1071s ok 348 /checksum/MD5/reset/160 1071s ok 349 /checksum/MD5/reset/161 1071s ok 350 /checksum/MD5/reset/162 1071s ok 351 /checksum/MD5/reset/163 1071s ok 352 /checksum/MD5/reset/164 1071s ok 353 /checksum/MD5/reset/165 1071s ok 354 /checksum/MD5/reset/166 1071s ok 355 /checksum/MD5/reset/167 1071s ok 356 /checksum/MD5/reset/168 1071s ok 357 /checksum/MD5/reset/169 1071s ok 358 /checksum/MD5/reset/170 1071s ok 359 /checksum/MD5/reset/171 1071s ok 360 /checksum/MD5/reset/172 1071s ok 361 /checksum/MD5/reset/173 1071s ok 362 /checksum/MD5/reset/174 1071s ok 363 /checksum/MD5/reset/175 1071s ok 364 /checksum/MD5/reset/176 1071s ok 365 /checksum/MD5/reset/177 1071s ok 366 /checksum/MD5/reset/178 1071s ok 367 /checksum/MD5/reset/179 1071s ok 368 /checksum/MD5/reset/180 1071s ok 369 /checksum/MD5/reset/181 1071s ok 370 /checksum/MD5/reset/182 1071s ok 371 /checksum/MD5/reset/183 1071s # End of reset tests 1071s # End of MD5 tests 1071s # Start of SHA1 tests 1071s ok 372 /checksum/SHA1/0 1071s ok 373 /checksum/SHA1/1 1071s ok 374 /checksum/SHA1/2 1071s ok 375 /checksum/SHA1/3 1071s ok 376 /checksum/SHA1/4 1071s ok 377 /checksum/SHA1/5 1071s ok 378 /checksum/SHA1/6 1071s ok 379 /checksum/SHA1/7 1071s ok 380 /checksum/SHA1/8 1071s ok 381 /checksum/SHA1/9 1071s ok 382 /checksum/SHA1/10 1071s ok 383 /checksum/SHA1/11 1071s ok 384 /checksum/SHA1/12 1071s ok 385 /checksum/SHA1/13 1071s ok 386 /checksum/SHA1/14 1071s ok 387 /checksum/SHA1/15 1071s ok 388 /checksum/SHA1/16 1071s ok 389 /checksum/SHA1/17 1071s ok 390 /checksum/SHA1/18 1071s ok 391 /checksum/SHA1/19 1071s ok 392 /checksum/SHA1/20 1071s ok 393 /checksum/SHA1/21 1071s ok 394 /checksum/SHA1/22 1071s ok 395 /checksum/SHA1/23 1071s ok 396 /checksum/SHA1/24 1071s ok 397 /checksum/SHA1/25 1071s ok 398 /checksum/SHA1/26 1071s ok 399 /checksum/SHA1/27 1071s ok 400 /checksum/SHA1/28 1071s ok 401 /checksum/SHA1/29 1071s ok 402 /checksum/SHA1/30 1071s ok 403 /checksum/SHA1/31 1071s ok 404 /checksum/SHA1/32 1071s ok 405 /checksum/SHA1/33 1071s ok 406 /checksum/SHA1/34 1071s ok 407 /checksum/SHA1/35 1071s ok 408 /checksum/SHA1/36 1071s ok 409 /checksum/SHA1/37 1071s ok 410 /checksum/SHA1/38 1071s ok 411 /checksum/SHA1/39 1071s ok 412 /checksum/SHA1/40 1071s ok 413 /checksum/SHA1/41 1071s ok 414 /checksum/SHA1/42 1071s ok 415 /checksum/SHA1/43 1071s ok 416 /checksum/SHA1/44 1071s ok 417 /checksum/SHA1/45 1071s ok 418 /checksum/SHA1/46 1071s ok 419 /checksum/SHA1/47 1071s ok 420 /checksum/SHA1/48 1071s ok 421 /checksum/SHA1/49 1071s ok 422 /checksum/SHA1/50 1071s ok 423 /checksum/SHA1/51 1071s ok 424 /checksum/SHA1/52 1071s ok 425 /checksum/SHA1/53 1071s ok 426 /checksum/SHA1/54 1071s ok 427 /checksum/SHA1/55 1071s ok 428 /checksum/SHA1/56 1071s ok 429 /checksum/SHA1/57 1071s ok 430 /checksum/SHA1/58 1071s ok 431 /checksum/SHA1/59 1071s ok 432 /checksum/SHA1/60 1071s ok 433 /checksum/SHA1/61 1071s ok 434 /checksum/SHA1/62 1071s ok 435 /checksum/SHA1/63 1071s ok 436 /checksum/SHA1/64 1071s ok 437 /checksum/SHA1/65 1071s ok 438 /checksum/SHA1/66 1071s ok 439 /checksum/SHA1/67 1071s ok 440 /checksum/SHA1/68 1071s ok 441 /checksum/SHA1/69 1071s ok 442 /checksum/SHA1/70 1071s ok 443 /checksum/SHA1/71 1071s ok 444 /checksum/SHA1/72 1071s ok 445 /checksum/SHA1/73 1071s ok 446 /checksum/SHA1/74 1071s ok 447 /checksum/SHA1/75 1071s ok 448 /checksum/SHA1/76 1071s ok 449 /checksum/SHA1/77 1071s ok 450 /checksum/SHA1/78 1071s ok 451 /checksum/SHA1/79 1071s ok 452 /checksum/SHA1/80 1071s ok 453 /checksum/SHA1/81 1071s ok 454 /checksum/SHA1/82 1071s ok 455 /checksum/SHA1/83 1071s ok 456 /checksum/SHA1/84 1071s ok 457 /checksum/SHA1/85 1071s ok 458 /checksum/SHA1/86 1071s ok 459 /checksum/SHA1/87 1071s ok 460 /checksum/SHA1/88 1071s ok 461 /checksum/SHA1/89 1071s ok 462 /checksum/SHA1/90 1071s ok 463 /checksum/SHA1/91 1071s ok 464 /checksum/SHA1/92 1071s ok 465 /checksum/SHA1/93 1071s ok 466 /checksum/SHA1/94 1071s ok 467 /checksum/SHA1/95 1071s ok 468 /checksum/SHA1/96 1071s ok 469 /checksum/SHA1/97 1071s ok 470 /checksum/SHA1/98 1071s ok 471 /checksum/SHA1/99 1071s ok 472 /checksum/SHA1/100 1071s ok 473 /checksum/SHA1/101 1071s ok 474 /checksum/SHA1/102 1071s ok 475 /checksum/SHA1/103 1071s ok 476 /checksum/SHA1/104 1071s ok 477 /checksum/SHA1/105 1071s ok 478 /checksum/SHA1/106 1071s ok 479 /checksum/SHA1/107 1071s ok 480 /checksum/SHA1/108 1071s ok 481 /checksum/SHA1/109 1071s ok 482 /checksum/SHA1/110 1071s ok 483 /checksum/SHA1/111 1071s ok 484 /checksum/SHA1/112 1071s ok 485 /checksum/SHA1/113 1071s ok 486 /checksum/SHA1/114 1071s ok 487 /checksum/SHA1/115 1071s ok 488 /checksum/SHA1/116 1071s ok 489 /checksum/SHA1/117 1071s ok 490 /checksum/SHA1/118 1071s ok 491 /checksum/SHA1/119 1071s ok 492 /checksum/SHA1/120 1071s ok 493 /checksum/SHA1/121 1071s ok 494 /checksum/SHA1/122 1071s ok 495 /checksum/SHA1/123 1071s ok 496 /checksum/SHA1/124 1071s ok 497 /checksum/SHA1/125 1071s ok 498 /checksum/SHA1/126 1071s ok 499 /checksum/SHA1/127 1071s ok 500 /checksum/SHA1/128 1071s ok 501 /checksum/SHA1/129 1071s ok 502 /checksum/SHA1/130 1071s ok 503 /checksum/SHA1/131 1071s ok 504 /checksum/SHA1/132 1071s ok 505 /checksum/SHA1/133 1071s ok 506 /checksum/SHA1/134 1071s ok 507 /checksum/SHA1/135 1071s ok 508 /checksum/SHA1/136 1071s ok 509 /checksum/SHA1/137 1071s ok 510 /checksum/SHA1/138 1071s ok 511 /checksum/SHA1/139 1071s ok 512 /checksum/SHA1/140 1071s ok 513 /checksum/SHA1/141 1071s ok 514 /checksum/SHA1/142 1071s ok 515 /checksum/SHA1/143 1071s ok 516 /checksum/SHA1/144 1071s ok 517 /checksum/SHA1/145 1071s ok 518 /checksum/SHA1/146 1071s ok 519 /checksum/SHA1/147 1071s ok 520 /checksum/SHA1/148 1071s ok 521 /checksum/SHA1/149 1071s ok 522 /checksum/SHA1/150 1071s ok 523 /checksum/SHA1/151 1071s ok 524 /checksum/SHA1/152 1071s ok 525 /checksum/SHA1/153 1071s ok 526 /checksum/SHA1/154 1071s ok 527 /checksum/SHA1/155 1071s ok 528 /checksum/SHA1/156 1071s ok 529 /checksum/SHA1/157 1071s ok 530 /checksum/SHA1/158 1071s ok 531 /checksum/SHA1/159 1071s ok 532 /checksum/SHA1/160 1071s ok 533 /checksum/SHA1/161 1071s ok 534 /checksum/SHA1/162 1071s ok 535 /checksum/SHA1/163 1071s ok 536 /checksum/SHA1/164 1071s ok 537 /checksum/SHA1/165 1071s ok 538 /checksum/SHA1/166 1071s ok 539 /checksum/SHA1/167 1071s ok 540 /checksum/SHA1/168 1071s ok 541 /checksum/SHA1/169 1071s ok 542 /checksum/SHA1/170 1071s ok 543 /checksum/SHA1/171 1071s ok 544 /checksum/SHA1/172 1071s ok 545 /checksum/SHA1/173 1071s ok 546 /checksum/SHA1/174 1071s ok 547 /checksum/SHA1/175 1071s ok 548 /checksum/SHA1/176 1071s ok 549 /checksum/SHA1/177 1071s ok 550 /checksum/SHA1/178 1071s ok 551 /checksum/SHA1/179 1071s ok 552 /checksum/SHA1/180 1071s ok 553 /checksum/SHA1/181 1071s ok 554 /checksum/SHA1/182 1071s ok 555 /checksum/SHA1/183 1071s ok 556 /checksum/SHA1/string 1071s ok 557 /checksum/SHA1/bytes 1071s # Start of reset tests 1071s ok 558 /checksum/SHA1/reset/0 1071s ok 559 /checksum/SHA1/reset/1 1071s ok 560 /checksum/SHA1/reset/2 1071s ok 561 /checksum/SHA1/reset/3 1071s ok 562 /checksum/SHA1/reset/4 1071s ok 563 /checksum/SHA1/reset/5 1071s ok 564 /checksum/SHA1/reset/6 1071s ok 565 /checksum/SHA1/reset/7 1071s ok 566 /checksum/SHA1/reset/8 1071s ok 567 /checksum/SHA1/reset/9 1071s ok 568 /checksum/SHA1/reset/10 1071s ok 569 /checksum/SHA1/reset/11 1071s ok 570 /checksum/SHA1/reset/12 1071s ok 571 /checksum/SHA1/reset/13 1071s ok 572 /checksum/SHA1/reset/14 1071s ok 573 /checksum/SHA1/reset/15 1071s ok 574 /checksum/SHA1/reset/16 1071s ok 575 /checksum/SHA1/reset/17 1071s ok 576 /checksum/SHA1/reset/18 1071s ok 577 /checksum/SHA1/reset/19 1071s ok 578 /checksum/SHA1/reset/20 1071s ok 579 /checksum/SHA1/reset/21 1071s ok 580 /checksum/SHA1/reset/22 1071s ok 581 /checksum/SHA1/reset/23 1071s ok 582 /checksum/SHA1/reset/24 1071s ok 583 /checksum/SHA1/reset/25 1071s ok 584 /checksum/SHA1/reset/26 1071s ok 585 /checksum/SHA1/reset/27 1071s ok 586 /checksum/SHA1/reset/28 1071s ok 587 /checksum/SHA1/reset/29 1071s ok 588 /checksum/SHA1/reset/30 1071s ok 589 /checksum/SHA1/reset/31 1071s ok 590 /checksum/SHA1/reset/32 1071s ok 591 /checksum/SHA1/reset/33 1071s ok 592 /checksum/SHA1/reset/34 1071s ok 593 /checksum/SHA1/reset/35 1071s ok 594 /checksum/SHA1/reset/36 1071s ok 595 /checksum/SHA1/reset/37 1071s ok 596 /checksum/SHA1/reset/38 1071s ok 597 /checksum/SHA1/reset/39 1071s ok 598 /checksum/SHA1/reset/40 1071s ok 599 /checksum/SHA1/reset/41 1071s ok 600 /checksum/SHA1/reset/42 1071s ok 601 /checksum/SHA1/reset/43 1071s ok 602 /checksum/SHA1/reset/44 1071s ok 603 /checksum/SHA1/reset/45 1071s ok 604 /checksum/SHA1/reset/46 1071s ok 605 /checksum/SHA1/reset/47 1071s ok 606 /checksum/SHA1/reset/48 1071s ok 607 /checksum/SHA1/reset/49 1071s ok 608 /checksum/SHA1/reset/50 1071s ok 609 /checksum/SHA1/reset/51 1071s ok 610 /checksum/SHA1/reset/52 1071s ok 611 /checksum/SHA1/reset/53 1071s ok 612 /checksum/SHA1/reset/54 1071s ok 613 /checksum/SHA1/reset/55 1071s ok 614 /checksum/SHA1/reset/56 1071s ok 615 /checksum/SHA1/reset/57 1071s ok 616 /checksum/SHA1/reset/58 1071s ok 617 /checksum/SHA1/reset/59 1071s ok 618 /checksum/SHA1/reset/60 1071s ok 619 /checksum/SHA1/reset/61 1071s ok 620 /checksum/SHA1/reset/62 1071s ok 621 /checksum/SHA1/reset/63 1071s ok 622 /checksum/SHA1/reset/64 1071s ok 623 /checksum/SHA1/reset/65 1071s ok 624 /checksum/SHA1/reset/66 1071s ok 625 /checksum/SHA1/reset/67 1071s ok 626 /checksum/SHA1/reset/68 1071s ok 627 /checksum/SHA1/reset/69 1071s ok 628 /checksum/SHA1/reset/70 1071s ok 629 /checksum/SHA1/reset/71 1071s ok 630 /checksum/SHA1/reset/72 1071s ok 631 /checksum/SHA1/reset/73 1071s ok 632 /checksum/SHA1/reset/74 1071s ok 633 /checksum/SHA1/reset/75 1071s ok 634 /checksum/SHA1/reset/76 1071s ok 635 /checksum/SHA1/reset/77 1071s ok 636 /checksum/SHA1/reset/78 1071s ok 637 /checksum/SHA1/reset/79 1071s ok 638 /checksum/SHA1/reset/80 1071s ok 639 /checksum/SHA1/reset/81 1071s ok 640 /checksum/SHA1/reset/82 1071s ok 641 /checksum/SHA1/reset/83 1071s ok 642 /checksum/SHA1/reset/84 1071s ok 643 /checksum/SHA1/reset/85 1071s ok 644 /checksum/SHA1/reset/86 1071s ok 645 /checksum/SHA1/reset/87 1071s ok 646 /checksum/SHA1/reset/88 1071s ok 647 /checksum/SHA1/reset/89 1071s ok 648 /checksum/SHA1/reset/90 1071s ok 649 /checksum/SHA1/reset/91 1071s ok 650 /checksum/SHA1/reset/92 1071s ok 651 /checksum/SHA1/reset/93 1071s ok 652 /checksum/SHA1/reset/94 1071s ok 653 /checksum/SHA1/reset/95 1071s ok 654 /checksum/SHA1/reset/96 1071s ok 655 /checksum/SHA1/reset/97 1071s ok 656 /checksum/SHA1/reset/98 1071s ok 657 /checksum/SHA1/reset/99 1071s ok 658 /checksum/SHA1/reset/100 1071s ok 659 /checksum/SHA1/reset/101 1071s ok 660 /checksum/SHA1/reset/102 1071s ok 661 /checksum/SHA1/reset/103 1071s ok 662 /checksum/SHA1/reset/104 1071s ok 663 /checksum/SHA1/reset/105 1071s ok 664 /checksum/SHA1/reset/106 1071s ok 665 /checksum/SHA1/reset/107 1071s ok 666 /checksum/SHA1/reset/108 1071s ok 667 /checksum/SHA1/reset/109 1071s ok 668 /checksum/SHA1/reset/110 1071s ok 669 /checksum/SHA1/reset/111 1071s ok 670 /checksum/SHA1/reset/112 1071s ok 671 /checksum/SHA1/reset/113 1071s ok 672 /checksum/SHA1/reset/114 1071s ok 673 /checksum/SHA1/reset/115 1071s ok 674 /checksum/SHA1/reset/116 1071s ok 675 /checksum/SHA1/reset/117 1071s ok 676 /checksum/SHA1/reset/118 1071s ok 677 /checksum/SHA1/reset/119 1071s ok 678 /checksum/SHA1/reset/120 1071s ok 679 /checksum/SHA1/reset/121 1071s ok 680 /checksum/SHA1/reset/122 1071s ok 681 /checksum/SHA1/reset/123 1071s ok 682 /checksum/SHA1/reset/124 1071s ok 683 /checksum/SHA1/reset/125 1071s ok 684 /checksum/SHA1/reset/126 1071s ok 685 /checksum/SHA1/reset/127 1071s ok 686 /checksum/SHA1/reset/128 1071s ok 687 /checksum/SHA1/reset/129 1071s ok 688 /checksum/SHA1/reset/130 1071s ok 689 /checksum/SHA1/reset/131 1071s ok 690 /checksum/SHA1/reset/132 1071s ok 691 /checksum/SHA1/reset/133 1071s ok 692 /checksum/SHA1/reset/134 1071s ok 693 /checksum/SHA1/reset/135 1071s ok 694 /checksum/SHA1/reset/136 1071s ok 695 /checksum/SHA1/reset/137 1071s ok 696 /checksum/SHA1/reset/138 1071s ok 697 /checksum/SHA1/reset/139 1071s ok 698 /checksum/SHA1/reset/140 1071s ok 699 /checksum/SHA1/reset/141 1071s ok 700 /checksum/SHA1/reset/142 1071s ok 701 /checksum/SHA1/reset/143 1071s ok 702 /checksum/SHA1/reset/144 1071s ok 703 /checksum/SHA1/reset/145 1071s ok 704 /checksum/SHA1/reset/146 1071s ok 705 /checksum/SHA1/reset/147 1071s ok 706 /checksum/SHA1/reset/148 1071s ok 707 /checksum/SHA1/reset/149 1071s ok 708 /checksum/SHA1/reset/150 1071s ok 709 /checksum/SHA1/reset/151 1071s ok 710 /checksum/SHA1/reset/152 1071s ok 711 /checksum/SHA1/reset/153 1071s ok 712 /checksum/SHA1/reset/154 1071s ok 713 /checksum/SHA1/reset/155 1071s ok 714 /checksum/SHA1/reset/156 1071s ok 715 /checksum/SHA1/reset/157 1071s ok 716 /checksum/SHA1/reset/158 1071s ok 717 /checksum/SHA1/reset/159 1071s ok 718 /checksum/SHA1/reset/160 1071s ok 719 /checksum/SHA1/reset/161 1071s ok 720 /checksum/SHA1/reset/162 1071s ok 721 /checksum/SHA1/reset/163 1071s ok 722 /checksum/SHA1/reset/164 1071s ok 723 /checksum/SHA1/reset/165 1071s ok 724 /checksum/SHA1/reset/166 1071s ok 725 /checksum/SHA1/reset/167 1071s ok 726 /checksum/SHA1/reset/168 1071s ok 727 /checksum/SHA1/reset/169 1071s ok 728 /checksum/SHA1/reset/170 1071s ok 729 /checksum/SHA1/reset/171 1071s ok 730 /checksum/SHA1/reset/172 1071s ok 731 /checksum/SHA1/reset/173 1071s ok 732 /checksum/SHA1/reset/174 1071s ok 733 /checksum/SHA1/reset/175 1071s ok 734 /checksum/SHA1/reset/176 1071s ok 735 /checksum/SHA1/reset/177 1071s ok 736 /checksum/SHA1/reset/178 1071s ok 737 /checksum/SHA1/reset/179 1071s ok 738 /checksum/SHA1/reset/180 1071s ok 739 /checksum/SHA1/reset/181 1071s ok 740 /checksum/SHA1/reset/182 1071s ok 741 /checksum/SHA1/reset/183 1071s # End of reset tests 1071s # End of SHA1 tests 1071s # Start of SHA256 tests 1071s ok 742 /checksum/SHA256/0 1071s ok 743 /checksum/SHA256/1 1071s ok 744 /checksum/SHA256/2 1071s ok 745 /checksum/SHA256/3 1071s ok 746 /checksum/SHA256/4 1071s ok 747 /checksum/SHA256/5 1071s ok 748 /checksum/SHA256/6 1071s ok 749 /checksum/SHA256/7 1071s ok 750 /checksum/SHA256/8 1071s ok 751 /checksum/SHA256/9 1071s ok 752 /checksum/SHA256/10 1071s ok 753 /checksum/SHA256/11 1071s ok 754 /checksum/SHA256/12 1071s ok 755 /checksum/SHA256/13 1071s ok 756 /checksum/SHA256/14 1071s ok 757 /checksum/SHA256/15 1071s ok 758 /checksum/SHA256/16 1071s ok 759 /checksum/SHA256/17 1071s ok 760 /checksum/SHA256/18 1071s ok 761 /checksum/SHA256/19 1071s ok 762 /checksum/SHA256/20 1071s ok 763 /checksum/SHA256/21 1071s ok 764 /checksum/SHA256/22 1071s ok 765 /checksum/SHA256/23 1071s ok 766 /checksum/SHA256/24 1071s ok 767 /checksum/SHA256/25 1071s ok 768 /checksum/SHA256/26 1071s ok 769 /checksum/SHA256/27 1071s ok 770 /checksum/SHA256/28 1071s ok 771 /checksum/SHA256/29 1071s ok 772 /checksum/SHA256/30 1071s ok 773 /checksum/SHA256/31 1071s ok 774 /checksum/SHA256/32 1071s ok 775 /checksum/SHA256/33 1071s ok 776 /checksum/SHA256/34 1071s ok 777 /checksum/SHA256/35 1071s ok 778 /checksum/SHA256/36 1071s ok 779 /checksum/SHA256/37 1071s ok 780 /checksum/SHA256/38 1071s ok 781 /checksum/SHA256/39 1071s ok 782 /checksum/SHA256/40 1071s ok 783 /checksum/SHA256/41 1071s ok 784 /checksum/SHA256/42 1071s ok 785 /checksum/SHA256/43 1071s ok 786 /checksum/SHA256/44 1071s ok 787 /checksum/SHA256/45 1071s ok 788 /checksum/SHA256/46 1071s ok 789 /checksum/SHA256/47 1071s ok 790 /checksum/SHA256/48 1071s ok 791 /checksum/SHA256/49 1071s ok 792 /checksum/SHA256/50 1071s ok 793 /checksum/SHA256/51 1071s ok 794 /checksum/SHA256/52 1071s ok 795 /checksum/SHA256/53 1071s ok 796 /checksum/SHA256/54 1071s ok 797 /checksum/SHA256/55 1071s ok 798 /checksum/SHA256/56 1071s ok 799 /checksum/SHA256/57 1071s ok 800 /checksum/SHA256/58 1071s ok 801 /checksum/SHA256/59 1071s ok 802 /checksum/SHA256/60 1071s ok 803 /checksum/SHA256/61 1071s ok 804 /checksum/SHA256/62 1071s ok 805 /checksum/SHA256/63 1071s ok 806 /checksum/SHA256/64 1071s ok 807 /checksum/SHA256/65 1071s ok 808 /checksum/SHA256/66 1071s ok 809 /checksum/SHA256/67 1071s ok 810 /checksum/SHA256/68 1071s ok 811 /checksum/SHA256/69 1071s ok 812 /checksum/SHA256/70 1071s ok 813 /checksum/SHA256/71 1071s ok 814 /checksum/SHA256/72 1071s ok 815 /checksum/SHA256/73 1071s ok 816 /checksum/SHA256/74 1071s ok 817 /checksum/SHA256/75 1071s ok 818 /checksum/SHA256/76 1071s ok 819 /checksum/SHA256/77 1071s ok 820 /checksum/SHA256/78 1071s ok 821 /checksum/SHA256/79 1071s ok 822 /checksum/SHA256/80 1071s ok 823 /checksum/SHA256/81 1071s ok 824 /checksum/SHA256/82 1071s ok 825 /checksum/SHA256/83 1071s ok 826 /checksum/SHA256/84 1071s ok 827 /checksum/SHA256/85 1071s ok 828 /checksum/SHA256/86 1071s ok 829 /checksum/SHA256/87 1071s ok 830 /checksum/SHA256/88 1071s ok 831 /checksum/SHA256/89 1071s ok 832 /checksum/SHA256/90 1071s ok 833 /checksum/SHA256/91 1071s ok 834 /checksum/SHA256/92 1071s ok 835 /checksum/SHA256/93 1071s ok 836 /checksum/SHA256/94 1071s ok 837 /checksum/SHA256/95 1071s ok 838 /checksum/SHA256/96 1071s ok 839 /checksum/SHA256/97 1071s ok 840 /checksum/SHA256/98 1071s ok 841 /checksum/SHA256/99 1071s ok 842 /checksum/SHA256/100 1071s ok 843 /checksum/SHA256/101 1071s ok 844 /checksum/SHA256/102 1071s ok 845 /checksum/SHA256/103 1071s ok 846 /checksum/SHA256/104 1071s ok 847 /checksum/SHA256/105 1071s ok 848 /checksum/SHA256/106 1071s ok 849 /checksum/SHA256/107 1071s ok 850 /checksum/SHA256/108 1071s ok 851 /checksum/SHA256/109 1071s ok 852 /checksum/SHA256/110 1071s ok 853 /checksum/SHA256/111 1071s ok 854 /checksum/SHA256/112 1071s ok 855 /checksum/SHA256/113 1071s ok 856 /checksum/SHA256/114 1071s ok 857 /checksum/SHA256/115 1071s ok 858 /checksum/SHA256/116 1071s ok 859 /checksum/SHA256/117 1071s ok 860 /checksum/SHA256/118 1071s ok 861 /checksum/SHA256/119 1071s ok 862 /checksum/SHA256/120 1071s ok 863 /checksum/SHA256/121 1071s ok 864 /checksum/SHA256/122 1071s ok 865 /checksum/SHA256/123 1071s ok 866 /checksum/SHA256/124 1071s ok 867 /checksum/SHA256/125 1071s ok 868 /checksum/SHA256/126 1071s ok 869 /checksum/SHA256/127 1071s ok 870 /checksum/SHA256/128 1071s ok 871 /checksum/SHA256/129 1071s ok 872 /checksum/SHA256/130 1071s ok 873 /checksum/SHA256/131 1071s ok 874 /checksum/SHA256/132 1071s ok 875 /checksum/SHA256/133 1071s ok 876 /checksum/SHA256/134 1071s ok 877 /checksum/SHA256/135 1071s ok 878 /checksum/SHA256/136 1071s ok 879 /checksum/SHA256/137 1071s ok 880 /checksum/SHA256/138 1071s ok 881 /checksum/SHA256/139 1071s ok 882 /checksum/SHA256/140 1071s ok 883 /checksum/SHA256/141 1071s ok 884 /checksum/SHA256/142 1071s ok 885 /checksum/SHA256/143 1071s ok 886 /checksum/SHA256/144 1071s ok 887 /checksum/SHA256/145 1071s ok 888 /checksum/SHA256/146 1071s ok 889 /checksum/SHA256/147 1071s ok 890 /checksum/SHA256/148 1071s ok 891 /checksum/SHA256/149 1071s ok 892 /checksum/SHA256/150 1071s ok 893 /checksum/SHA256/151 1071s ok 894 /checksum/SHA256/152 1071s ok 895 /checksum/SHA256/153 1071s ok 896 /checksum/SHA256/154 1071s ok 897 /checksum/SHA256/155 1071s ok 898 /checksum/SHA256/156 1071s ok 899 /checksum/SHA256/157 1071s ok 900 /checksum/SHA256/158 1071s ok 901 /checksum/SHA256/159 1071s ok 902 /checksum/SHA256/160 1071s ok 903 /checksum/SHA256/161 1071s ok 904 /checksum/SHA256/162 1071s ok 905 /checksum/SHA256/163 1071s ok 906 /checksum/SHA256/164 1071s ok 907 /checksum/SHA256/165 1071s ok 908 /checksum/SHA256/166 1071s ok 909 /checksum/SHA256/167 1071s ok 910 /checksum/SHA256/168 1071s ok 911 /checksum/SHA256/169 1071s ok 912 /checksum/SHA256/170 1071s ok 913 /checksum/SHA256/171 1071s ok 914 /checksum/SHA256/172 1071s ok 915 /checksum/SHA256/173 1071s ok 916 /checksum/SHA256/174 1071s ok 917 /checksum/SHA256/175 1071s ok 918 /checksum/SHA256/176 1071s ok 919 /checksum/SHA256/177 1071s ok 920 /checksum/SHA256/178 1071s ok 921 /checksum/SHA256/179 1071s ok 922 /checksum/SHA256/180 1071s ok 923 /checksum/SHA256/181 1071s ok 924 /checksum/SHA256/182 1071s ok 925 /checksum/SHA256/183 1071s ok 926 /checksum/SHA256/string 1071s ok 927 /checksum/SHA256/bytes 1071s # Start of reset tests 1071s ok 928 /checksum/SHA256/reset/0 1071s ok 929 /checksum/SHA256/reset/1 1071s ok 930 /checksum/SHA256/reset/2 1071s ok 931 /checksum/SHA256/reset/3 1071s ok 932 /checksum/SHA256/reset/4 1071s ok 933 /checksum/SHA256/reset/5 1071s ok 934 /checksum/SHA256/reset/6 1071s ok 935 /checksum/SHA256/reset/7 1071s ok 936 /checksum/SHA256/reset/8 1071s ok 937 /checksum/SHA256/reset/9 1071s ok 938 /checksum/SHA256/reset/10 1071s ok 939 /checksum/SHA256/reset/11 1071s ok 940 /checksum/SHA256/reset/12 1071s ok 941 /checksum/SHA256/reset/13 1071s ok 942 /checksum/SHA256/reset/14 1071s ok 943 /checksum/SHA256/reset/15 1071s ok 944 /checksum/SHA256/reset/16 1071s ok 945 /checksum/SHA256/reset/17 1071s ok 946 /checksum/SHA256/reset/18 1071s ok 947 /checksum/SHA256/reset/19 1071s ok 948 /checksum/SHA256/reset/20 1071s ok 949 /checksum/SHA256/reset/21 1071s ok 950 /checksum/SHA256/reset/22 1071s ok 951 /checksum/SHA256/reset/23 1071s ok 952 /checksum/SHA256/reset/24 1071s ok 953 /checksum/SHA256/reset/25 1071s ok 954 /checksum/SHA256/reset/26 1071s ok 955 /checksum/SHA256/reset/27 1071s ok 956 /checksum/SHA256/reset/28 1071s ok 957 /checksum/SHA256/reset/29 1071s ok 958 /checksum/SHA256/reset/30 1071s ok 959 /checksum/SHA256/reset/31 1071s ok 960 /checksum/SHA256/reset/32 1071s ok 961 /checksum/SHA256/reset/33 1071s ok 962 /checksum/SHA256/reset/34 1071s ok 963 /checksum/SHA256/reset/35 1071s ok 964 /checksum/SHA256/reset/36 1071s ok 965 /checksum/SHA256/reset/37 1071s ok 966 /checksum/SHA256/reset/38 1071s ok 967 /checksum/SHA256/reset/39 1071s ok 968 /checksum/SHA256/reset/40 1071s ok 969 /checksum/SHA256/reset/41 1071s ok 970 /checksum/SHA256/reset/42 1071s ok 971 /checksum/SHA256/reset/43 1071s ok 972 /checksum/SHA256/reset/44 1071s ok 973 /checksum/SHA256/reset/45 1071s ok 974 /checksum/SHA256/reset/46 1071s ok 975 /checksum/SHA256/reset/47 1071s ok 976 /checksum/SHA256/reset/48 1071s ok 977 /checksum/SHA256/reset/49 1071s ok 978 /checksum/SHA256/reset/50 1071s ok 979 /checksum/SHA256/reset/51 1071s ok 980 /checksum/SHA256/reset/52 1071s ok 981 /checksum/SHA256/reset/53 1071s ok 982 /checksum/SHA256/reset/54 1071s ok 983 /checksum/SHA256/reset/55 1071s ok 984 /checksum/SHA256/reset/56 1071s ok 985 /checksum/SHA256/reset/57 1071s ok 986 /checksum/SHA256/reset/58 1071s ok 987 /checksum/SHA256/reset/59 1071s ok 988 /checksum/SHA256/reset/60 1071s ok 989 /checksum/SHA256/reset/61 1071s ok 990 /checksum/SHA256/reset/62 1071s ok 991 /checksum/SHA256/reset/63 1071s ok 992 /checksum/SHA256/reset/64 1071s ok 993 /checksum/SHA256/reset/65 1071s ok 994 /checksum/SHA256/reset/66 1071s ok 995 /checksum/SHA256/reset/67 1071s ok 996 /checksum/SHA256/reset/68 1071s ok 997 /checksum/SHA256/reset/69 1071s ok 998 /checksum/SHA256/reset/70 1071s ok 999 /checksum/SHA256/reset/71 1071s ok 1000 /checksum/SHA256/reset/72 1071s ok 1001 /checksum/SHA256/reset/73 1071s ok 1002 /checksum/SHA256/reset/74 1071s ok 1003 /checksum/SHA256/reset/75 1071s ok 1004 /checksum/SHA256/reset/76 1071s ok 1005 /checksum/SHA256/reset/77 1071s ok 1006 /checksum/SHA256/reset/78 1071s ok 1007 /checksum/SHA256/reset/79 1071s ok 1008 /checksum/SHA256/reset/80 1071s ok 1009 /checksum/SHA256/reset/81 1071s ok 1010 /checksum/SHA256/reset/82 1071s ok 1011 /checksum/SHA256/reset/83 1071s ok 1012 /checksum/SHA256/reset/84 1071s ok 1013 /checksum/SHA256/reset/85 1071s ok 1014 /checksum/SHA256/reset/86 1071s ok 1015 /checksum/SHA256/reset/87 1071s ok 1016 /checksum/SHA256/reset/88 1071s ok 1017 /checksum/SHA256/reset/89 1071s ok 1018 /checksum/SHA256/reset/90 1071s ok 1019 /checksum/SHA256/reset/91 1071s ok 1020 /checksum/SHA256/reset/92 1071s ok 1021 /checksum/SHA256/reset/93 1071s ok 1022 /checksum/SHA256/reset/94 1071s ok 1023 /checksum/SHA256/reset/95 1071s ok 1024 /checksum/SHA256/reset/96 1071s ok 1025 /checksum/SHA256/reset/97 1071s ok 1026 /checksum/SHA256/reset/98 1071s ok 1027 /checksum/SHA256/reset/99 1071s ok 1028 /checksum/SHA256/reset/100 1071s ok 1029 /checksum/SHA256/reset/101 1071s ok 1030 /checksum/SHA256/reset/102 1071s ok 1031 /checksum/SHA256/reset/103 1071s ok 1032 /checksum/SHA256/reset/104 1071s ok 1033 /checksum/SHA256/reset/105 1071s ok 1034 /checksum/SHA256/reset/106 1071s ok 1035 /checksum/SHA256/reset/107 1071s ok 1036 /checksum/SHA256/reset/108 1071s ok 1037 /checksum/SHA256/reset/109 1071s ok 1038 /checksum/SHA256/reset/110 1071s ok 1039 /checksum/SHA256/reset/111 1071s ok 1040 /checksum/SHA256/reset/112 1071s ok 1041 /checksum/SHA256/reset/113 1071s ok 1042 /checksum/SHA256/reset/114 1071s ok 1043 /checksum/SHA256/reset/115 1071s ok 1044 /checksum/SHA256/reset/116 1071s ok 1045 /checksum/SHA256/reset/117 1071s ok 1046 /checksum/SHA256/reset/118 1071s ok 1047 /checksum/SHA256/reset/119 1071s ok 1048 /checksum/SHA256/reset/120 1071s ok 1049 /checksum/SHA256/reset/121 1071s ok 1050 /checksum/SHA256/reset/122 1071s ok 1051 /checksum/SHA256/reset/123 1071s ok 1052 /checksum/SHA256/reset/124 1071s ok 1053 /checksum/SHA256/reset/125 1071s ok 1054 /checksum/SHA256/reset/126 1071s ok 1055 /checksum/SHA256/reset/127 1071s ok 1056 /checksum/SHA256/reset/128 1071s ok 1057 /checksum/SHA256/reset/129 1071s ok 1058 /checksum/SHA256/reset/130 1071s ok 1059 /checksum/SHA256/reset/131 1071s ok 1060 /checksum/SHA256/reset/132 1071s ok 1061 /checksum/SHA256/reset/133 1071s ok 1062 /checksum/SHA256/reset/134 1071s ok 1063 /checksum/SHA256/reset/135 1071s ok 1064 /checksum/SHA256/reset/136 1071s ok 1065 /checksum/SHA256/reset/137 1071s ok 1066 /checksum/SHA256/reset/138 1071s ok 1067 /checksum/SHA256/reset/139 1071s ok 1068 /checksum/SHA256/reset/140 1071s ok 1069 /checksum/SHA256/reset/141 1071s ok 1070 /checksum/SHA256/reset/142 1071s ok 1071 /checksum/SHA256/reset/143 1071s ok 1072 /checksum/SHA256/reset/144 1071s ok 1073 /checksum/SHA256/reset/145 1071s ok 1074 /checksum/SHA256/reset/146 1071s ok 1075 /checksum/SHA256/reset/147 1071s ok 1076 /checksum/SHA256/reset/148 1071s ok 1077 /checksum/SHA256/reset/149 1071s ok 1078 /checksum/SHA256/reset/150 1071s ok 1079 /checksum/SHA256/reset/151 1071s ok 1080 /checksum/SHA256/reset/152 1071s ok 1081 /checksum/SHA256/reset/153 1071s ok 1082 /checksum/SHA256/reset/154 1071s ok 1083 /checksum/SHA256/reset/155 1071s ok 1084 /checksum/SHA256/reset/156 1071s ok 1085 /checksum/SHA256/reset/157 1071s ok 1086 /checksum/SHA256/reset/158 1071s ok 1087 /checksum/SHA256/reset/159 1071s ok 1088 /checksum/SHA256/reset/160 1071s ok 1089 /checksum/SHA256/reset/161 1071s ok 1090 /checksum/SHA256/reset/162 1071s ok 1091 /checksum/SHA256/reset/163 1071s ok 1092 /checksum/SHA256/reset/164 1071s ok 1093 /checksum/SHA256/reset/165 1071s ok 1094 /checksum/SHA256/reset/166 1071s ok 1095 /checksum/SHA256/reset/167 1071s ok 1096 /checksum/SHA256/reset/168 1071s ok 1097 /checksum/SHA256/reset/169 1071s ok 1098 /checksum/SHA256/reset/170 1071s ok 1099 /checksum/SHA256/reset/171 1071s ok 1100 /checksum/SHA256/reset/172 1071s ok 1101 /checksum/SHA256/reset/173 1071s ok 1102 /checksum/SHA256/reset/174 1071s ok 1103 /checksum/SHA256/reset/175 1071s ok 1104 /checksum/SHA256/reset/176 1071s ok 1105 /checksum/SHA256/reset/177 1071s ok 1106 /checksum/SHA256/reset/178 1071s ok 1107 /checksum/SHA256/reset/179 1071s ok 1108 /checksum/SHA256/reset/180 1071s ok 1109 /checksum/SHA256/reset/181 1071s ok 1110 /checksum/SHA256/reset/182 1071s ok 1111 /checksum/SHA256/reset/183 1071s # End of reset tests 1071s # End of SHA256 tests 1071s # Start of SHA384 tests 1071s ok 1112 /checksum/SHA384/0 1071s ok 1113 /checksum/SHA384/1 1071s ok 1114 /checksum/SHA384/2 1071s ok 1115 /checksum/SHA384/3 1071s ok 1116 /checksum/SHA384/4 1071s ok 1117 /checksum/SHA384/5 1071s ok 1118 /checksum/SHA384/6 1071s ok 1119 /checksum/SHA384/7 1071s ok 1120 /checksum/SHA384/8 1071s ok 1121 /checksum/SHA384/9 1071s ok 1122 /checksum/SHA384/10 1071s ok 1123 /checksum/SHA384/11 1071s ok 1124 /checksum/SHA384/12 1071s ok 1125 /checksum/SHA384/13 1071s ok 1126 /checksum/SHA384/14 1071s ok 1127 /checksum/SHA384/15 1071s ok 1128 /checksum/SHA384/16 1071s ok 1129 /checksum/SHA384/17 1071s ok 1130 /checksum/SHA384/18 1071s ok 1131 /checksum/SHA384/19 1071s ok 1132 /checksum/SHA384/20 1071s ok 1133 /checksum/SHA384/21 1071s ok 1134 /checksum/SHA384/22 1071s ok 1135 /checksum/SHA384/23 1071s ok 1136 /checksum/SHA384/24 1071s ok 1137 /checksum/SHA384/25 1071s ok 1138 /checksum/SHA384/26 1071s ok 1139 /checksum/SHA384/27 1071s ok 1140 /checksum/SHA384/28 1071s ok 1141 /checksum/SHA384/29 1071s ok 1142 /checksum/SHA384/30 1071s ok 1143 /checksum/SHA384/31 1071s ok 1144 /checksum/SHA384/32 1071s ok 1145 /checksum/SHA384/33 1071s ok 1146 /checksum/SHA384/34 1071s ok 1147 /checksum/SHA384/35 1071s ok 1148 /checksum/SHA384/36 1071s ok 1149 /checksum/SHA384/37 1071s ok 1150 /checksum/SHA384/38 1071s ok 1151 /checksum/SHA384/39 1071s ok 1152 /checksum/SHA384/40 1071s ok 1153 /checksum/SHA384/41 1071s ok 1154 /checksum/SHA384/42 1071s ok 1155 /checksum/SHA384/43 1071s ok 1156 /checksum/SHA384/44 1071s ok 1157 /checksum/SHA384/45 1071s ok 1158 /checksum/SHA384/46 1071s ok 1159 /checksum/SHA384/47 1071s ok 1160 /checksum/SHA384/48 1071s ok 1161 /checksum/SHA384/49 1071s ok 1162 /checksum/SHA384/50 1071s ok 1163 /checksum/SHA384/51 1071s ok 1164 /checksum/SHA384/52 1071s ok 1165 /checksum/SHA384/53 1071s ok 1166 /checksum/SHA384/54 1071s ok 1167 /checksum/SHA384/55 1071s ok 1168 /checksum/SHA384/56 1071s ok 1169 /checksum/SHA384/57 1071s ok 1170 /checksum/SHA384/58 1071s ok 1171 /checksum/SHA384/59 1071s ok 1172 /checksum/SHA384/60 1071s ok 1173 /checksum/SHA384/61 1071s ok 1174 /checksum/SHA384/62 1071s ok 1175 /checksum/SHA384/63 1071s ok 1176 /checksum/SHA384/64 1071s ok 1177 /checksum/SHA384/65 1071s ok 1178 /checksum/SHA384/66 1071s ok 1179 /checksum/SHA384/67 1071s ok 1180 /checksum/SHA384/68 1071s ok 1181 /checksum/SHA384/69 1071s ok 1182 /checksum/SHA384/70 1071s ok 1183 /checksum/SHA384/71 1071s ok 1184 /checksum/SHA384/72 1071s ok 1185 /checksum/SHA384/73 1071s ok 1186 /checksum/SHA384/74 1071s ok 1187 /checksum/SHA384/75 1071s ok 1188 /checksum/SHA384/76 1071s ok 1189 /checksum/SHA384/77 1071s ok 1190 /checksum/SHA384/78 1071s ok 1191 /checksum/SHA384/79 1071s ok 1192 /checksum/SHA384/80 1071s ok 1193 /checksum/SHA384/81 1071s ok 1194 /checksum/SHA384/82 1071s ok 1195 /checksum/SHA384/83 1071s ok 1196 /checksum/SHA384/84 1071s ok 1197 /checksum/SHA384/85 1071s ok 1198 /checksum/SHA384/86 1071s ok 1199 /checksum/SHA384/87 1071s ok 1200 /checksum/SHA384/88 1071s ok 1201 /checksum/SHA384/89 1071s ok 1202 /checksum/SHA384/90 1071s ok 1203 /checksum/SHA384/91 1071s ok 1204 /checksum/SHA384/92 1071s ok 1205 /checksum/SHA384/93 1071s ok 1206 /checksum/SHA384/94 1071s ok 1207 /checksum/SHA384/95 1071s ok 1208 /checksum/SHA384/96 1071s ok 1209 /checksum/SHA384/97 1071s ok 1210 /checksum/SHA384/98 1071s ok 1211 /checksum/SHA384/99 1071s ok 1212 /checksum/SHA384/100 1071s ok 1213 /checksum/SHA384/101 1071s ok 1214 /checksum/SHA384/102 1071s ok 1215 /checksum/SHA384/103 1071s ok 1216 /checksum/SHA384/104 1071s ok 1217 /checksum/SHA384/105 1071s ok 1218 /checksum/SHA384/106 1071s ok 1219 /checksum/SHA384/107 1071s ok 1220 /checksum/SHA384/108 1071s ok 1221 /checksum/SHA384/109 1071s ok 1222 /checksum/SHA384/110 1071s ok 1223 /checksum/SHA384/111 1071s ok 1224 /checksum/SHA384/112 1071s ok 1225 /checksum/SHA384/113 1071s ok 1226 /checksum/SHA384/114 1071s ok 1227 /checksum/SHA384/115 1071s ok 1228 /checksum/SHA384/116 1071s ok 1229 /checksum/SHA384/117 1071s ok 1230 /checksum/SHA384/118 1071s ok 1231 /checksum/SHA384/119 1071s ok 1232 /checksum/SHA384/120 1071s ok 1233 /checksum/SHA384/121 1071s ok 1234 /checksum/SHA384/122 1071s ok 1235 /checksum/SHA384/123 1071s ok 1236 /checksum/SHA384/124 1071s ok 1237 /checksum/SHA384/125 1071s ok 1238 /checksum/SHA384/126 1071s ok 1239 /checksum/SHA384/127 1071s ok 1240 /checksum/SHA384/128 1071s ok 1241 /checksum/SHA384/129 1071s ok 1242 /checksum/SHA384/130 1071s ok 1243 /checksum/SHA384/131 1071s ok 1244 /checksum/SHA384/132 1071s ok 1245 /checksum/SHA384/133 1071s ok 1246 /checksum/SHA384/134 1071s ok 1247 /checksum/SHA384/135 1071s ok 1248 /checksum/SHA384/136 1071s ok 1249 /checksum/SHA384/137 1071s ok 1250 /checksum/SHA384/138 1071s ok 1251 /checksum/SHA384/139 1071s ok 1252 /checksum/SHA384/140 1071s ok 1253 /checksum/SHA384/141 1071s ok 1254 /checksum/SHA384/142 1071s ok 1255 /checksum/SHA384/143 1071s ok 1256 /checksum/SHA384/144 1071s ok 1257 /checksum/SHA384/145 1071s ok 1258 /checksum/SHA384/146 1071s ok 1259 /checksum/SHA384/147 1071s ok 1260 /checksum/SHA384/148 1071s ok 1261 /checksum/SHA384/149 1071s ok 1262 /checksum/SHA384/150 1071s ok 1263 /checksum/SHA384/151 1071s ok 1264 /checksum/SHA384/152 1071s ok 1265 /checksum/SHA384/153 1071s ok 1266 /checksum/SHA384/154 1071s ok 1267 /checksum/SHA384/155 1071s ok 1268 /checksum/SHA384/156 1071s ok 1269 /checksum/SHA384/157 1071s ok 1270 /checksum/SHA384/158 1071s ok 1271 /checksum/SHA384/159 1071s ok 1272 /checksum/SHA384/160 1071s ok 1273 /checksum/SHA384/161 1071s ok 1274 /checksum/SHA384/162 1071s ok 1275 /checksum/SHA384/163 1071s ok 1276 /checksum/SHA384/164 1071s ok 1277 /checksum/SHA384/165 1071s ok 1278 /checksum/SHA384/166 1071s ok 1279 /checksum/SHA384/167 1071s ok 1280 /checksum/SHA384/168 1071s ok 1281 /checksum/SHA384/169 1071s ok 1282 /checksum/SHA384/170 1071s ok 1283 /checksum/SHA384/171 1071s ok 1284 /checksum/SHA384/172 1071s ok 1285 /checksum/SHA384/173 1071s ok 1286 /checksum/SHA384/174 1071s ok 1287 /checksum/SHA384/175 1071s ok 1288 /checksum/SHA384/176 1071s ok 1289 /checksum/SHA384/177 1071s ok 1290 /checksum/SHA384/178 1071s ok 1291 /checksum/SHA384/179 1071s ok 1292 /checksum/SHA384/180 1071s ok 1293 /checksum/SHA384/181 1071s ok 1294 /checksum/SHA384/182 1071s ok 1295 /checksum/SHA384/183 1071s ok 1296 /checksum/SHA384/string 1071s ok 1297 /checksum/SHA384/bytes 1071s # Start of reset tests 1071s ok 1298 /checksum/SHA384/reset/0 1071s ok 1299 /checksum/SHA384/reset/1 1071s ok 1300 /checksum/SHA384/reset/2 1071s ok 1301 /checksum/SHA384/reset/3 1071s ok 1302 /checksum/SHA384/reset/4 1071s ok 1303 /checksum/SHA384/reset/5 1071s ok 1304 /checksum/SHA384/reset/6 1071s ok 1305 /checksum/SHA384/reset/7 1071s ok 1306 /checksum/SHA384/reset/8 1071s ok 1307 /checksum/SHA384/reset/9 1071s ok 1308 /checksum/SHA384/reset/10 1071s ok 1309 /checksum/SHA384/reset/11 1071s ok 1310 /checksum/SHA384/reset/12 1071s ok 1311 /checksum/SHA384/reset/13 1071s ok 1312 /checksum/SHA384/reset/14 1071s ok 1313 /checksum/SHA384/reset/15 1071s ok 1314 /checksum/SHA384/reset/16 1071s ok 1315 /checksum/SHA384/reset/17 1071s ok 1316 /checksum/SHA384/reset/18 1071s ok 1317 /checksum/SHA384/reset/19 1071s ok 1318 /checksum/SHA384/reset/20 1071s ok 1319 /checksum/SHA384/reset/21 1071s ok 1320 /checksum/SHA384/reset/22 1071s ok 1321 /checksum/SHA384/reset/23 1071s ok 1322 /checksum/SHA384/reset/24 1071s ok 1323 /checksum/SHA384/reset/25 1071s ok 1324 /checksum/SHA384/reset/26 1071s ok 1325 /checksum/SHA384/reset/27 1071s ok 1326 /checksum/SHA384/reset/28 1071s ok 1327 /checksum/SHA384/reset/29 1071s ok 1328 /checksum/SHA384/reset/30 1071s ok 1329 /checksum/SHA384/reset/31 1071s ok 1330 /checksum/SHA384/reset/32 1071s ok 1331 /checksum/SHA384/reset/33 1071s ok 1332 /checksum/SHA384/reset/34 1071s ok 1333 /checksum/SHA384/reset/35 1071s ok 1334 /checksum/SHA384/reset/36 1071s ok 1335 /checksum/SHA384/reset/37 1071s ok 1336 /checksum/SHA384/reset/38 1071s ok 1337 /checksum/SHA384/reset/39 1071s ok 1338 /checksum/SHA384/reset/40 1071s ok 1339 /checksum/SHA384/reset/41 1071s ok 1340 /checksum/SHA384/reset/42 1071s ok 1341 /checksum/SHA384/reset/43 1071s ok 1342 /checksum/SHA384/reset/44 1071s ok 1343 /checksum/SHA384/reset/45 1071s ok 1344 /checksum/SHA384/reset/46 1071s ok 1345 /checksum/SHA384/reset/47 1071s ok 1346 /checksum/SHA384/reset/48 1071s ok 1347 /checksum/SHA384/reset/49 1071s ok 1348 /checksum/SHA384/reset/50 1071s ok 1349 /checksum/SHA384/reset/51 1071s ok 1350 /checksum/SHA384/reset/52 1071s ok 1351 /checksum/SHA384/reset/53 1071s ok 1352 /checksum/SHA384/reset/54 1071s ok 1353 /checksum/SHA384/reset/55 1071s ok 1354 /checksum/SHA384/reset/56 1071s ok 1355 /checksum/SHA384/reset/57 1071s ok 1356 /checksum/SHA384/reset/58 1071s ok 1357 /checksum/SHA384/reset/59 1071s ok 1358 /checksum/SHA384/reset/60 1071s ok 1359 /checksum/SHA384/reset/61 1071s ok 1360 /checksum/SHA384/reset/62 1071s ok 1361 /checksum/SHA384/reset/63 1071s ok 1362 /checksum/SHA384/reset/64 1071s ok 1363 /checksum/SHA384/reset/65 1071s ok 1364 /checksum/SHA384/reset/66 1071s ok 1365 /checksum/SHA384/reset/67 1071s ok 1366 /checksum/SHA384/reset/68 1071s ok 1367 /checksum/SHA384/reset/69 1071s ok 1368 /checksum/SHA384/reset/70 1071s ok 1369 /checksum/SHA384/reset/71 1071s ok 1370 /checksum/SHA384/reset/72 1071s ok 1371 /checksum/SHA384/reset/73 1071s ok 1372 /checksum/SHA384/reset/74 1071s ok 1373 /checksum/SHA384/reset/75 1071s ok 1374 /checksum/SHA384/reset/76 1071s ok 1375 /checksum/SHA384/reset/77 1071s ok 1376 /checksum/SHA384/reset/78 1071s ok 1377 /checksum/SHA384/reset/79 1071s ok 1378 /checksum/SHA384/reset/80 1071s ok 1379 /checksum/SHA384/reset/81 1071s ok 1380 /checksum/SHA384/reset/82 1071s ok 1381 /checksum/SHA384/reset/83 1071s ok 1382 /checksum/SHA384/reset/84 1071s ok 1383 /checksum/SHA384/reset/85 1071s ok 1384 /checksum/SHA384/reset/86 1071s ok 1385 /checksum/SHA384/reset/87 1071s ok 1386 /checksum/SHA384/reset/88 1071s ok 1387 /checksum/SHA384/reset/89 1071s ok 1388 /checksum/SHA384/reset/90 1071s ok 1389 /checksum/SHA384/reset/91 1071s ok 1390 /checksum/SHA384/reset/92 1071s ok 1391 /checksum/SHA384/reset/93 1071s ok 1392 /checksum/SHA384/reset/94 1071s ok 1393 /checksum/SHA384/reset/95 1071s ok 1394 /checksum/SHA384/reset/96 1071s ok 1395 /checksum/SHA384/reset/97 1071s ok 1396 /checksum/SHA384/reset/98 1071s ok 1397 /checksum/SHA384/reset/99 1071s ok 1398 /checksum/SHA384/reset/100 1071s ok 1399 /checksum/SHA384/reset/101 1071s ok 1400 /checksum/SHA384/reset/102 1071s ok 1401 /checksum/SHA384/reset/103 1071s ok 1402 /checksum/SHA384/reset/104 1071s ok 1403 /checksum/SHA384/reset/105 1071s ok 1404 /checksum/SHA384/reset/106 1071s ok 1405 /checksum/SHA384/reset/107 1071s ok 1406 /checksum/SHA384/reset/108 1071s ok 1407 /checksum/SHA384/reset/109 1071s ok 1408 /checksum/SHA384/reset/110 1071s ok 1409 /checksum/SHA384/reset/111 1071s ok 1410 /checksum/SHA384/reset/112 1071s ok 1411 /checksum/SHA384/reset/113 1071s ok 1412 /checksum/SHA384/reset/114 1071s ok 1413 /checksum/SHA384/reset/115 1071s ok 1414 /checksum/SHA384/reset/116 1071s ok 1415 /checksum/SHA384/reset/117 1071s ok 1416 /checksum/SHA384/reset/118 1071s ok 1417 /checksum/SHA384/reset/119 1071s ok 1418 /checksum/SHA384/reset/120 1071s ok 1419 /checksum/SHA384/reset/121 1071s ok 1420 /checksum/SHA384/reset/122 1071s ok 1421 /checksum/SHA384/reset/123 1071s ok 1422 /checksum/SHA384/reset/124 1071s ok 1423 /checksum/SHA384/reset/125 1071s ok 1424 /checksum/SHA384/reset/126 1071s ok 1425 /checksum/SHA384/reset/127 1071s ok 1426 /checksum/SHA384/reset/128 1071s ok 1427 /checksum/SHA384/reset/129 1071s ok 1428 /checksum/SHA384/reset/130 1071s ok 1429 /checksum/SHA384/reset/131 1071s ok 1430 /checksum/SHA384/reset/132 1071s ok 1431 /checksum/SHA384/reset/133 1071s ok 1432 /checksum/SHA384/reset/134 1071s ok 1433 /checksum/SHA384/reset/135 1071s ok 1434 /checksum/SHA384/reset/136 1071s ok 1435 /checksum/SHA384/reset/137 1071s ok 1436 /checksum/SHA384/reset/138 1071s ok 1437 /checksum/SHA384/reset/139 1071s ok 1438 /checksum/SHA384/reset/140 1071s ok 1439 /checksum/SHA384/reset/141 1071s ok 1440 /checksum/SHA384/reset/142 1071s ok 1441 /checksum/SHA384/reset/143 1071s ok 1442 /checksum/SHA384/reset/144 1071s ok 1443 /checksum/SHA384/reset/145 1071s ok 1444 /checksum/SHA384/reset/146 1071s ok 1445 /checksum/SHA384/reset/147 1071s ok 1446 /checksum/SHA384/reset/148 1071s ok 1447 /checksum/SHA384/reset/149 1071s ok 1448 /checksum/SHA384/reset/150 1071s ok 1449 /checksum/SHA384/reset/151 1071s ok 1450 /checksum/SHA384/reset/152 1071s ok 1451 /checksum/SHA384/reset/153 1071s ok 1452 /checksum/SHA384/reset/154 1071s ok 1453 /checksum/SHA384/reset/155 1071s ok 1454 /checksum/SHA384/reset/156 1071s ok 1455 /checksum/SHA384/reset/157 1071s ok 1456 /checksum/SHA384/reset/158 1071s ok 1457 /checksum/SHA384/reset/159 1071s ok 1458 /checksum/SHA384/reset/160 1071s ok 1459 /checksum/SHA384/reset/161 1071s ok 1460 /checksum/SHA384/reset/162 1071s ok 1461 /checksum/SHA384/reset/163 1071s ok 1462 /checksum/SHA384/reset/164 1071s ok 1463 /checksum/SHA384/reset/165 1071s ok 1464 /checksum/SHA384/reset/166 1071s ok 1465 /checksum/SHA384/reset/167 1071s ok 1466 /checksum/SHA384/reset/168 1071s ok 1467 /checksum/SHA384/reset/169 1071s ok 1468 /checksum/SHA384/reset/170 1071s ok 1469 /checksum/SHA384/reset/171 1071s ok 1470 /checksum/SHA384/reset/172 1071s ok 1471 /checksum/SHA384/reset/173 1071s ok 1472 /checksum/SHA384/reset/174 1071s ok 1473 /checksum/SHA384/reset/175 1071s ok 1474 /checksum/SHA384/reset/176 1071s ok 1475 /checksum/SHA384/reset/177 1071s ok 1476 /checksum/SHA384/reset/178 1071s ok 1477 /checksum/SHA384/reset/179 1071s ok 1478 /checksum/SHA384/reset/180 1071s ok 1479 /checksum/SHA384/reset/181 1071s ok 1480 /checksum/SHA384/reset/182 1071s ok 1481 /checksum/SHA384/reset/183 1071s # End of reset tests 1071s # End of SHA384 tests 1071s # Start of SHA512 tests 1071s ok 1482 /checksum/SHA512/0 1071s ok 1483 /checksum/SHA512/1 1071s ok 1484 /checksum/SHA512/2 1071s ok 1485 /checksum/SHA512/3 1071s ok 1486 /checksum/SHA512/4 1071s ok 1487 /checksum/SHA512/5 1071s ok 1488 /checksum/SHA512/6 1071s ok 1489 /checksum/SHA512/7 1071s ok 1490 /checksum/SHA512/8 1071s ok 1491 /checksum/SHA512/9 1071s ok 1492 /checksum/SHA512/10 1071s ok 1493 /checksum/SHA512/11 1071s ok 1494 /checksum/SHA512/12 1071s ok 1495 /checksum/SHA512/13 1071s ok 1496 /checksum/SHA512/14 1071s ok 1497 /checksum/SHA512/15 1071s ok 1498 /checksum/SHA512/16 1071s ok 1499 /checksum/SHA512/17 1071s ok 1500 /checksum/SHA512/18 1071s ok 1501 /checksum/SHA512/19 1071s ok 1502 /checksum/SHA512/20 1071s ok 1503 /checksum/SHA512/21 1071s ok 1504 /checksum/SHA512/22 1071s ok 1505 /checksum/SHA512/23 1071s ok 1506 /checksum/SHA512/24 1071s ok 1507 /checksum/SHA512/25 1071s ok 1508 /checksum/SHA512/26 1071s ok 1509 /checksum/SHA512/27 1071s ok 1510 /checksum/SHA512/28 1071s ok 1511 /checksum/SHA512/29 1071s ok 1512 /checksum/SHA512/30 1071s ok 1513 /checksum/SHA512/31 1071s ok 1514 /checksum/SHA512/32 1071s ok 1515 /checksum/SHA512/33 1071s ok 1516 /checksum/SHA512/34 1071s ok 1517 /checksum/SHA512/35 1071s ok 1518 /checksum/SHA512/36 1071s ok 1519 /checksum/SHA512/37 1071s ok 1520 /checksum/SHA512/38 1071s ok 1521 /checksum/SHA512/39 1071s ok 1522 /checksum/SHA512/40 1071s ok 1523 /checksum/SHA512/41 1071s ok 1524 /checksum/SHA512/42 1071s ok 1525 /checksum/SHA512/43 1071s ok 1526 /checksum/SHA512/44 1071s ok 1527 /checksum/SHA512/45 1071s ok 1528 /checksum/SHA512/46 1071s ok 1529 /checksum/SHA512/47 1071s ok 1530 /checksum/SHA512/48 1071s ok 1531 /checksum/SHA512/49 1071s ok 1532 /checksum/SHA512/50 1071s ok 1533 /checksum/SHA512/51 1071s ok 1534 /checksum/SHA512/52 1071s ok 1535 /checksum/SHA512/53 1071s ok 1536 /checksum/SHA512/54 1071s ok 1537 /checksum/SHA512/55 1071s ok 1538 /checksum/SHA512/56 1071s ok 1539 /checksum/SHA512/57 1071s ok 1540 /checksum/SHA512/58 1071s ok 1541 /checksum/SHA512/59 1071s ok 1542 /checksum/SHA512/60 1071s ok 1543 /checksum/SHA512/61 1071s ok 1544 /checksum/SHA512/62 1071s ok 1545 /checksum/SHA512/63 1071s ok 1546 /checksum/SHA512/64 1071s ok 1547 /checksum/SHA512/65 1071s ok 1548 /checksum/SHA512/66 1071s ok 1549 /checksum/SHA512/67 1071s ok 1550 /checksum/SHA512/68 1071s ok 1551 /checksum/SHA512/69 1071s ok 1552 /checksum/SHA512/70 1071s ok 1553 /checksum/SHA512/71 1071s ok 1554 /checksum/SHA512/72 1071s ok 1555 /checksum/SHA512/73 1071s ok 1556 /checksum/SHA512/74 1071s ok 1557 /checksum/SHA512/75 1071s ok 1558 /checksum/SHA512/76 1071s ok 1559 /checksum/SHA512/77 1071s ok 1560 /checksum/SHA512/78 1071s ok 1561 /checksum/SHA512/79 1071s ok 1562 /checksum/SHA512/80 1071s ok 1563 /checksum/SHA512/81 1071s ok 1564 /checksum/SHA512/82 1071s ok 1565 /checksum/SHA512/83 1071s ok 1566 /checksum/SHA512/84 1071s ok 1567 /checksum/SHA512/85 1071s ok 1568 /checksum/SHA512/86 1071s ok 1569 /checksum/SHA512/87 1071s ok 1570 /checksum/SHA512/88 1071s ok 1571 /checksum/SHA512/89 1071s ok 1572 /checksum/SHA512/90 1071s ok 1573 /checksum/SHA512/91 1071s ok 1574 /checksum/SHA512/92 1071s ok 1575 /checksum/SHA512/93 1071s ok 1576 /checksum/SHA512/94 1071s ok 1577 /checksum/SHA512/95 1071s ok 1578 /checksum/SHA512/96 1071s ok 1579 /checksum/SHA512/97 1071s ok 1580 /checksum/SHA512/98 1071s ok 1581 /checksum/SHA512/99 1071s ok 1582 /checksum/SHA512/100 1071s ok 1583 /checksum/SHA512/101 1071s ok 1584 /checksum/SHA512/102 1071s ok 1585 /checksum/SHA512/103 1071s ok 1586 /checksum/SHA512/104 1071s ok 1587 /checksum/SHA512/105 1071s ok 1588 /checksum/SHA512/106 1071s ok 1589 /checksum/SHA512/107 1071s ok 1590 /checksum/SHA512/108 1071s ok 1591 /checksum/SHA512/109 1071s ok 1592 /checksum/SHA512/110 1071s ok 1593 /checksum/SHA512/111 1071s ok 1594 /checksum/SHA512/112 1071s ok 1595 /checksum/SHA512/113 1071s ok 1596 /checksum/SHA512/114 1071s ok 1597 /checksum/SHA512/115 1071s ok 1598 /checksum/SHA512/116 1071s ok 1599 /checksum/SHA512/117 1071s ok 1600 /checksum/SHA512/118 1071s ok 1601 /checksum/SHA512/119 1071s ok 1602 /checksum/SHA512/120 1071s ok 1603 /checksum/SHA512/121 1071s ok 1604 /checksum/SHA512/122 1071s ok 1605 /checksum/SHA512/123 1071s ok 1606 /checksum/SHA512/124 1071s ok 1607 /checksum/SHA512/125 1071s ok 1608 /checksum/SHA512/126 1071s ok 1609 /checksum/SHA512/127 1071s ok 1610 /checksum/SHA512/128 1071s ok 1611 /checksum/SHA512/129 1071s ok 1612 /checksum/SHA512/130 1071s ok 1613 /checksum/SHA512/131 1071s ok 1614 /checksum/SHA512/132 1071s ok 1615 /checksum/SHA512/133 1071s ok 1616 /checksum/SHA512/134 1071s ok 1617 /checksum/SHA512/135 1071s ok 1618 /checksum/SHA512/136 1071s ok 1619 /checksum/SHA512/137 1071s ok 1620 /checksum/SHA512/138 1071s ok 1621 /checksum/SHA512/139 1071s ok 1622 /checksum/SHA512/140 1071s ok 1623 /checksum/SHA512/141 1071s ok 1624 /checksum/SHA512/142 1071s ok 1625 /checksum/SHA512/143 1071s ok 1626 /checksum/SHA512/144 1071s ok 1627 /checksum/SHA512/145 1071s ok 1628 /checksum/SHA512/146 1071s ok 1629 /checksum/SHA512/147 1071s ok 1630 /checksum/SHA512/148 1071s ok 1631 /checksum/SHA512/149 1071s ok 1632 /checksum/SHA512/150 1071s ok 1633 /checksum/SHA512/151 1071s ok 1634 /checksum/SHA512/152 1071s ok 1635 /checksum/SHA512/153 1071s ok 1636 /checksum/SHA512/154 1071s ok 1637 /checksum/SHA512/155 1071s ok 1638 /checksum/SHA512/156 1071s ok 1639 /checksum/SHA512/157 1071s ok 1640 /checksum/SHA512/158 1071s ok 1641 /checksum/SHA512/159 1071s ok 1642 /checksum/SHA512/160 1071s ok 1643 /checksum/SHA512/161 1071s ok 1644 /checksum/SHA512/162 1071s ok 1645 /checksum/SHA512/163 1071s ok 1646 /checksum/SHA512/164 1071s ok 1647 /checksum/SHA512/165 1071s ok 1648 /checksum/SHA512/166 1071s ok 1649 /checksum/SHA512/167 1071s ok 1650 /checksum/SHA512/168 1071s ok 1651 /checksum/SHA512/169 1071s ok 1652 /checksum/SHA512/170 1071s ok 1653 /checksum/SHA512/171 1071s ok 1654 /checksum/SHA512/172 1071s ok 1655 /checksum/SHA512/173 1071s ok 1656 /checksum/SHA512/174 1071s ok 1657 /checksum/SHA512/175 1071s ok 1658 /checksum/SHA512/176 1071s ok 1659 /checksum/SHA512/177 1071s ok 1660 /checksum/SHA512/178 1071s ok 1661 /checksum/SHA512/179 1071s ok 1662 /checksum/SHA512/180 1071s ok 1663 /checksum/SHA512/181 1071s ok 1664 /checksum/SHA512/182 1071s ok 1665 /checksum/SHA512/183 1071s ok 1666 /checksum/SHA512/string 1071s ok 1667 /checksum/SHA512/bytes 1071s # Start of reset tests 1071s ok 1668 /checksum/SHA512/reset/0 1071s ok 1669 /checksum/SHA512/reset/1 1071s ok 1670 /checksum/SHA512/reset/2 1071s ok 1671 /checksum/SHA512/reset/3 1071s ok 1672 /checksum/SHA512/reset/4 1071s ok 1673 /checksum/SHA512/reset/5 1071s ok 1674 /checksum/SHA512/reset/6 1071s ok 1675 /checksum/SHA512/reset/7 1071s ok 1676 /checksum/SHA512/reset/8 1071s ok 1677 /checksum/SHA512/reset/9 1071s ok 1678 /checksum/SHA512/reset/10 1071s ok 1679 /checksum/SHA512/reset/11 1071s ok 1680 /checksum/SHA512/reset/12 1071s ok 1681 /checksum/SHA512/reset/13 1071s ok 1682 /checksum/SHA512/reset/14 1071s ok 1683 /checksum/SHA512/reset/15 1071s ok 1684 /checksum/SHA512/reset/16 1071s ok 1685 /checksum/SHA512/reset/17 1071s ok 1686 /checksum/SHA512/reset/18 1071s ok 1687 /checksum/SHA512/reset/19 1071s ok 1688 /checksum/SHA512/reset/20 1071s ok 1689 /checksum/SHA512/reset/21 1071s ok 1690 /checksum/SHA512/reset/22 1071s ok 1691 /checksum/SHA512/reset/23 1071s ok 1692 /checksum/SHA512/reset/24 1071s ok 1693 /checksum/SHA512/reset/25 1071s ok 1694 /checksum/SHA512/reset/26 1071s ok 1695 /checksum/SHA512/reset/27 1071s ok 1696 /checksum/SHA512/reset/28 1071s ok 1697 /checksum/SHA512/reset/29 1071s ok 1698 /checksum/SHA512/reset/30 1071s ok 1699 /checksum/SHA512/reset/31 1071s ok 1700 /checksum/SHA512/reset/32 1071s ok 1701 /checksum/SHA512/reset/33 1071s ok 1702 /checksum/SHA512/reset/34 1071s ok 1703 /checksum/SHA512/reset/35 1071s ok 1704 /checksum/SHA512/reset/36 1071s ok 1705 /checksum/SHA512/reset/37 1071s ok 1706 /checksum/SHA512/reset/38 1071s ok 1707 /checksum/SHA512/reset/39 1071s ok 1708 /checksum/SHA512/reset/40 1071s ok 1709 /checksum/SHA512/reset/41 1071s ok 1710 /checksum/SHA512/reset/42 1071s ok 1711 /checksum/SHA512/reset/43 1071s ok 1712 /checksum/SHA512/reset/44 1071s ok 1713 /checksum/SHA512/reset/45 1071s ok 1714 /checksum/SHA512/reset/46 1071s ok 1715 /checksum/SHA512/reset/47 1071s ok 1716 /checksum/SHA512/reset/48 1071s ok 1717 /checksum/SHA512/reset/49 1071s ok 1718 /checksum/SHA512/reset/50 1071s ok 1719 /checksum/SHA512/reset/51 1071s ok 1720 /checksum/SHA512/reset/52 1071s ok 1721 /checksum/SHA512/reset/53 1071s ok 1722 /checksum/SHA512/reset/54 1071s ok 1723 /checksum/SHA512/reset/55 1071s ok 1724 /checksum/SHA512/reset/56 1071s ok 1725 /checksum/SHA512/reset/57 1071s ok 1726 /checksum/SHA512/reset/58 1071s ok 1727 /checksum/SHA512/reset/59 1071s ok 1728 /checksum/SHA512/reset/60 1071s ok 1729 /checksum/SHA512/reset/61 1071s ok 1730 /checksum/SHA512/reset/62 1071s ok 1731 /checksum/SHA512/reset/63 1071s ok 1732 /checksum/SHA512/reset/64 1071s ok 1733 /checksum/SHA512/reset/65 1071s ok 1734 /checksum/SHA512/reset/66 1071s ok 1735 /checksum/SHA512/reset/67 1071s ok 1736 /checksum/SHA512/reset/68 1071s ok 1737 /checksum/SHA512/reset/69 1071s ok 1738 /checksum/SHA512/reset/70 1071s ok 1739 /checksum/SHA512/reset/71 1071s ok 1740 /checksum/SHA512/reset/72 1071s ok 1741 /checksum/SHA512/reset/73 1071s ok 1742 /checksum/SHA512/reset/74 1071s ok 1743 /checksum/SHA512/reset/75 1071s ok 1744 /checksum/SHA512/reset/76 1071s ok 1745 /checksum/SHA512/reset/77 1071s ok 1746 /checksum/SHA512/reset/78 1071s ok 1747 /checksum/SHA512/reset/79 1071s ok 1748 /checksum/SHA512/reset/80 1071s ok 1749 /checksum/SHA512/reset/81 1071s ok 1750 /checksum/SHA512/reset/82 1071s ok 1751 /checksum/SHA512/reset/83 1071s ok 1752 /checksum/SHA512/reset/84 1071s ok 1753 /checksum/SHA512/reset/85 1071s ok 1754 /checksum/SHA512/reset/86 1071s ok 1755 /checksum/SHA512/reset/87 1071s ok 1756 /checksum/SHA512/reset/88 1071s ok 1757 /checksum/SHA512/reset/89 1071s ok 1758 /checksum/SHA512/reset/90 1071s ok 1759 /checksum/SHA512/reset/91 1071s ok 1760 /checksum/SHA512/reset/92 1071s ok 1761 /checksum/SHA512/reset/93 1071s ok 1762 /checksum/SHA512/reset/94 1071s ok 1763 /checksum/SHA512/reset/95 1071s ok 1764 /checksum/SHA512/reset/96 1071s ok 1765 /checksum/SHA512/reset/97 1071s ok 1766 /checksum/SHA512/reset/98 1071s ok 1767 /checksum/SHA512/reset/99 1071s ok 1768 /checksum/SHA512/reset/100 1071s ok 1769 /checksum/SHA512/reset/101 1071s ok 1770 /checksum/SHA512/reset/102 1071s ok 1771 /checksum/SHA512/reset/103 1071s ok 1772 /checksum/SHA512/reset/104 1071s ok 1773 /checksum/SHA512/reset/105 1071s ok 1774 /checksum/SHA512/reset/106 1071s ok 1775 /checksum/SHA512/reset/107 1071s ok 1776 /checksum/SHA512/reset/108 1071s ok 1777 /checksum/SHA512/reset/109 1071s ok 1778 /checksum/SHA512/reset/110 1071s ok 1779 /checksum/SHA512/reset/111 1071s ok 1780 /checksum/SHA512/reset/112 1071s ok 1781 /checksum/SHA512/reset/113 1071s ok 1782 /checksum/SHA512/reset/114 1071s ok 1783 /checksum/SHA512/reset/115 1071s ok 1784 /checksum/SHA512/reset/116 1071s ok 1785 /checksum/SHA512/reset/117 1071s ok 1786 /checksum/SHA512/reset/118 1071s ok 1787 /checksum/SHA512/reset/119 1071s ok 1788 /checksum/SHA512/reset/120 1071s ok 1789 /checksum/SHA512/reset/121 1071s ok 1790 /checksum/SHA512/reset/122 1071s ok 1791 /checksum/SHA512/reset/123 1071s ok 1792 /checksum/SHA512/reset/124 1071s ok 1793 /checksum/SHA512/reset/125 1071s ok 1794 /checksum/SHA512/reset/126 1071s ok 1795 /checksum/SHA512/reset/127 1071s ok 1796 /checksum/SHA512/reset/128 1071s ok 1797 /checksum/SHA512/reset/129 1071s ok 1798 /checksum/SHA512/reset/130 1071s ok 1799 /checksum/SHA512/reset/131 1071s ok 1800 /checksum/SHA512/reset/132 1071s ok 1801 /checksum/SHA512/reset/133 1071s ok 1802 /checksum/SHA512/reset/134 1071s ok 1803 /checksum/SHA512/reset/135 1071s ok 1804 /checksum/SHA512/reset/136 1071s ok 1805 /checksum/SHA512/reset/137 1071s ok 1806 /checksum/SHA512/reset/138 1071s ok 1807 /checksum/SHA512/reset/139 1071s ok 1808 /checksum/SHA512/reset/140 1071s ok 1809 /checksum/SHA512/reset/141 1071s ok 1810 /checksum/SHA512/reset/142 1071s ok 1811 /checksum/SHA512/reset/143 1071s ok 1812 /checksum/SHA512/reset/144 1071s ok 1813 /checksum/SHA512/reset/145 1071s ok 1814 /checksum/SHA512/reset/146 1071s ok 1815 /checksum/SHA512/reset/147 1071s ok 1816 /checksum/SHA512/reset/148 1071s ok 1817 /checksum/SHA512/reset/149 1071s ok 1818 /checksum/SHA512/reset/150 1071s ok 1819 /checksum/SHA512/reset/151 1071s ok 1820 /checksum/SHA512/reset/152 1071s ok 1821 /checksum/SHA512/reset/153 1071s ok 1822 /checksum/SHA512/reset/154 1071s ok 1823 /checksum/SHA512/reset/155 1071s ok 1824 /checksum/SHA512/reset/156 1071s ok 1825 /checksum/SHA512/reset/157 1071s ok 1826 /checksum/SHA512/reset/158 1071s ok 1827 /checksum/SHA512/reset/159 1071s ok 1828 /checksum/SHA512/reset/160 1071s ok 1829 /checksum/SHA512/reset/161 1071s ok 1830 /checksum/SHA512/reset/162 1071s ok 1831 /checksum/SHA512/reset/163 1071s ok 1832 /checksum/SHA512/reset/164 1071s ok 1833 /checksum/SHA512/reset/165 1071s ok 1834 /checksum/SHA512/reset/166 1071s ok 1835 /checksum/SHA512/reset/167 1071s ok 1836 /checksum/SHA512/reset/168 1071s ok 1837 /checksum/SHA512/reset/169 1071s ok 1838 /checksum/SHA512/reset/170 1071s ok 1839 /checksum/SHA512/reset/171 1071s ok 1840 /checksum/SHA512/reset/172 1071s ok 1841 /checksum/SHA512/reset/173 1071s ok 1842 /checksum/SHA512/reset/174 1071s ok 1843 /checksum/SHA512/reset/175 1071s ok 1844 /checksum/SHA512/reset/176 1071s ok 1845 /checksum/SHA512/reset/177 1071s ok 1846 /checksum/SHA512/reset/178 1071s ok 1847 /checksum/SHA512/reset/179 1071s ok 1848 /checksum/SHA512/reset/180 1071s ok 1849 /checksum/SHA512/reset/181 1071s ok 1850 /checksum/SHA512/reset/182 1071s ok 1851 /checksum/SHA512/reset/183 1071s # End of reset tests 1071s # End of SHA512 tests 1071s # End of checksum tests 1071s ok - glib/checksum.test 1071s # Running test: glib/thumbnail-verification.test 1071s TAP version 13 1071s # random seed: R02Sae4358d865451753009c18800858efe8 1071s 1..1 1071s # Start of png-thumbs tests 1071s ok 1 /png-thumbs/validity 1071s # End of png-thumbs tests 1071s ok - glib/thumbnail-verification.test 1071s # Running test: glib/static-link.test 1071s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 1071s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 1071s and make sure you have glib build dependencies installed, including 1071s meson. 1071s ok # SKIP - glib/static-link.test 1071s # Running test: glib/unix-mounts.test 1071s TAP version 13 1071s # random seed: R02S6de725802a44bbf081d152fe98b3325f 1071s 1..2 1071s # Start of unix-mounts tests 1071s ok 1 /unix-mounts/is-system-fs-type 1071s ok 2 /unix-mounts/is-system-device-path 1071s # End of unix-mounts tests 1071s ok - glib/unix-mounts.test 1071s # Running test: glib/ifaceproperties.test 1071s TAP version 13 1071s # random seed: R02S5b0f8d4286fab755b3c3b9d7fd989920 1071s 1..7 1071s # Start of interface tests 1071s # Start of properties tests 1071s ok 1 /interface/properties/set 1071s ok 2 /interface/properties/notify 1071s ok 3 /interface/properties/find-overridden 1071s ok 4 /interface/properties/list-overridden 1071s ok 5 /interface/properties/find-interface 1071s ok 6 /interface/properties/list-interface 1071s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1071s ok 7 /interface/properties/not-overridden 1071s # End of properties tests 1071s # End of interface tests 1071s ok - glib/ifaceproperties.test 1071s # Running test: glib/gdbus-export.test 1071s TAP version 13 1071s # random seed: R02Se4794ea6ea933cca1701f5bc18e34289 1071s 1..6 1071s # Start of gdbus tests 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/object-registration/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/object-registration/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_7BV1K2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_7BV1K2/gdbus/object-registration/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/object-registration/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_7BV1K2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_7BV1K2/gdbus/object-registration/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/object-registration/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/object-registration/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_7BV1K2/gdbus/object-registration/.dirs/runtime 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s ok 1 /gdbus/object-registration 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/object-registration-with-closures/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/object-registration-with-closures/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_7BV1K2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_7BV1K2/gdbus/object-registration-with-closures/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/object-registration-with-closures/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_7BV1K2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_7BV1K2/gdbus/object-registration-with-closures/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/object-registration-with-closures/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/object-registration-with-closures/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_7BV1K2/gdbus/object-registration-with-closures/.dirs/runtime 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s ok 2 /gdbus/object-registration-with-closures 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/registered-interfaces/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/registered-interfaces/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_7BV1K2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_7BV1K2/gdbus/registered-interfaces/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/registered-interfaces/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_7BV1K2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_7BV1K2/gdbus/registered-interfaces/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/registered-interfaces/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/registered-interfaces/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_7BV1K2/gdbus/registered-interfaces/.dirs/runtime 1071s ok 3 /gdbus/registered-interfaces 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/async-properties/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/async-properties/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_7BV1K2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_7BV1K2/gdbus/async-properties/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/async-properties/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_7BV1K2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_7BV1K2/gdbus/async-properties/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/async-properties/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/async-properties/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_7BV1K2/gdbus/async-properties/.dirs/runtime 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s ok 4 /gdbus/async-properties 1071s # Start of threaded-unregistration tests 1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/threaded-unregistration/object/.dirs/home 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/threaded-unregistration/object/.dirs/cache 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_7BV1K2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_7BV1K2/gdbus/threaded-unregistration/object/.dirs/system-config2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/threaded-unregistration/object/.dirs/config 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_7BV1K2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_7BV1K2/gdbus/threaded-unregistration/object/.dirs/system-data2 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/threaded-unregistration/object/.dirs/data 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/threaded-unregistration/object/.dirs/state 1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_7BV1K2/gdbus/threaded-unregistration/object/.dirs/runtime 1071s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1071s # /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 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1071s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 1072s # slow test /gdbus/threaded-unregistration/object executed in 1.16 secs 1072s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/threaded-unregistration/subtree/.dirs/home 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/threaded-unregistration/subtree/.dirs/cache 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_7BV1K2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_7BV1K2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/threaded-unregistration/subtree/.dirs/config 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_7BV1K2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_7BV1K2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/threaded-unregistration/subtree/.dirs/data 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_7BV1K2/gdbus/threaded-unregistration/subtree/.dirs/state 1072s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_7BV1K2/gdbus/threaded-unregistration/subtree/.dirs/runtime 1072s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1072s # /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 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1072s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1073s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 1073s # slow test /gdbus/threaded-unregistration/subtree executed in 1.05 secs 1073s # End of threaded-unregistration tests 1073s # End of gdbus tests 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1073s ok - glib/gdbus-export.test 1073s # Running test: glib/resolver-parsing.test 1073s TAP version 13 1073s # random seed: R02Sf23c478b2e4a8f8423ad76245eb6931a 1073s 1..20 1073s # Start of gresolver tests 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/invalid-header/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/invalid-header/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_4E5IK2/gresolver/invalid-header/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/invalid-header/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_4E5IK2/gresolver/invalid-header/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/invalid-header/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/invalid-header/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4E5IK2/gresolver/invalid-header/.dirs/runtime 1073s ok 1 /gresolver/invalid-header 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/unknown-record-type/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/unknown-record-type/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_4E5IK2/gresolver/unknown-record-type/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/unknown-record-type/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_4E5IK2/gresolver/unknown-record-type/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/unknown-record-type/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/unknown-record-type/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4E5IK2/gresolver/unknown-record-type/.dirs/runtime 1073s # GLib-GIO-DEBUG: Unrecognised DNS record type 20 1073s ok 2 /gresolver/unknown-record-type 1073s # Start of mx tests 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/valid/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/valid/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_4E5IK2/gresolver/mx/valid/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/valid/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_4E5IK2/gresolver/mx/valid/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/valid/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/valid/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/valid/.dirs/runtime 1073s ok 3 /gresolver/mx/valid 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/.dirs/runtime 1073s ok 4 /gresolver/mx/invalid 1073s # Start of invalid tests 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/too-short/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/too-short/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/too-short/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/too-short/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/too-short/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/too-short/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/too-short/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/too-short/.dirs/runtime 1073s ok 5 /gresolver/mx/invalid/too-short 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/too-short2/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/too-short2/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/too-short2/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/too-short2/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/too-short2/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/too-short2/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/too-short2/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4E5IK2/gresolver/mx/invalid/too-short2/.dirs/runtime 1073s ok 6 /gresolver/mx/invalid/too-short2 1073s # End of invalid tests 1073s # End of mx tests 1073s # Start of ns tests 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/ns/valid/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/ns/valid/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_4E5IK2/gresolver/ns/valid/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/ns/valid/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_4E5IK2/gresolver/ns/valid/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/ns/valid/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/ns/valid/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4E5IK2/gresolver/ns/valid/.dirs/runtime 1073s ok 7 /gresolver/ns/valid 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/ns/invalid/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/ns/invalid/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_4E5IK2/gresolver/ns/invalid/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/ns/invalid/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_4E5IK2/gresolver/ns/invalid/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/ns/invalid/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/ns/invalid/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4E5IK2/gresolver/ns/invalid/.dirs/runtime 1073s ok 8 /gresolver/ns/invalid 1073s # End of ns tests 1073s # Start of soa tests 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/valid/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/valid/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_4E5IK2/gresolver/soa/valid/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/valid/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_4E5IK2/gresolver/soa/valid/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/valid/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/valid/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/valid/.dirs/runtime 1073s ok 9 /gresolver/soa/valid 1073s # Start of invalid tests 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/mname/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/mname/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/mname/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/mname/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/mname/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/mname/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/mname/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/mname/.dirs/runtime 1073s ok 10 /gresolver/soa/invalid/mname 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/rname/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/rname/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/rname/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/rname/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/rname/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/rname/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/rname/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/rname/.dirs/runtime 1073s ok 11 /gresolver/soa/invalid/rname 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/too-short/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/too-short/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/too-short/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/too-short/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/too-short/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/too-short/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/too-short/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4E5IK2/gresolver/soa/invalid/too-short/.dirs/runtime 1073s ok 12 /gresolver/soa/invalid/too-short 1073s # End of invalid tests 1073s # End of soa tests 1073s # Start of srv tests 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/valid/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/valid/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_4E5IK2/gresolver/srv/valid/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/valid/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_4E5IK2/gresolver/srv/valid/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/valid/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/valid/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/valid/.dirs/runtime 1073s ok 13 /gresolver/srv/valid 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/.dirs/runtime 1073s ok 14 /gresolver/srv/invalid 1073s # Start of invalid tests 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/too-short/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/too-short/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/too-short/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/too-short/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/too-short/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/too-short/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/too-short/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/too-short/.dirs/runtime 1073s ok 15 /gresolver/srv/invalid/too-short 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/too-short2/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/too-short2/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/too-short2/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/too-short2/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/too-short2/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/too-short2/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/too-short2/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4E5IK2/gresolver/srv/invalid/too-short2/.dirs/runtime 1073s ok 16 /gresolver/srv/invalid/too-short2 1073s # End of invalid tests 1073s # End of srv tests 1073s # Start of txt tests 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/valid/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/valid/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_4E5IK2/gresolver/txt/valid/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/valid/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_4E5IK2/gresolver/txt/valid/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/valid/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/valid/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/valid/.dirs/runtime 1073s ok 17 /gresolver/txt/valid 1073s # Start of valid tests 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/valid/multiple-strings/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/valid/multiple-strings/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_4E5IK2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/valid/multiple-strings/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_4E5IK2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/valid/multiple-strings/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/valid/multiple-strings/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/valid/multiple-strings/.dirs/runtime 1073s ok 18 /gresolver/txt/valid/multiple-strings 1073s # End of valid tests 1073s # Start of invalid tests 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/invalid/empty/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/invalid/empty/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_4E5IK2/gresolver/txt/invalid/empty/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/invalid/empty/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_4E5IK2/gresolver/txt/invalid/empty/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/invalid/empty/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/invalid/empty/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/invalid/empty/.dirs/runtime 1073s ok 19 /gresolver/txt/invalid/empty 1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/invalid/overflow/.dirs/home 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/invalid/overflow/.dirs/cache 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_4E5IK2/gresolver/txt/invalid/overflow/.dirs/system-config2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/invalid/overflow/.dirs/config 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_4E5IK2/gresolver/txt/invalid/overflow/.dirs/system-data2 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/invalid/overflow/.dirs/data 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/invalid/overflow/.dirs/state 1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_4E5IK2/gresolver/txt/invalid/overflow/.dirs/runtime 1073s ok 20 /gresolver/txt/invalid/overflow 1073s # End of invalid tests 1073s # End of txt tests 1073s # End of gresolver tests 1073s ok - glib/resolver-parsing.test 1073s # Running test: glib/gdatetime.test 1073s TAP version 13 1073s # random seed: R02S0770276c7616e4a39be93a03212c8e78 1073s 1..68 1073s # Start of GDateTime tests 1073s # Bug Reference: http://bugzilla.gnome.org/702674 1073s ok 1 /GDateTime/invalid 1073s ok 2 /GDateTime/add_days 1073s ok 3 /GDateTime/add_full 1073s ok 4 /GDateTime/add_hours 1073s ok 5 /GDateTime/add_minutes 1073s ok 6 /GDateTime/add_months 1073s ok 7 /GDateTime/add_seconds 1073s ok 8 /GDateTime/add_weeks 1073s ok 9 /GDateTime/add_years 1073s ok 10 /GDateTime/compare 1073s ok 11 /GDateTime/diff 1073s ok 12 /GDateTime/equal 1073s ok 13 /GDateTime/get_day_of_week 1073s ok 14 /GDateTime/get_day_of_month 1073s ok 15 /GDateTime/get_day_of_year 1073s ok 16 /GDateTime/get_hour 1073s ok 17 /GDateTime/get_microsecond 1073s ok 18 /GDateTime/get_minute 1073s ok 19 /GDateTime/get_month 1073s ok 20 /GDateTime/get_second 1073s ok 21 /GDateTime/get_utc_offset 1073s ok 22 /GDateTime/get_year 1073s ok 23 /GDateTime/hash 1073s ok 24 /GDateTime/new_from_unix 1073s ok 25 /GDateTime/new_from_unix_utc 1073s ok 26 /GDateTime/new_from_timeval 1073s ok 27 /GDateTime/new_from_timeval_utc 1073s ok 28 /GDateTime/new_from_iso8601 1073s ok 29 /GDateTime/new_full 1073s ok 30 /GDateTime/now 1073s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1073s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1073s # %a -> expected: Sat 1073s # %a -> actual: Sat 1073s # %A -> expected: Saturday 1073s # %A -> actual: Saturday 1073s # %b -> expected: Oct 1073s # %b -> actual: Oct 1073s # %B -> expected: October 1073s # %B -> actual: October 1073s # %d -> expected: 24 1073s # %d -> actual: 24 1073s # %d -> expected: 01 1073s # %d -> actual: 01 1073s # %e -> expected: 24 1073s # %e -> actual: 24 1073s # %e -> expected:  1 1073s # %e -> actual:  1 1073s # %f -> expected: 001000 1073s # %f -> actual: 001000 1073s # %h -> expected: Oct 1073s # %h -> actual: Oct 1073s # %H -> expected: 00 1073s # %H -> actual: 00 1073s # %H -> expected: 15 1073s # %H -> actual: 15 1073s # %I -> expected: 12 1073s # %I -> actual: 12 1073s # %I -> expected: 12 1073s # %I -> actual: 12 1073s # %I -> expected: 03 1073s # %I -> actual: 03 1073s # %j -> expected: 297 1073s # %j -> actual: 297 1073s # %k -> expected:  0 1073s # %k -> actual:  0 1073s # %k -> expected: 13 1073s # %k -> actual: 13 1073s # %l -> expected: 12 1073s # %l -> actual: 12 1073s # %I -> expected: 12 1073s # %I -> actual: 12 1073s # %l -> expected:  1 1073s # %l -> actual:  1 1073s # %l -> expected: 10 1073s # %l -> actual: 10 1073s # %m -> expected: 10 1073s # %m -> actual: 10 1073s # %M -> expected: 00 1073s # %M -> actual: 00 1073s # %p -> expected: AM 1073s # %p -> actual: AM 1073s # %p -> expected: PM 1073s # %p -> actual: PM 1073s # %P -> expected: am 1073s # %P -> actual: am 1073s # %P -> expected: pm 1073s # %P -> actual: pm 1073s # %r -> expected: 12:00:00 AM 1073s # %r -> actual: 12:00:00 AM 1073s # %r -> expected: 01:13:13 PM 1073s # %r -> actual: 01:13:13 PM 1073s # %R -> expected: 00:00 1073s # %R -> actual: 00:00 1073s # %R -> expected: 13:13 1073s # %R -> actual: 13:13 1073s # %S -> expected: 00 1073s # %S -> actual: 00 1073s # %t -> expected: 1073s # %t -> actual: 1073s # %u -> expected: 6 1073s # %u -> actual: 6 1073s # %x -> expected: 10/24/09 1073s # %x -> actual: 10/24/09 1073s # %X -> expected: 00:00:00 1073s # %X -> actual: 00:00:00 1073s # %X -> expected: 13:14:15 1073s # %X -> actual: 13:14:15 1073s # %y -> expected: 09 1073s # %y -> actual: 09 1073s # %Y -> expected: 2009 1073s # %Y -> actual: 2009 1073s # %% -> expected: % 1073s # %% -> actual: % 1073s # % -> expected: 1073s # % -> actual: 1073s # %9 -> expected: (null) 1073s # %9 -> actual: (null) 1073s # %Z -> expected: UTC 1073s # %Z -> actual: UTC 1073s ok 32 /GDateTime/printf 1073s # %a -> expected: ÅÚ 1073s # %a -> actual: ÅÚ 1073s # %A -> expected: ÅÚÍËÆü 1073s # %A -> actual: ÅÚÍËÆü 1073s # %b -> expected: 10·î 1073s # %b -> actual: 10·î 1073s # %B -> expected: 10·î 1073s # %B -> actual: 10·î 1073s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 1073s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 1073s # %C -> expected: 20 1073s # %C -> actual: 20 1073s # %d -> expected: 24 1073s # %d -> actual: 24 1073s # %d -> expected: 01 1073s # %d -> actual: 01 1073s # %e -> expected: 24 1073s # %e -> actual: 24 1073s # %h -> expected: 10·î 1073s # %h -> actual: 10·î 1073s # %H -> expected: 00 1073s # %H -> actual: 00 1073s # %H -> expected: 15 1073s # %H -> actual: 15 1073s # %I -> expected: 12 1073s # %I -> actual: 12 1073s # %I -> expected: 12 1073s # %I -> actual: 12 1073s # %I -> expected: 03 1073s # %I -> actual: 03 1073s # %j -> expected: 297 1073s # %j -> actual: 297 1073s # %k -> expected: ?0 1073s # %k -> actual: ?0 1073s # %k -> expected: 13 1073s # %k -> actual: 13 1073s # %l -> expected: 12 1073s # %l -> actual: 12 1073s # %I -> expected: 12 1073s # %I -> actual: 12 1073s # %l -> expected: ?1 1073s # %l -> actual: ?1 1073s # %l -> expected: 10 1073s # %l -> actual: 10 1073s # %m -> expected: 10 1073s # %m -> actual: 10 1073s # %M -> expected: 00 1073s # %M -> actual: 00 1073s # %p -> expected: ¸áÁ° 1073s # %p -> actual: ¸áÁ° 1073s # %p -> expected: ¸á¸å 1073s # %p -> actual: ¸á¸å 1073s # %P -> expected: ¸áÁ° 1073s # %P -> actual: ¸áÁ° 1073s # %P -> expected: ¸á¸å 1073s # %P -> actual: ¸á¸å 1073s # %r -> expected: ¸áÁ°12»þ00ʬ00Éà 1073s # %r -> actual: ¸áÁ°12»þ00ʬ00Éà 1073s # %r -> expected: ¸á¸å01»þ13ʬ13Éà 1073s # %r -> actual: ¸á¸å01»þ13ʬ13Éà 1073s # %R -> expected: 00:00 1073s # %R -> actual: 00:00 1073s # %R -> expected: 13:13 1073s # %R -> actual: 13:13 1073s # %S -> expected: 00 1073s # %S -> actual: 00 1073s # %t -> expected: 1073s # %t -> actual: 1073s # %u -> expected: 6 1073s # %u -> actual: 6 1073s # %x -> expected: 2009ǯ10·î24Æü 1073s # %x -> actual: 2009ǯ10·î24Æü 1073s # %X -> expected: 00»þ00ʬ00Éà 1073s # %X -> actual: 00»þ00ʬ00Éà 1073s # %X -> expected: 13»þ14ʬ15Éà 1073s # %X -> actual: 13»þ14ʬ15Éà 1073s # %y -> expected: 09 1073s # %y -> actual: 09 1073s # %Y -> expected: 2009 1073s # %Y -> actual: 2009 1073s # %% -> expected: % 1073s # %% -> actual: % 1073s # % -> expected: 1073s # % -> actual: 1073s # %9 -> expected: (null) 1073s # %9 -> actual: (null) 1073s # %Ec -> expected: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 1073s # %Ec -> actual: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 1073s # %EC -> expected: Ê¿À® 1073s # %EC -> actual: Ê¿À® 1073s # %Ex -> expected: Ê¿À®21ǯ10·î24Æü 1073s # %Ex -> actual: Ê¿À®21ǯ10·î24Æü 1073s # %EX -> expected: 00»þ00ʬ00Éà 1073s # %EX -> actual: 00»þ00ʬ00Éà 1073s # %Ey -> expected: 21 1073s # %Ey -> actual: 21 1073s # %EY -> expected: Ê¿À®21ǯ 1073s # %EY -> actual: Ê¿À®21ǯ 1073s ok 33 /GDateTime/non_utf8_printf 1073s # ???? -> expected: ???? 1073s # ???? -> actual: ???? 1073s # %H?%M -> expected: 23?15 1073s # %H?%M -> actual: 23?15 1073s # %H?%M -> expected: 23?15 1073s # %H?%M -> actual: 23?15 1073s ok 34 /GDateTime/format_unrepresentable 1073s ok 35 /GDateTime/format_iso8601 1074s ok 36 /GDateTime/strftime 1074s # %d -> expected: 01 1074s # %d -> actual: 01 1074s # %_d -> expected: 1 1074s # %_d -> actual: 1 1074s # %-d -> expected: 1 1074s # %-d -> actual: 1 1074s # %0d -> expected: 01 1074s # %0d -> actual: 01 1074s # %d -> expected: 21 1074s # %d -> actual: 21 1074s # %_d -> expected: 21 1074s # %_d -> actual: 21 1074s # %-d -> expected: 21 1074s # %-d -> actual: 21 1074s # %0d -> expected: 21 1074s # %0d -> actual: 21 1074s # %e -> expected:  1 1074s # %e -> actual:  1 1074s # %_e -> expected: 1 1074s # %_e -> actual: 1 1074s # %-e -> expected: 1 1074s # %-e -> actual: 1 1074s # %0e -> expected: 01 1074s # %0e -> actual: 01 1074s # %e -> expected: 21 1074s # %e -> actual: 21 1074s # %_e -> expected: 21 1074s # %_e -> actual: 21 1074s # %-e -> expected: 21 1074s # %-e -> actual: 21 1074s # %0e -> expected: 21 1074s # %0e -> actual: 21 1074s # %a -> expected: Thu 1074s # %a -> actual: Thu 1074s # %^a -> expected: THU 1074s # %^a -> actual: THU 1074s # %#a -> expected: THU 1074s # %#a -> actual: THU 1074s # %A -> expected: Thursday 1074s # %A -> actual: Thursday 1074s # %^A -> expected: THURSDAY 1074s # %^A -> actual: THURSDAY 1074s # %#A -> expected: THURSDAY 1074s # %#A -> actual: THURSDAY 1074s # %b -> expected: Jan 1074s # %b -> actual: Jan 1074s # %^b -> expected: JAN 1074s # %^b -> actual: JAN 1074s # %#b -> expected: JAN 1074s # %#b -> actual: JAN 1074s # %B -> expected: January 1074s # %B -> actual: January 1074s # %^B -> expected: JANUARY 1074s # %^B -> actual: JANUARY 1074s # %#B -> expected: JANUARY 1074s # %#B -> actual: JANUARY 1074s # %h -> expected: Jan 1074s # %h -> actual: Jan 1074s # %^h -> expected: JAN 1074s # %^h -> actual: JAN 1074s # %#h -> expected: JAN 1074s # %#h -> actual: JAN 1074s # %Z -> expected: UTC 1074s # %Z -> actual: UTC 1074s # %^Z -> expected: UTC 1074s # %^Z -> actual: UTC 1074s # %#Z -> expected: utc 1074s # %#Z -> actual: utc 1074s # %H -> expected: 01 1074s # %H -> actual: 01 1074s # %_H -> expected: 1 1074s # %_H -> actual: 1 1074s # %-H -> expected: 1 1074s # %-H -> actual: 1 1074s # %0H -> expected: 01 1074s # %0H -> actual: 01 1074s # %H -> expected: 21 1074s # %H -> actual: 21 1074s # %_H -> expected: 21 1074s # %_H -> actual: 21 1074s # %-H -> expected: 21 1074s # %-H -> actual: 21 1074s # %0H -> expected: 21 1074s # %0H -> actual: 21 1074s # %I -> expected: 01 1074s # %I -> actual: 01 1074s # %_I -> expected: 1 1074s # %_I -> actual: 1 1074s # %-I -> expected: 1 1074s # %-I -> actual: 1 1074s # %0I -> expected: 01 1074s # %0I -> actual: 01 1074s # %I -> expected: 11 1074s # %I -> actual: 11 1074s # %_I -> expected: 11 1074s # %_I -> actual: 11 1074s # %-I -> expected: 11 1074s # %-I -> actual: 11 1074s # %0I -> expected: 11 1074s # %0I -> actual: 11 1074s # %k -> expected:  1 1074s # %k -> actual:  1 1074s # %_k -> expected: 1 1074s # %_k -> actual: 1 1074s # %-k -> expected: 1 1074s # %-k -> actual: 1 1074s # %0k -> expected: 01 1074s # %0k -> actual: 01 1074s # %l -> expected:  1 1074s # %l -> actual:  1 1074s # %_l -> expected: 1 1074s # %_l -> actual: 1 1074s # %-l -> expected: 1 1074s # %-l -> actual: 1 1074s # %0l -> expected: 01 1074s # %0l -> actual: 01 1074s # %l -> expected: 11 1074s # %l -> actual: 11 1074s # %_l -> expected: 11 1074s # %_l -> actual: 11 1074s # %-l -> expected: 11 1074s # %-l -> actual: 11 1074s # %0l -> expected: 11 1074s # %0l -> actual: 11 1074s # %p -> expected: AM 1074s # %p -> actual: AM 1074s # %^p -> expected: AM 1074s # %^p -> actual: AM 1074s # %#p -> expected: am 1074s # %#p -> actual: am 1074s # %P -> expected: am 1074s # %P -> actual: am 1074s # %^P -> expected: AM 1074s # %^P -> actual: AM 1074s # %#P -> expected: am 1074s # %#P -> actual: am 1074s # %OH -> expected: Û²Û³ 1074s # %OH -> actual: Û²Û³ 1074s # %OI -> expected: Û±Û± 1074s # %OI -> actual: Û±Û± 1074s # %OM -> expected: Û°Û° 1074s # %OM -> actual: Û°Û° 1074s # %Om -> expected: Û°Û· 1074s # %Om -> actual: Û°Û· 1074s # %0Om -> expected: Û°Û· 1074s # %0Om -> actual: Û°Û· 1074s # %-Om -> expected: Û· 1074s # %-Om -> actual: Û· 1074s # %_Om -> expected: Û· 1074s # %_Om -> actual: Û· 1074s # %c -> expected: thu 01 jan 2009 00:00:00 utc 1074s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 1074s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 1074s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 1074s # %C -> expected: 20 1074s # %C -> actual: 20 1074s # %EC -> expected: 20 1074s # %EC -> actual: 20 1074s # %x -> expected: 02/01/09 1074s # %x -> actual: 02/01/09 1074s # %Ex -> expected: 02/01/09 1074s # %Ex -> actual: 02/01/09 1074s # %X -> expected: 01:02:03 1074s # %X -> actual: 01:02:03 1074s # %EX -> expected: 01:02:03 1074s # %EX -> actual: 01:02:03 1074s # %y -> expected: 09 1074s # %y -> actual: 09 1074s # %Ey -> expected: 09 1074s # %Ey -> actual: 09 1074s # %Y -> expected: 2009 1074s # %Y -> actual: 2009 1074s # %EY -> expected: 2009 1074s # %EY -> actual: 2009 1074s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1074s # Bug Reference: http://bugzilla.gnome.org/749206 1074s # %B -> expected: January 1074s # %B -> actual: January 1074s # %OB -> expected: February 1074s # %OB -> actual: February 1074s # %b -> expected: Mar 1074s # %b -> actual: Mar 1074s # %Ob -> expected: Apr 1074s # %Ob -> actual: Apr 1074s # %h -> expected: May 1074s # %h -> actual: May 1074s # %Oh -> expected: Jun 1074s # %Oh -> actual: Jun 1074s # %B -> expected: Juli 1074s # %B -> actual: Juli 1074s # %OB -> expected: August 1074s # %OB -> actual: August 1074s # %b -> expected: Sep 1074s # %b -> actual: Sep 1074s # %Ob -> expected: Okt 1074s # %Ob -> actual: Okt 1074s # %h -> expected: Nov 1074s # %h -> actual: Nov 1074s # %Oh -> expected: Dez 1074s # %Oh -> actual: Dez 1074s # %B -> expected: enero 1074s # %B -> actual: enero 1074s # %OB -> expected: febrero 1074s # %OB -> actual: febrero 1074s # %b -> expected: mar 1074s # %b -> actual: mar 1074s # %Ob -> expected: abr 1074s # %Ob -> actual: abr 1074s # %h -> expected: may 1074s # %h -> actual: may 1074s # %Oh -> expected: jun 1074s # %Oh -> actual: jun 1074s # %B -> expected: juillet 1074s # %B -> actual: juillet 1074s # %OB -> expected: août 1074s # %OB -> actual: août 1074s # %b -> expected: sept. 1074s # %b -> actual: sept. 1074s # %Ob -> expected: oct. 1074s # %Ob -> actual: oct. 1074s # %h -> expected: nov. 1074s # %h -> actual: nov. 1074s # %Oh -> expected: déc. 1074s # %Oh -> actual: déc. 1074s # %B -> expected: ΙανουαÏίου 1074s # %B -> actual: ΙανουαÏίου 1074s # %B -> expected: ΦεβÏουαÏίου 1074s # %B -> actual: ΦεβÏουαÏίου 1074s # %B -> expected: ΜαÏτίου 1074s # %B -> actual: ΜαÏτίου 1074s # %OB -> expected: ΑπÏίλιος 1074s # %OB -> actual: ΑπÏίλιος 1074s # %OB -> expected: Μάιος 1074s # %OB -> actual: Μάιος 1074s # %OB -> expected: ΙοÏνιος 1074s # %OB -> actual: ΙοÏνιος 1074s # %b -> expected: Ιουλ 1074s # %b -> actual: Ιουλ 1074s # %Ob -> expected: ΑÏγ 1074s # %Ob -> actual: ΑÏγ 1074s # %B -> expected: svibnja 1074s # %B -> actual: svibnja 1074s # %B -> expected: lipnja 1074s # %B -> actual: lipnja 1074s # %B -> expected: srpnja 1074s # %B -> actual: srpnja 1074s # %OB -> expected: Kolovoz 1074s # %OB -> actual: kolovoz 1074s # %OB -> expected: Rujan 1074s # %OB -> actual: rujan 1074s # %OB -> expected: Listopad 1074s # %OB -> actual: listopad 1074s # %b -> expected: Stu 1074s # %b -> actual: stu 1074s # %Ob -> expected: Pro 1074s # %Ob -> actual: pro 1074s # %B -> expected: sausio 1074s # %B -> actual: sausio 1074s # %B -> expected: vasario 1074s # %B -> actual: vasario 1074s # %B -> expected: kovo 1074s # %B -> actual: kovo 1074s # %OB -> expected: balandis 1074s # %OB -> actual: balandis 1074s # %OB -> expected: gegužė 1074s # %OB -> actual: gegužė 1074s # %OB -> expected: birželis 1074s # %OB -> actual: birželis 1074s # %b -> expected: liep. 1074s # %b -> actual: liep. 1074s # %Ob -> expected: rugp. 1074s # %Ob -> actual: rugp. 1074s # %B -> expected: maja 1074s # %B -> actual: maja 1074s # %B -> expected: czerwca 1074s # %B -> actual: czerwca 1074s # %B -> expected: lipca 1074s # %B -> actual: lipca 1074s # %OB -> expected: sierpieÅ„ 1074s # %OB -> actual: sierpieÅ„ 1074s # %OB -> expected: wrzesieÅ„ 1074s # %OB -> actual: wrzesieÅ„ 1074s # %OB -> expected: październik 1074s # %OB -> actual: październik 1074s # %b -> expected: lis 1074s # %b -> actual: lis 1074s # %Ob -> expected: gru 1074s # %Ob -> actual: gru 1074s # %B -> expected: ÑÐ½Ð²Ð°Ñ€Ñ 1074s # %B -> actual: ÑÐ½Ð²Ð°Ñ€Ñ 1074s # %B -> expected: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 1074s # %B -> actual: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 1074s # %B -> expected: марта 1074s # %B -> actual: марта 1074s # %OB -> expected: Ðпрель 1074s # %OB -> actual: Ðпрель 1074s # %OB -> expected: Май 1074s # %OB -> actual: Май 1074s # %OB -> expected: Июнь 1074s # %OB -> actual: Июнь 1074s # %b -> expected: июл 1074s # %b -> actual: июл 1074s # %Ob -> expected: авг 1074s # %Ob -> actual: авг 1074s # %b -> expected: Ð¼Ð°Ñ 1074s # %b -> actual: Ð¼Ð°Ñ 1074s # %Ob -> expected: май 1074s # %Ob -> actual: май 1074s ok 38 /GDateTime/month_names 1074s ok 39 /GDateTime/to_local 1074s ok 40 /GDateTime/to_unix 1074s ok 41 /GDateTime/to_timeval 1074s ok 42 /GDateTime/to_utc 1074s ok 43 /GDateTime/now_utc 1074s ok 44 /GDateTime/dst 1074s # Bug Reference: http://bugzilla.gnome.org/642935 1074s ok 45 /GDateTime/test_z 1074s # Executing: glib/gdatetime.test 1075s ok 46 /GDateTime/test-all-dates 1075s # slow test /GDateTime/test-all-dates executed in 1.39 secs 1075s ok 47 /GDateTime/unix_usec 1075s # Start of new_from_unix tests 1075s # Bug Reference: http://bugzilla.gnome.org/782089 1075s ok 48 /GDateTime/new_from_unix/overflow 1075s # End of new_from_unix tests 1075s # Start of new_from_timeval tests 1075s # Bug Reference: http://bugzilla.gnome.org/782089 1075s # Maximum supported GTimeVal.tv_sec = 253402300799 1075s ok 49 /GDateTime/new_from_timeval/overflow 1075s # End of new_from_timeval tests 1075s # Start of new_from_iso8601 tests 1075s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1075s # Vector 0: 1990-11-01T10:21:17Z 1075s # Vector 1: 19901101T102117Z 1075s # Vector 2: 1970-01-01T00:00:17.12Z 1075s # Vector 3: 1970-01-01T00:00:17.1234Z 1075s # Vector 4: 1970-01-01T00:00:17.123456Z 1075s # Vector 5: 1980-02-22T12:36:00+02:00 1075s # Vector 6: 1990-12-31T15:59:60-08:00 1075s # Vector 7: 1075s # Vector 8: x 1075s # Vector 9: 123x 1075s # Vector 10: 2001-10+x 1075s # Vector 11: 1980-02-22T 1075s # Vector 12: 2001-10-08Tx 1075s # Vector 13: 2001-10-08T10:11x 1075s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1075s # Vector 15: 1980-02-22T10:36:00Zulu 1075s # Vector 16: 2T0+819855292164632335 1075s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1075s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1075s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1075s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1075s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1075s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1075s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1075s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1075s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1075s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1075s # Vector 27: 20180803T140805.446178377+0100 1075s # Vector 28: 21474836480803T140805.446178377+0100 1075s # Vector 29: 20181303T140805.446178377+0100 1075s # Vector 30: 20180003T140805.446178377+0100 1075s # Vector 31: 20180800T140805.446178377+0100 1075s # Vector 32: 20180832T140805.446178377+0100 1075s # Vector 33: 20180803T240805.446178377+0100 1075s # Vector 34: 20180803T146005.446178377+0100 1075s # Vector 35: 20180803T140863.446178377+0100 1075s # Vector 36: 20180803T140805.446178377+10000 1075s # Vector 37: -0005-01-01T00:00:00Z 1075s # Vector 38: 2018-08-06 1075s # Vector 39: 20180803T140805,446178377+0100 1075s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1075s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1075s # Vector 42: 1990-11-01T10:21:17 1075s # Vector 43: 1719W462 407777-07 1075s # Vector 44: 4011090 260528Z 1075s # Vector 45: 0000W011 228214-22 1075s ok 50 /GDateTime/new_from_iso8601/2 1075s # End of new_from_iso8601 tests 1075s # Start of format_mixed tests 1075s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1075s # %b -> expected: mar 1075s # %b -> actual: Mar 1075s # %B -> expected: march 1075s # %B -> actual: March 1075s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1075s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1075s # %b -> expected: mar 1075s # %b -> actual: Mar 1075s # %B -> expected: march 1075s # %B -> actual: March 1075s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1075s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1075s # %b -> expected: Mär 1075s # %b -> actual: Mär 1075s # %B -> expected: März 1075s # %B -> actual: März 1075s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1075s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1075s # %b -> expected: Mär 1075s # %b -> actual: Mär 1075s # %B -> expected: März 1075s # %B -> actual: März 1075s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1075s # End of format_mixed tests 1075s # Start of strftime tests 1075s # %r -> expected: (null) 1075s # %r -> actual: (null) 1075s ok 55 /GDateTime/strftime/error_handling 1075s # End of strftime tests 1075s # Start of eras tests 1075s # %Ec -> expected: 令和05å¹´06月01æ—¥ 00時00分00ç§’ 1075s # %Ec -> actual: 令和05å¹´06月01æ—¥ 00時00分00ç§’ 1075s # %EC -> expected: 令和 1075s # %EC -> actual: 令和 1075s # %Ex -> expected: 令和05å¹´06月01æ—¥ 1075s # %Ex -> actual: 令和05å¹´06月01æ—¥ 1075s # %EX -> expected: 00時00分00ç§’ 1075s # %EX -> actual: 00時00分00ç§’ 1075s # %Ey -> expected: 05 1075s # %Ey -> actual: 05 1075s # %EY -> expected: 令和05å¹´ 1075s # %EY -> actual: 令和05å¹´ 1075s # %Ec -> expected: å¹³æˆ31å¹´04月30æ—¥ 00時00分00ç§’ 1075s # %Ec -> actual: å¹³æˆ31å¹´04月30æ—¥ 00時00分00ç§’ 1075s # %EC -> expected: å¹³æˆ 1075s # %EC -> actual: å¹³æˆ 1075s # %Ex -> expected: å¹³æˆ31å¹´04月30æ—¥ 1075s # %Ex -> actual: å¹³æˆ31å¹´04月30æ—¥ 1075s # %EX -> expected: 00時00分00ç§’ 1075s # %EX -> actual: 00時00分00ç§’ 1075s # %Ey -> expected: 31 1075s # %Ey -> actual: 31 1075s # %EY -> expected: å¹³æˆ31å¹´ 1075s # %EY -> actual: å¹³æˆ31å¹´ 1075s # %Ec -> expected: 昭和元年12月25æ—¥ 00時00分00ç§’ 1075s # %Ec -> actual: 昭和元年12月25æ—¥ 00時00分00ç§’ 1075s # %EC -> expected: 昭和 1075s # %EC -> actual: 昭和 1075s # %Ex -> expected: 昭和元年12月25æ—¥ 1075s # %Ex -> actual: 昭和元年12月25æ—¥ 1075s # %EX -> expected: 00時00分00ç§’ 1075s # %EX -> actual: 00時00分00ç§’ 1075s # %Ey -> expected: 01 1075s # %Ey -> actual: 01 1075s # %EY -> expected: 昭和元年 1075s # %EY -> actual: 昭和元年 1075s ok 56 /GDateTime/eras/japan 1075s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1075s # Vector 0: 1075s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1075s # 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å¹´ 1075s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Eyå¹´ 1075s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Eyå¹´ 1075s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Eyå¹´ 1075s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Eyå¹´ 1075s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Eyå¹´ 1075s # Vector 8: + 1075s # Vector 9: +: 1075s # Vector 10: +:: 1075s # Vector 11: +:200 1075s # Vector 12: +:2nonsense 1075s # Vector 13: +:2nonsense: 1075s # Vector 14: +:2: 1075s # Vector 15: +:2:: 1075s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Eyå¹´ 1075s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Eyå¹´ 1075s # Vector 18: +:2:2020:+*:令和:%EC%Eyå¹´ 1075s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Eyå¹´ 1075s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Eyå¹´ 1075s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Eyå¹´ 1075s # Vector 22: +:2:2020/01:+*:令和:%EC%Eyå¹´ 1075s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Eyå¹´ 1075s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Eyå¹´ 1075s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Eyå¹´ 1075s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Eyå¹´ 1075s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Eyå¹´ 1075s # Vector 28: +:2:2020/01/01 1075s # Vector 29: +:2:2020/01/01: 1075s # Vector 30: +:2:2020/01/01:: 1075s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Eyå¹´ 1075s # Vector 32: +:2:2020/01/01:+* 1075s # Vector 33: +:2:2020/01/01:+*: 1075s # Vector 34: +:2:2020/01/01:+*:: 1075s # Vector 35: +:2:2020/01/01:+*:令和 1075s # Vector 36: +:2:2020/01/01:+*:令和: 1075s # Vector 37: +:2:2020/01/01:+*:令和:; 1075s ok 58 /GDateTime/eras/parsing 1075s # End of eras tests 1075s # End of GDateTime tests 1075s # Start of GTimeZone tests 1075s ok 59 /GTimeZone/find-interval 1075s ok 60 /GTimeZone/adjust-time 1075s ok 61 /GTimeZone/no-header 1075s ok 62 /GTimeZone/no-header-identifier 1075s ok 63 /GTimeZone/posix-parse 1075s # Bug Reference: http://bugzilla.gnome.org/697715 1075s ok 64 /GTimeZone/floating-point 1075s # System time zone identifier: Etc/UTC 1075s ok 65 /GTimeZone/identifier 1075s # Vector 0: -158400 1075s # Vector 1: -10000 1075s # Vector 2: -3600 1075s # Vector 3: -61 1075s # Vector 4: -60 1075s # Vector 5: -59 1075s # Vector 6: 0 1075s # Vector 7: 59 1075s # Vector 8: 60 1075s # Vector 9: 61 1075s # Vector 10: 3600 1075s # Vector 11: 10000 1075s # Vector 12: 158400 1075s ok 66 /GTimeZone/new-offset 1075s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1075s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1075s ok 67 /GTimeZone/parse-rfc8536 1075s # /GTimeZone/caching summary: GTimeZone instances are cached 1075s ok 68 /GTimeZone/caching 1075s # End of GTimeZone tests 1075s ok - glib/gdatetime.test 1075s # Running test: glib/closure-refcount.test 1075s TAP version 13 1075s # random seed: R02Se9096a2785e969d9afd34c3b3ed9fb2b 1075s 1..1 1075s # Start of closure tests 1075s # Init 0x1feee03df1d0 1075s # Yielding from main thread 1075s # Yielding from main thread 1075s # Yielding from main thread 1075s # Yielding from thread1 1075s # Yielding from thread2 1075s # Yielding from main thread 1075s # Yielding from main thread 1075s # Yielding from main thread 1075s # Yielding from main thread 1076s # Yielding from thread2 1076s # Yielding from thread1 1076s # Yielding from main thread 1076s # Yielding from main thread 1076s # Yielding from main thread 1076s # Yielding from main thread 1076s # Yielding from thread1 1076s # Yielding from thread2 1076s # Yielding from main thread 1076s # Yielding from main thread 1076s # Yielding from main thread 1076s # Yielding from main thread 1076s # Yielding from thread1 1076s # Yielding from thread2 1076s # Yielding from main thread 1076s # Yielding from main thread 1076s # Yielding from main thread 1076s # Yielding from thread2 1076s # Yielding from thread1 1076s # Yielding from main thread 1076s # Yielding from main thread 1077s # Yielding from main thread 1077s # Yielding from main thread 1077s # Yielding from thread2 1077s # Yielding from thread1 1077s # Yielding from main thread 1077s # Yielding from main thread 1077s # Yielding from main thread 1077s # Yielding from main thread 1077s # Yielding from thread1 1077s # Yielding from thread2 1077s # Yielding from main thread 1077s # Yielding from main thread 1077s # Yielding from main thread 1077s # Yielding from main thread 1077s # Yielding from thread2 1077s # Yielding from thread1 1077s # Yielding from main thread 1077s # Yielding from main thread 1077s # Yielding from main thread 1077s # Yielding from thread2 1077s # Yielding from thread1 1078s # Yielding from main thread 1078s # Yielding from main thread 1078s # Yielding from main thread 1078s # Yielding from main thread 1078s # Yielding from thread2 1078s # Yielding from thread1 1078s # Yielding from main thread 1078s # Yielding from main thread 1078s # Yielding from main thread 1078s # Yielding from main thread 1078s # Yielding from thread2 1078s # Yielding from thread1 1078s # Yielding from main thread 1078s # Yielding from main thread 1078s # Yielding from main thread 1078s # Yielding from main thread 1078s # Yielding from thread1 1078s # Yielding from thread2 1078s # Yielding from main thread 1078s # Yielding from main thread 1079s # Yielding from main thread 1079s # Yielding from thread2 1079s # Yielding from thread1 1079s # Yielding from main thread 1079s # Yielding from main thread 1079s # Yielding from main thread 1079s # Executing: glib/closure-refcount.test 1079s # Yielding from main thread 1079s # Yielding from thread1 1079s # Yielding from thread2 1079s # Yielding from main thread 1079s # Yielding from main thread 1079s # Yielding from main thread 1079s # Yielding from main thread 1079s # Yielding from thread1 1079s # Yielding from thread2 1079s # Yielding from main thread 1079s # Yielding from main thread 1079s # Yielding from main thread 1079s # Yielding from main thread 1079s # Yielding from thread1 1079s # Yielding from thread2 1080s # Yielding from main thread 1080s # Yielding from main thread 1080s # Yielding from main thread 1080s # Yielding from thread1 1080s # Yielding from thread2 1080s # Yielding from main thread 1080s # Yielding from main thread 1080s # Yielding from main thread 1080s # Yielding from main thread 1080s # Yielding from thread1 1080s # Yielding from thread2 1080s # Yielding from main thread 1080s # Yielding from main thread 1080s # Yielding from main thread 1080s # Yielding from main thread 1080s # Yielding from thread1 1080s # Yielding from thread2 1080s # Yielding from main thread 1080s # Yielding from main thread 1081s # Yielding from main thread 1081s # Yielding from main thread 1081s # Yielding from thread2 1081s # Yielding from thread1 1081s # Yielding from main thread 1081s # Yielding from main thread 1081s # Yielding from main thread 1081s # Yielding from thread2 1081s # Yielding from thread1 1081s # Yielding from main thread 1081s # Yielding from main thread 1081s # Yielding from main thread 1081s # Yielding from main thread 1081s # Yielding from thread2 1081s # Yielding from thread1 1081s # Yielding from main thread 1081s # Yielding from main thread 1081s # Yielding from main thread 1081s # Yielding from main thread 1081s # Yielding from thread2 1081s # Yielding from thread1 1082s # Yielding from main thread 1082s # Yielding from main thread 1082s # Yielding from main thread 1082s # Yielding from thread2 1082s # Yielding from main thread 1082s # Yielding from thread1 1082s # Yielding from main thread 1082s # Yielding from main thread 1082s # Yielding from main thread 1082s # Yielding from thread2 1082s # Yielding from thread1 1082s # Yielding from main thread 1082s # Yielding from main thread 1082s # Yielding from main thread 1082s # Yielding from main thread 1082s # Yielding from thread2 1082s # Yielding from thread1 1082s # Yielding from main thread 1082s # Yielding from main thread 1083s # Stopping 1083s # Stopped 1083s ok 1 /closure/refcount 1083s # slow test /closure/refcount executed in 7.56 secs 1083s # End of closure tests 1083s ok - glib/closure-refcount.test 1083s # Running test: glib/registered-type-info.test 1083s TAP version 13 1083s # random seed: R02Sd0a76e70cfeb33cbb27fc4b9e0d3e011 1083s 1..1 1083s # Start of registered-type-info tests 1083s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_T22NK2/registered-type-info/boxed/.dirs/home 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_T22NK2/registered-type-info/boxed/.dirs/cache 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_T22NK2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_T22NK2/registered-type-info/boxed/.dirs/system-config2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_T22NK2/registered-type-info/boxed/.dirs/config 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_T22NK2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_T22NK2/registered-type-info/boxed/.dirs/system-data2 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_T22NK2/registered-type-info/boxed/.dirs/data 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_T22NK2/registered-type-info/boxed/.dirs/state 1083s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_T22NK2/registered-type-info/boxed/.dirs/runtime 1083s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1083s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1083s # Expecting CClosure to not be boxed 1083s # Expecting TypeCValue to not be boxed 1083s # Expecting InitiallyUnownedClass to not be boxed 1083s # Expecting BookmarkFile to be boxed 1083s # Expecting Closure to be boxed 1083s # Expecting Object to not be boxed 1083s ok 1 /registered-type-info/boxed 1083s # End of registered-type-info tests 1083s ok - glib/registered-type-info.test 1083s # Running test: glib/qdata.test 1083s TAP version 13 1083s # random seed: R02Sf5c745680029c710d87ae30c0f58a3cb 1083s 1..2 1083s # Start of qdata tests 1083s ok 1 /qdata/threaded 1083s ok 2 /qdata/dup 1083s # End of qdata tests 1083s ok - glib/qdata.test 1083s # Running test: glib/array-test.test 1083s TAP version 13 1083s # random seed: R02Sc0feaf63a475e98577f6f99e01e6ec2c 1083s 1..113 1083s # Start of array tests 1083s ok 1 /array/ref-count 1083s ok 2 /array/steal 1083s ok 3 /array/clear-func 1083s ok 4 /array/binary-search 1083s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 1083s ok 5 /array/copy-sized 1083s ok 6 /array/overflow-append-vals 1083s ok 7 /array/overflow-set-size 1083s # Start of new tests 1083s ok 8 /array/new/zero-terminated 1083s ok 9 /array/new/take 1083s ok 10 /array/new/take-zero-terminated 1083s # Start of take tests 1083s ok 11 /array/new/take/empty 1083s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1083s # End of take tests 1083s # End of new tests 1083s # Start of set-size tests 1083s ok 13 /array/set-size/non-zero-terminated-no-clear 1083s ok 14 /array/set-size/non-zero-terminated-clear 1083s ok 15 /array/set-size/zero-terminated-no-clear 1083s ok 16 /array/set-size/zero-terminated-clear 1083s # Start of sized tests 1083s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 1083s ok 18 /array/set-size/sized/non-zero-terminated-clear 1083s ok 19 /array/set-size/sized/zero-terminated-no-clear 1083s ok 20 /array/set-size/sized/zero-terminated-clear 1083s # End of sized tests 1083s # End of set-size tests 1083s # Start of append-val tests 1083s ok 21 /array/append-val/non-zero-terminated-no-clear 1083s ok 22 /array/append-val/non-zero-terminated-clear 1083s ok 23 /array/append-val/zero-terminated-no-clear 1083s ok 24 /array/append-val/zero-terminated-clear 1083s # End of append-val tests 1083s # Start of prepend-val tests 1083s ok 25 /array/prepend-val/non-zero-terminated-no-clear 1083s ok 26 /array/prepend-val/non-zero-terminated-clear 1083s ok 27 /array/prepend-val/zero-terminated-no-clear 1083s ok 28 /array/prepend-val/zero-terminated-clear 1083s # End of prepend-val tests 1083s # Start of prepend-vals tests 1083s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 1083s ok 30 /array/prepend-vals/non-zero-terminated-clear 1083s ok 31 /array/prepend-vals/zero-terminated-no-clear 1083s ok 32 /array/prepend-vals/zero-terminated-clear 1083s # End of prepend-vals tests 1083s # Start of insert-vals tests 1083s ok 33 /array/insert-vals/non-zero-terminated-no-clear 1083s ok 34 /array/insert-vals/non-zero-terminated-clear 1083s ok 35 /array/insert-vals/zero-terminated-no-clear 1083s ok 36 /array/insert-vals/zero-terminated-clear 1083s # End of insert-vals tests 1083s # Start of remove-index tests 1083s ok 37 /array/remove-index/non-zero-terminated-no-clear 1083s ok 38 /array/remove-index/non-zero-terminated-clear 1083s ok 39 /array/remove-index/zero-terminated-no-clear 1083s ok 40 /array/remove-index/zero-terminated-clear 1083s # End of remove-index tests 1083s # Start of remove-index-fast tests 1083s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 1083s ok 42 /array/remove-index-fast/non-zero-terminated-clear 1083s ok 43 /array/remove-index-fast/zero-terminated-no-clear 1083s ok 44 /array/remove-index-fast/zero-terminated-clear 1083s # End of remove-index-fast tests 1083s # Start of remove-range tests 1083s ok 45 /array/remove-range/non-zero-terminated-no-clear 1083s ok 46 /array/remove-range/non-zero-terminated-clear 1083s ok 47 /array/remove-range/zero-terminated-no-clear 1083s ok 48 /array/remove-range/zero-terminated-clear 1083s # End of remove-range tests 1083s # Start of copy tests 1083s ok 49 /array/copy/non-zero-terminated-no-clear 1083s ok 50 /array/copy/non-zero-terminated-clear 1083s ok 51 /array/copy/zero-terminated-no-clear 1083s ok 52 /array/copy/zero-terminated-clear 1083s # End of copy tests 1083s # Start of sort tests 1083s ok 53 /array/sort/non-zero-terminated-no-clear 1083s ok 54 /array/sort/non-zero-terminated-clear 1083s ok 55 /array/sort/zero-terminated-no-clear 1083s ok 56 /array/sort/zero-terminated-clear 1083s # End of sort tests 1083s # Start of sort-with-data tests 1083s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 1083s ok 58 /array/sort-with-data/non-zero-terminated-clear 1083s ok 59 /array/sort-with-data/zero-terminated-no-clear 1083s ok 60 /array/sort-with-data/zero-terminated-clear 1083s # End of sort-with-data tests 1083s # End of array tests 1083s # Start of pointerarray tests 1083s ok 61 /pointerarray/add 1083s ok 62 /pointerarray/insert 1083s ok 63 /pointerarray/new-take 1083s ok 64 /pointerarray/new-take-null-terminated 1083s ok 65 /pointerarray/new-from-array 1083s ok 66 /pointerarray/new-from-null-terminated-array 1083s ok 67 /pointerarray/free-func 1083s ok 68 /pointerarray/array_extend_and_steal 1083s ok 69 /pointerarray/sort 1083s ok 70 /pointerarray/sort-with-data 1083s ok 71 /pointerarray/sort-values 1083s ok 72 /pointerarray/sort-values-with-data 1083s ok 73 /pointerarray/remove-range 1083s ok 74 /pointerarray/steal 1083s # Start of free tests 1083s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1083s ok 75 /pointerarray/free/null-terminated 1083s # End of free tests 1083s # Start of new-take tests 1083s ok 76 /pointerarray/new-take/empty 1083s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1083s ok 78 /pointerarray/new-take/with-free-func 1083s # End of new-take tests 1083s # Start of new-take-null-terminated tests 1083s ok 79 /pointerarray/new-take-null-terminated/empty 1083s ok 80 /pointerarray/new-take-null-terminated/with-free-func 1083s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 1083s # End of new-take-null-terminated tests 1083s # Start of new-from-array tests 1083s ok 82 /pointerarray/new-from-array/empty 1083s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 1083s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 1083s # End of new-from-array tests 1083s # Start of new-from-null-terminated-array tests 1083s ok 85 /pointerarray/new-from-null-terminated-array/empty 1083s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1083s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 1083s # End of new-from-null-terminated-array tests 1083s # Start of ref-count tests 1083s ok 88 /pointerarray/ref-count/not-null-terminated 1083s ok 89 /pointerarray/ref-count/null-terminated 1083s # End of ref-count tests 1083s # Start of array_copy tests 1083s # /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 1083s ok 90 /pointerarray/array_copy/not-null-terminated 1083s # /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 1083s ok 91 /pointerarray/array_copy/null-terminated 1083s # End of array_copy tests 1083s # Start of array_extend tests 1083s ok 92 /pointerarray/array_extend/not-null-terminated 1083s ok 93 /pointerarray/array_extend/null-terminated 1083s # End of array_extend tests 1083s # Start of sort tests 1083s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1083s ok 94 /pointerarray/sort/example 1083s # End of sort tests 1083s # Start of sort-with-data tests 1083s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1083s ok 95 /pointerarray/sort-with-data/example 1083s # End of sort-with-data tests 1083s # Start of sort-values tests 1083s ok 96 /pointerarray/sort-values/example 1083s # End of sort-values tests 1083s # Start of sort-values-with-data tests 1083s ok 97 /pointerarray/sort-values-with-data/example 1083s # End of sort-values-with-data tests 1083s # Start of find tests 1083s ok 98 /pointerarray/find/empty 1083s ok 99 /pointerarray/find/non-empty 1083s # End of find tests 1083s # Start of steal_index tests 1083s ok 100 /pointerarray/steal_index/not-null-terminated 1083s ok 101 /pointerarray/steal_index/null-terminated 1083s # End of steal_index tests 1083s # End of pointerarray tests 1083s # Start of bytearray tests 1083s ok 102 /bytearray/steal 1083s ok 103 /bytearray/append 1083s ok 104 /bytearray/prepend 1083s ok 105 /bytearray/remove 1083s ok 106 /bytearray/remove-fast 1083s ok 107 /bytearray/remove-range 1083s ok 108 /bytearray/ref-count 1083s ok 109 /bytearray/sort 1083s ok 110 /bytearray/sort-with-data 1083s ok 111 /bytearray/new-take 1083s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 1083s ok 113 /bytearray/free-to-bytes 1083s # End of bytearray tests 1083s ok - glib/array-test.test 1083s # Running test: glib/atomic-c-90.test 1083s TAP version 13 1083s # random seed: R02S2bae495f445d886a7a8aa3dd3dbae90b 1083s 1..2 1083s # Start of atomic tests 1083s ok 1 /atomic/types 1083s ok 2 /atomic/threaded 1083s # End of atomic tests 1083s ok - glib/atomic-c-90.test 1083s # Running test: glib/search-utils.test 1083s TAP version 13 1083s # random seed: R02Sdb7a09f75dec0c775f7a91340b27e55c 1083s # GLib-DEBUG: Current user locale: C.UTF-8 1083s 1..6 1083s # Start of search tests 1083s # GLib-DEBUG: Started 1083s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1083s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1083s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1083s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1083s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1083s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1083s ok 1 /search/basic 1083s # GLib-DEBUG: Started 1083s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1083s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1083s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1083s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK 1083s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK 1083s ok 2 /search/composed 1083s # GLib-DEBUG: Started 1083s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1083s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1083s ok 3 /search/decomposed 1083s # GLib-DEBUG: Started 1083s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 1083s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1083s ok 4 /search/turkish 1083s # GLib-DEBUG: Started 1083s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 1083s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 1083s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 1083s ok 5 /search/c_locale_unicode 1083s # GLib-DEBUG: Started 1083s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1083s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1083s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1083s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1083s ok 6 /search/multi_words 1083s # End of search tests 1083s ok - glib/search-utils.test 1083s # Running test: glib/642026.test 1083s TAP version 13 1083s # random seed: R02S8caabb0b9737d7d7262b3f7c7115a51e 1083s 1..1 1083s # Start of glib tests 1083s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1083s ok 1 /glib/642026 1083s # End of glib tests 1083s ok - glib/642026.test 1083s # Running test: glib/power-profile-monitor.test 1083s TAP version 13 1083s # random seed: R02Sd7ea69903d772e2f94cb69f0d967e88e 1083s 1..1 1083s # Start of power-profile-monitor tests 1083s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1083s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 1083s ok 1 /power-profile-monitor/default 1083s # End of power-profile-monitor tests 1083s ok - glib/power-profile-monitor.test 1083s # Running test: glib/codegen.py.test 1083s TAP version 13 1083s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 1083s # tmpdir: /tmp/tmp1w20byzz 1083s # codegen: /usr/bin/gdbus-codegen 1083s # /tmp/tmp1w20byzz/tmpg662gzbo.xml: 1083s # 1083s # 1083s # 1083s # 1083s # 1083s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1w20byzz/tmpg662gzbo.xml', '--output', '-', '--header'] 1083s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1083s # Output: /* 1083s # * This file is generated by gdbus-codegen, do not modify it. 1083s # * 1083s # * The license of this code is the same as for the D-Bus interface description 1083s # * it was derived from. Note that it links to GLib, so must comply with the 1083s # * LGPL linking clauses. 1083s # */ 1083s # 1083s # #ifndef __STDOUT__ 1083s # #define __STDOUT__ 1083s # 1083s # #include 1083s # 1083s # G_BEGIN_DECLS 1083s # 1083s # 1083s # /* ------------------------------------------------------------------------ */ 1083s # /* Declarations for org.project.UsefulInterface */ 1083s # 1083s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1083s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1083s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1083s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1083s # 1083s # struct _OrgProjectUsefulInterface; 1083s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1083s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1083s # 1083s # struct _OrgProjectUsefulInterfaceIface 1083s # { 1083s # GTypeInterface parent_iface; 1083s # 1083s # gboolean (*handle_useful_method) ( 1083s # OrgProjectUsefulInterface *object, 1083s # GDBusMethodInvocation *invocation); 1083s # 1083s # }; 1083s # 1083s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1083s # 1083s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1083s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1083s # 1083s # 1083s # /* D-Bus method call completion functions: */ 1083s # void org_project_useful_interface_complete_useful_method ( 1083s # OrgProjectUsefulInterface *object, 1083s # GDBusMethodInvocation *invocation); 1083s # 1083s # 1083s # 1083s # /* D-Bus method calls: */ 1083s # void org_project_useful_interface_call_useful_method ( 1083s # OrgProjectUsefulInterface *proxy, 1083s # GCancellable *cancellable, 1083s # GAsyncReadyCallback callback, 1083s # gpointer user_data); 1083s # 1083s # gboolean org_project_useful_interface_call_useful_method_finish ( 1083s # OrgProjectUsefulInterface *proxy, 1083s # GAsyncResult *res, 1083s # GError **error); 1083s # 1083s # gboolean org_project_useful_interface_call_useful_method_sync ( 1083s # OrgProjectUsefulInterface *proxy, 1083s # GCancellable *cancellable, 1083s # GError **error); 1083s # 1083s # 1083s # 1083s # /* ---- */ 1083s # 1083s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1083s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1083s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1083s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1083s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1083s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1083s # 1083s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1083s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1083s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1083s # 1083s # struct _OrgProjectUsefulInterfaceProxy 1083s # { 1083s # /*< private >*/ 1083s # GDBusProxy parent_instance; 1083s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1083s # }; 1083s # 1083s # struct _OrgProjectUsefulInterfaceProxyClass 1083s # { 1083s # GDBusProxyClass parent_class; 1083s # }; 1083s # 1083s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1083s # 1083s # #if GLIB_CHECK_VERSION(2, 44, 0) 1083s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1083s # #endif 1083s # 1083s # void org_project_useful_interface_proxy_new ( 1083s # GDBusConnection *connection, 1083s # GDBusProxyFlags flags, 1083s # const gchar *name, 1083s # const gchar *object_path, 1083s # GCancellable *cancellable, 1083s # GAsyncReadyCallback callback, 1083s # gpointer user_data); 1083s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1083s # GAsyncResult *res, 1083s # GError **error); 1083s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1083s # GDBusConnection *connection, 1083s # GDBusProxyFlags flags, 1083s # const gchar *name, 1083s # const gchar *object_path, 1083s # GCancellable *cancellable, 1083s # GError **error); 1083s # 1083s # void org_project_useful_interface_proxy_new_for_bus ( 1083s # GBusType bus_type, 1083s # GDBusProxyFlags flags, 1083s # const gchar *name, 1083s # const gchar *object_path, 1083s # GCancellable *cancellable, 1083s # GAsyncReadyCallback callback, 1083s # gpointer user_data); 1083s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1083s # GAsyncResult *res, 1083s # GError **error); 1083s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1083s # GBusType bus_type, 1083s # GDBusProxyFlags flags, 1083s # const gchar *name, 1083s # const gchar *object_path, 1083s # GCancellable *cancellable, 1083s # GError **error); 1083s # 1083s # 1083s # /* ---- */ 1083s # 1083s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1083s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1083s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1083s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1083s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1083s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1083s # 1083s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1083s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1083s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1083s # 1083s # struct _OrgProjectUsefulInterfaceSkeleton 1083s # { 1083s # /*< private >*/ 1083s # GDBusInterfaceSkeleton parent_instance; 1083s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1083s # }; 1083s # 1083s # struct _OrgProjectUsefulInterfaceSkeletonClass 1083s # { 1083s # GDBusInterfaceSkeletonClass parent_class; 1083s # }; 1083s # 1083s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1083s # 1083s # #if GLIB_CHECK_VERSION(2, 44, 0) 1083s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1083s # #endif 1083s # 1083s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1083s # 1083s # 1083s # G_END_DECLS 1083s # 1083s # #endif /* __STDOUT__ */ 1083s # /tmp/tmp1w20byzz/tmpgm_13vcy.xml: 1083s # 1083s # 1083s # 1083s # 1083s # 1083s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1w20byzz/tmpgm_13vcy.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1083s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1083s # Output: /* 1083s # * This file is generated by gdbus-codegen, do not modify it. 1083s # * 1083s # * The license of this code is the same as for the D-Bus interface description 1083s # * it was derived from. Note that it links to GLib, so must comply with the 1083s # * LGPL linking clauses. 1083s # */ 1083s # 1083s # #ifndef __STDOUT__ 1083s # #define __STDOUT__ 1083s # 1083s # #include 1083s # 1083s # G_BEGIN_DECLS 1083s # 1083s # 1083s # /* ------------------------------------------------------------------------ */ 1083s # /* Declarations for org.project.UsefulInterface */ 1083s # 1083s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1083s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1083s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1083s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1083s # 1083s # struct _OrgProjectUsefulInterface; 1083s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1083s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1083s # 1083s # struct _OrgProjectUsefulInterfaceIface 1083s # { 1083s # GTypeInterface parent_iface; 1083s # 1083s # gboolean (*handle_useful_method) ( 1083s # OrgProjectUsefulInterface *object, 1083s # GDBusMethodInvocation *invocation); 1083s # 1083s # }; 1083s # 1083s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1083s # 1083s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1083s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1083s # 1083s # 1083s # /* D-Bus method call completion functions: */ 1083s # void org_project_useful_interface_complete_useful_method ( 1083s # OrgProjectUsefulInterface *object, 1083s # GDBusMethodInvocation *invocation); 1083s # 1083s # 1083s # 1083s # /* D-Bus method calls: */ 1083s # void org_project_useful_interface_call_useful_method ( 1083s # OrgProjectUsefulInterface *proxy, 1083s # GCancellable *cancellable, 1083s # GAsyncReadyCallback callback, 1083s # gpointer user_data); 1083s # 1083s # gboolean org_project_useful_interface_call_useful_method_finish ( 1083s # OrgProjectUsefulInterface *proxy, 1083s # GAsyncResult *res, 1083s # GError **error); 1083s # 1083s # gboolean org_project_useful_interface_call_useful_method_sync ( 1083s # OrgProjectUsefulInterface *proxy, 1083s # GCancellable *cancellable, 1083s # GError **error); 1083s # 1083s # 1083s # 1083s # /* ---- */ 1083s # 1083s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1083s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1083s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1083s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1083s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1083s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1083s # 1083s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1083s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1083s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1083s # 1083s # struct _OrgProjectUsefulInterfaceProxy 1083s # { 1083s # /*< private >*/ 1083s # GDBusProxy parent_instance; 1083s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1083s # }; 1083s # 1083s # struct _OrgProjectUsefulInterfaceProxyClass 1083s # { 1083s # GDBusProxyClass parent_class; 1083s # }; 1083s # 1083s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1083s # 1083s # #if GLIB_CHECK_VERSION(2, 44, 0) 1083s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1083s # #endif 1083s # 1083s # void org_project_useful_interface_proxy_new ( 1083s # GDBusConnection *connection, 1083s # GDBusProxyFlags flags, 1083s # const gchar *name, 1083s # const gchar *object_path, 1083s # GCancellable *cancellable, 1083s # GAsyncReadyCallback callback, 1083s # gpointer user_data); 1083s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1083s # GAsyncResult *res, 1083s # GError **error); 1083s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1083s # GDBusConnection *connection, 1083s # GDBusProxyFlags flags, 1083s # const gchar *name, 1083s # const gchar *object_path, 1083s # GCancellable *cancellable, 1083s # GError **error); 1083s # 1083s # void org_project_useful_interface_proxy_new_for_bus ( 1083s # GBusType bus_type, 1083s # GDBusProxyFlags flags, 1083s # const gchar *name, 1083s # const gchar *object_path, 1083s # GCancellable *cancellable, 1083s # GAsyncReadyCallback callback, 1083s # gpointer user_data); 1083s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1083s # GAsyncResult *res, 1083s # GError **error); 1083s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1083s # GBusType bus_type, 1083s # GDBusProxyFlags flags, 1083s # const gchar *name, 1083s # const gchar *object_path, 1083s # GCancellable *cancellable, 1083s # GError **error); 1083s # 1083s # 1083s # /* ---- */ 1083s # 1083s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1083s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1083s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1083s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1083s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1083s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1083s # 1083s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1083s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1083s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1083s # 1083s # struct _OrgProjectUsefulInterfaceSkeleton 1083s # { 1083s # /*< private >*/ 1083s # GDBusInterfaceSkeleton parent_instance; 1083s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1083s # }; 1083s # 1083s # struct _OrgProjectUsefulInterfaceSkeletonClass 1083s # { 1083s # GDBusInterfaceSkeletonClass parent_class; 1083s # }; 1083s # 1083s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1083s # 1083s # #if GLIB_CHECK_VERSION(2, 44, 0) 1083s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1083s # #endif 1083s # 1083s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1083s # 1083s # 1083s # G_END_DECLS 1083s # 1083s # #endif /* __STDOUT__ */ 1083s # /tmp/tmp1w20byzz/tmpnrnhjip3.xml: 1083s # 1083s # 1083s # 1083s # 1083s # 1083s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1w20byzz/tmpnrnhjip3.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1083s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1083s # Output: /* 1083s # * This file is generated by gdbus-codegen, do not modify it. 1083s # * 1083s # * The license of this code is the same as for the D-Bus interface description 1083s # * it was derived from. Note that it links to GLib, so must comply with the 1083s # * LGPL linking clauses. 1083s # */ 1083s # 1083s # #ifndef __STDOUT__ 1083s # #define __STDOUT__ 1083s # 1083s # #include 1083s # 1083s # G_BEGIN_DECLS 1083s # 1083s # 1083s # /* ------------------------------------------------------------------------ */ 1083s # /* Declarations for org.project.UsefulInterface */ 1083s # 1083s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1083s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1083s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1083s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1083s # 1083s # struct _OrgProjectUsefulInterface; 1083s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1083s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1083s # 1083s # struct _OrgProjectUsefulInterfaceIface 1083s # { 1083s # GTypeInterface parent_iface; 1083s # 1083s # gboolean (*handle_useful_method) ( 1083s # OrgProjectUsefulInterface *object, 1083s # GDBusMethodInvocation *invocation); 1083s # 1083s # }; 1083s # 1083s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1083s # 1083s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1083s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1083s # 1083s # 1083s # /* D-Bus method call completion functions: */ 1083s # void org_project_useful_interface_complete_useful_method ( 1083s # OrgProjectUsefulInterface *object, 1083s # GDBusMethodInvocation *invocation); 1083s # 1083s # 1083s # 1083s # /* D-Bus method calls: */ 1083s # void org_project_useful_interface_call_useful_method ( 1083s # OrgProjectUsefulInterface *proxy, 1083s # GDBusCallFlags call_flags, 1083s # gint timeout_msec, 1083s # GCancellable *cancellable, 1083s # GAsyncReadyCallback callback, 1083s # gpointer user_data); 1083s # 1083s # gboolean org_project_useful_interface_call_useful_method_finish ( 1083s # OrgProjectUsefulInterface *proxy, 1083s # GAsyncResult *res, 1083s # GError **error); 1083s # 1083s # gboolean org_project_useful_interface_call_useful_method_sync ( 1083s # OrgProjectUsefulInterface *proxy, 1083s # GDBusCallFlags call_flags, 1083s # gint timeout_msec, 1083s # GCancellable *cancellable, 1083s # GError **error); 1083s # 1083s # 1083s # 1083s # /* ---- */ 1083s # 1083s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1083s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1083s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1083s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1083s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1083s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1083s # 1083s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1083s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1083s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1083s # 1083s # struct _OrgProjectUsefulInterfaceProxy 1083s # { 1083s # /*< private >*/ 1083s # GDBusProxy parent_instance; 1083s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1083s # }; 1083s # 1083s # struct _OrgProjectUsefulInterfaceProxyClass 1083s # { 1083s # GDBusProxyClass parent_class; 1083s # }; 1083s # 1083s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1083s # 1083s # #if GLIB_CHECK_VERSION(2, 44, 0) 1083s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1083s # #endif 1083s # 1083s # void org_project_useful_interface_proxy_new ( 1083s # GDBusConnection *connection, 1083s # GDBusProxyFlags flags, 1083s # const gchar *name, 1083s # const gchar *object_path, 1083s # GCancellable *cancellable, 1083s # GAsyncReadyCallback callback, 1083s # gpointer user_data); 1083s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1083s # GAsyncResult *res, 1083s # GError **error); 1083s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1083s # GDBusConnection *connection, 1083s # GDBusProxyFlags flags, 1083s # const gchar *name, 1083s # const gchar *object_path, 1083s # GCancellable *cancellable, 1083s # GError **error); 1083s # 1083s # void org_project_useful_interface_proxy_new_for_bus ( 1083s # GBusType bus_type, 1083s # GDBusProxyFlags flags, 1083s # const gchar *name, 1083s # const gchar *object_path, 1083s # GCancellable *cancellable, 1083s # GAsyncReadyCallback callback, 1083s # gpointer user_data); 1083s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1083s # GAsyncResult *res, 1083s # GError **error); 1083s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1083s # GBusType bus_type, 1083s # GDBusProxyFlags flags, 1083s # const gchar *name, 1083s # const gchar *object_path, 1083s # GCancellable *cancellable, 1083s # GError **error); 1083s # 1083s # 1083s # /* ---- */ 1083s # 1083s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1083s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1083s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1083s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1083s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1083s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1083s # 1083s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1083s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1083s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1083s # 1083s # struct _OrgProjectUsefulInterfaceSkeleton 1083s # { 1083s # /*< private >*/ 1083s # GDBusInterfaceSkeleton parent_instance; 1083s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1083s # }; 1083s # 1083s # struct _OrgProjectUsefulInterfaceSkeletonClass 1083s # { 1083s # GDBusInterfaceSkeletonClass parent_class; 1083s # }; 1083s # 1083s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1083s # 1083s # #if GLIB_CHECK_VERSION(2, 44, 0) 1083s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1083s # #endif 1083s # 1083s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1083s # 1083s # 1083s # G_END_DECLS 1083s # 1083s # #endif /* __STDOUT__ */ 1084s # Executing: glib/codegen.py.test 1084s ok 2 __main__.TestCodegen.test_dbus_types 1084s # tmpdir: /tmp/tmp_zt2qn1l 1084s # codegen: /usr/bin/gdbus-codegen 1084s # /tmp/tmp_zt2qn1l/tmpr5f7op9j.xml: 1084s # 1084s # 1084s # 1084s # 1084s # 1084s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zt2qn1l/tmpr5f7op9j.xml', '--output', '-', '--body'] 1084s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1084s # /tmp/tmp_zt2qn1l/tmpg0lyp58x.xml: 1084s # 1084s # 1084s # 1084s # 1084s # 1084s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zt2qn1l/tmpg0lyp58x.xml', '--output', '-', '--body'] 1084s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1084s # /tmp/tmp_zt2qn1l/tmp43c_xeps.xml: 1084s # 1084s # 1084s # 1084s # 1084s # 1084s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zt2qn1l/tmp43c_xeps.xml', '--output', '-', '--body'] 1084s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1084s # /tmp/tmp_zt2qn1l/tmpgb_dr6jk.xml: 1084s # 1084s # 1084s # 1084s # 1084s # 1084s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zt2qn1l/tmpgb_dr6jk.xml', '--output', '-', '--body'] 1084s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1084s # /tmp/tmp_zt2qn1l/tmpqbiz7db3.xml: 1084s # 1084s # 1084s # 1084s # 1084s # 1084s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zt2qn1l/tmpqbiz7db3.xml', '--output', '-', '--body'] 1084s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1084s # /tmp/tmp_zt2qn1l/tmp6b86z5ke.xml: 1084s # 1084s # 1084s # 1084s # 1084s # 1084s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zt2qn1l/tmp6b86z5ke.xml', '--output', '-', '--body'] 1084s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1084s # /tmp/tmp_zt2qn1l/tmpdgidiz8k.xml: 1084s # 1084s # 1084s # 1084s # 1084s # 1084s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zt2qn1l/tmpdgidiz8k.xml', '--output', '-', '--body'] 1084s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1084s # /tmp/tmp_zt2qn1l/tmp0rmfgxv8.xml: 1084s # 1084s # 1084s # 1084s # 1084s # 1084s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zt2qn1l/tmp0rmfgxv8.xml', '--output', '-', '--body'] 1084s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1084s # /tmp/tmp_zt2qn1l/tmp5fkqccx4.xml: 1084s # 1084s # 1084s # 1084s # 1084s # 1084s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zt2qn1l/tmp5fkqccx4.xml', '--output', '-', '--body'] 1084s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1084s # /tmp/tmp_zt2qn1l/tmplaaky4cf.xml: 1084s # 1084s # 1084s # 1084s # 1084s # 1084s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zt2qn1l/tmplaaky4cf.xml', '--output', '-', '--body'] 1084s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1084s # /tmp/tmp_zt2qn1l/tmp9p3zpwhp.xml: 1084s # 1084s # 1084s # 1084s # 1084s # 1084s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zt2qn1l/tmp9p3zpwhp.xml', '--output', '-', '--body'] 1084s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1084s # /tmp/tmp_zt2qn1l/tmp0rkavgvw.xml: 1084s # 1084s # 1084s # 1084s # 1084s # 1084s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zt2qn1l/tmp0rkavgvw.xml', '--output', '-', '--body'] 1084s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1084s # /tmp/tmp_zt2qn1l/tmpgs7qinmi.xml: 1084s # 1084s # 1084s # 1084s # 1084s # 1084s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zt2qn1l/tmpgs7qinmi.xml', '--output', '-', '--body'] 1084s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1084s # /tmp/tmp_zt2qn1l/tmpwmnza_13.xml: 1084s # 1084s # 1084s # 1084s # 1084s # 1084s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zt2qn1l/tmpwmnza_13.xml', '--output', '-', '--body'] 1084s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1084s # Output: /* 1084s # * This file is generated by gdbus-codegen, do not modify it. 1084s # * 1084s # * The license of this code is the same as for the D-Bus interface description 1084s # * it was derived from. Note that it links to GLib, so must comply with the 1084s # * LGPL linking clauses. 1084s # */ 1084s # 1084s # #ifdef HAVE_CONFIG_H 1084s # # include "config.h" 1084s # #endif 1084s # 1084s # #include 1084s # #ifdef G_OS_UNIX 1084s # # include 1084s # #endif 1084s # 1084s # #ifdef G_ENABLE_DEBUG 1084s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1084s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1084s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1084s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1084s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1084s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1084s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1084s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1084s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1084s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1084s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1084s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1084s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1084s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1084s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1084s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1084s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1084s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1084s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1084s # #else /* !G_ENABLE_DEBUG */ 1084s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1084s # * Do not access GValues directly in your code. Instead, use the 1084s # * g_value_get_*() functions 1084s # */ 1084s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1084s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1084s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1084s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1084s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1084s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1084s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1084s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1084s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1084s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1084s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1084s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1084s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1084s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1084s # #endif /* !G_ENABLE_DEBUG */ 1084s # 1084s # typedef struct 1084s # { 1084s # GDBusArgInfo parent_struct; 1084s # gboolean use_gvariant; 1084s # } _ExtendedGDBusArgInfo; 1084s # 1084s # typedef struct 1084s # { 1084s # GDBusMethodInfo parent_struct; 1084s # const gchar *signal_name; 1084s # gboolean pass_fdlist; 1084s # } _ExtendedGDBusMethodInfo; 1084s # 1084s # typedef struct 1084s # { 1084s # GDBusSignalInfo parent_struct; 1084s # const gchar *signal_name; 1084s # } _ExtendedGDBusSignalInfo; 1084s # 1084s # typedef struct 1084s # { 1084s # GDBusPropertyInfo parent_struct; 1084s # const gchar *hyphen_name; 1084s # guint use_gvariant : 1; 1084s # guint emits_changed_signal : 1; 1084s # } _ExtendedGDBusPropertyInfo; 1084s # 1084s # typedef struct 1084s # { 1084s # GDBusInterfaceInfo parent_struct; 1084s # const gchar *hyphen_name; 1084s # } _ExtendedGDBusInterfaceInfo; 1084s # 1084s # typedef struct 1084s # { 1084s # const _ExtendedGDBusPropertyInfo *info; 1084s # guint prop_id; 1084s # GValue orig_value; /* the value before the change */ 1084s # } ChangedProperty; 1084s # 1084s # static void 1084s # _changed_property_free (ChangedProperty *data) 1084s # { 1084s # g_value_unset (&data->orig_value); 1084s # g_free (data); 1084s # } 1084s # 1084s # static gboolean 1084s # _g_strv_equal0 (gchar **a, gchar **b) 1084s # { 1084s # gboolean ret = FALSE; 1084s # guint n; 1084s # if (a == NULL && b == NULL) 1084s # { 1084s # ret = TRUE; 1084s # goto out; 1084s # } 1084s # if (a == NULL || b == NULL) 1084s # goto out; 1084s # if (g_strv_length (a) != g_strv_length (b)) 1084s # goto out; 1084s # for (n = 0; a[n] != NULL; n++) 1084s # if (g_strcmp0 (a[n], b[n]) != 0) 1084s # goto out; 1084s # ret = TRUE; 1084s # out: 1084s # return ret; 1084s # } 1084s # 1084s # static gboolean 1084s # _g_variant_equal0 (GVariant *a, GVariant *b) 1084s # { 1084s # gboolean ret = FALSE; 1084s # if (a == NULL && b == NULL) 1084s # { 1084s # ret = TRUE; 1084s # goto out; 1084s # } 1084s # if (a == NULL || b == NULL) 1084s # goto out; 1084s # ret = g_variant_equal (a, b); 1084s # out: 1084s # return ret; 1084s # } 1084s # 1084s # G_GNUC_UNUSED static gboolean 1084s # _g_value_equal (const GValue *a, const GValue *b) 1084s # { 1084s # gboolean ret = FALSE; 1084s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1084s # switch (G_VALUE_TYPE (a)) 1084s # { 1084s # case G_TYPE_BOOLEAN: 1084s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1084s # break; 1084s # case G_TYPE_UCHAR: 1084s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1084s # break; 1084s # case G_TYPE_INT: 1084s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1084s # break; 1084s # case G_TYPE_UINT: 1084s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1084s # break; 1084s # case G_TYPE_INT64: 1084s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1084s # break; 1084s # case G_TYPE_UINT64: 1084s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1084s # break; 1084s # case G_TYPE_DOUBLE: 1084s # { 1084s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1084s # gdouble da = g_value_get_double (a); 1084s # gdouble db = g_value_get_double (b); 1084s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1084s # } 1084s # break; 1084s # case G_TYPE_STRING: 1084s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1084s # break; 1084s # case G_TYPE_VARIANT: 1084s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1084s # break; 1084s # default: 1084s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1084s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1084s # else 1084s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1084s # break; 1084s # } 1084s # return ret; 1084s # } 1084s # 1084s # /* ------------------------------------------------------------------------ 1084s # * Code for interface GoodTypes 1084s # * ------------------------------------------------------------------------ 1084s # */ 1084s # 1084s # /** 1084s # * SECTION:GoodTypes 1084s # * @title: GoodTypes 1084s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1084s # * 1084s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1084s # */ 1084s # 1084s # /* ---- Introspection data for GoodTypes ---- */ 1084s # 1084s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1084s # { 1084s # { 1084s # -1, 1084s # (gchar *) "GoodPropertyType", 1084s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 1084s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1084s # NULL 1084s # }, 1084s # "good-property-type", 1084s # FALSE, 1084s # TRUE 1084s # }; 1084s # 1084s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1084s # { 1084s # &_good_types_property_info_good_property_type.parent_struct, 1084s # NULL 1084s # }; 1084s # 1084s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1084s # { 1084s # { 1084s # -1, 1084s # (gchar *) "GoodTypes", 1084s # NULL, 1084s # NULL, 1084s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1084s # NULL 1084s # }, 1084s # "good-types", 1084s # }; 1084s # 1084s # 1084s # /** 1084s # * good_types_interface_info: 1084s # * 1084s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1084s # * 1084s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1084s # */ 1084s # GDBusInterfaceInfo * 1084s # good_types_interface_info (void) 1084s # { 1084s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1084s # } 1084s # 1084s # /** 1084s # * good_types_override_properties: 1084s # * @klass: The class structure for a #GObject derived class. 1084s # * @property_id_begin: The property id to assign to the first overridden property. 1084s # * 1084s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1084s # * The properties are overridden in the order they are defined. 1084s # * 1084s # * Returns: The last property id. 1084s # */ 1084s # guint 1084s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1084s # { 1084s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1084s # return property_id_begin - 1; 1084s # } 1084s # 1084s # 1084s # 1084s # /** 1084s # * GoodTypes: 1084s # * 1084s # * Abstract interface type for the D-Bus interface GoodTypes. 1084s # */ 1084s # 1084s # /** 1084s # * GoodTypesIface: 1084s # * @parent_iface: The parent interface. 1084s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1084s # * 1084s # * Virtual table for the D-Bus interface GoodTypes. 1084s # */ 1084s # 1084s # typedef GoodTypesIface GoodTypesInterface; 1084s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1084s # 1084s # static void 1084s # good_types_default_init (GoodTypesIface *iface) 1084s # { 1084s # /* GObject properties for D-Bus properties: */ 1084s # /** 1084s # * GoodTypes:good-property-type: 1084s # * 1084s # * Represents the D-Bus property "GoodPropertyType". 1084s # * 1084s # * 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. 1084s # */ 1084s # g_object_interface_install_property (iface, 1084s # 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)); 1084s # } 1084s # 1084s # /** 1084s # * good_types_get_good_property_type: (skip) 1084s # * @object: A GoodTypes. 1084s # * 1084s # * Gets the value of the "GoodPropertyType" D-Bus property. 1084s # * 1084s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1084s # * 1084s # * 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. 1084s # * 1084s # * 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. 1084s # */ 1084s # GVariant * 1084s # good_types_get_good_property_type (GoodTypes *object) 1084s # { 1084s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1084s # 1084s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1084s # } 1084s # 1084s # /** 1084s # * good_types_dup_good_property_type: (skip) 1084s # * @object: A GoodTypes. 1084s # * 1084s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1084s # * 1084s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1084s # * 1084s # * 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(). 1084s # */ 1084s # GVariant * 1084s # good_types_dup_good_property_type (GoodTypes *object) 1084s # { 1084s # GVariant *value; 1084s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1084s # return value; 1084s # } 1084s # 1084s # /** 1084s # * good_types_set_good_property_type: (skip) 1084s # * @object: A GoodTypes. 1084s # * @value: The value to set. 1084s # * 1084s # * Sets the "GoodPropertyType" D-Bus property to @value. 1084s # * 1084s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1084s # */ 1084s # void 1084s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1084s # { 1084s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1084s # } 1084s # 1084s # /* ------------------------------------------------------------------------ */ 1084s # 1084s # /** 1084s # * GoodTypesProxy: 1084s # * 1084s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1084s # */ 1084s # 1084s # /** 1084s # * GoodTypesProxyClass: 1084s # * @parent_class: The parent class. 1084s # * 1084s # * Class structure for GoodTypesProxy. 1084s # */ 1084s # 1084s # struct _GoodTypesProxyPrivate 1084s # { 1084s # GData *qdata; 1084s # }; 1084s # 1084s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1084s # 1084s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1084s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1084s # G_ADD_PRIVATE (GoodTypesProxy) 1084s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1084s # 1084s # #else 1084s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1084s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1084s # 1084s # #endif 1084s # static void 1084s # good_types_proxy_finalize (GObject *object) 1084s # { 1084s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1084s # g_datalist_clear (&proxy->priv->qdata); 1084s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1084s # } 1084s # 1084s # static void 1084s # good_types_proxy_get_property (GObject *object, 1084s # guint prop_id, 1084s # GValue *value, 1084s # GParamSpec *pspec G_GNUC_UNUSED) 1084s # { 1084s # const _ExtendedGDBusPropertyInfo *info; 1084s # GVariant *variant; 1084s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1084s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1084s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1084s # if (info->use_gvariant) 1084s # { 1084s # g_value_set_variant (value, variant); 1084s # } 1084s # else 1084s # { 1084s # if (variant != NULL) 1084s # g_dbus_gvariant_to_gvalue (variant, value); 1084s # } 1084s # if (variant != NULL) 1084s # g_variant_unref (variant); 1084s # } 1084s # 1084s # static void 1084s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1084s # GAsyncResult *res, 1084s # gpointer user_data) 1084s # { 1084s # const _ExtendedGDBusPropertyInfo *info = user_data; 1084s # GError *error; 1084s # GVariant *_ret; 1084s # error = NULL; 1084s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1084s # if (!_ret) 1084s # { 1084s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1084s # info->parent_struct.name, 1084s # error->message, g_quark_to_string (error->domain), error->code); 1084s # g_error_free (error); 1084s # } 1084s # else 1084s # { 1084s # g_variant_unref (_ret); 1084s # } 1084s # } 1084s # 1084s # static void 1084s # good_types_proxy_set_property (GObject *object, 1084s # guint prop_id, 1084s # const GValue *value, 1084s # GParamSpec *pspec G_GNUC_UNUSED) 1084s # { 1084s # const _ExtendedGDBusPropertyInfo *info; 1084s # GVariant *variant; 1084s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1084s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1084s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1084s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1084s # "org.freedesktop.DBus.Properties.Set", 1084s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1084s # G_DBUS_CALL_FLAGS_NONE, 1084s # -1, 1084s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1084s # g_variant_unref (variant); 1084s # } 1084s # 1084s # static void 1084s # good_types_proxy_g_signal (GDBusProxy *proxy, 1084s # const gchar *sender_name G_GNUC_UNUSED, 1084s # const gchar *signal_name, 1084s # GVariant *parameters) 1084s # { 1084s # _ExtendedGDBusSignalInfo *info; 1084s # GVariantIter iter; 1084s # GVariant *child; 1084s # GValue *paramv; 1084s # gsize num_params; 1084s # gsize n; 1084s # guint signal_id; 1084s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1084s # if (info == NULL) 1084s # return; 1084s # num_params = g_variant_n_children (parameters); 1084s # paramv = g_new0 (GValue, num_params + 1); 1084s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1084s # g_value_set_object (¶mv[0], proxy); 1084s # g_variant_iter_init (&iter, parameters); 1084s # n = 1; 1084s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1084s # { 1084s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1084s # if (arg_info->use_gvariant) 1084s # { 1084s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1084s # g_value_set_variant (¶mv[n], child); 1084s # n++; 1084s # } 1084s # else 1084s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1084s # g_variant_unref (child); 1084s # } 1084s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1084s # g_signal_emitv (paramv, signal_id, 0, NULL); 1084s # for (n = 0; n < num_params + 1; n++) 1084s # g_value_unset (¶mv[n]); 1084s # g_free (paramv); 1084s # } 1084s # 1084s # static void 1084s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1084s # GVariant *changed_properties, 1084s # const gchar *const *invalidated_properties) 1084s # { 1084s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1084s # guint n; 1084s # const gchar *key; 1084s # GVariantIter *iter; 1084s # _ExtendedGDBusPropertyInfo *info; 1084s # g_variant_get (changed_properties, "a{sv}", &iter); 1084s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1084s # { 1084s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1084s # g_datalist_remove_data (&proxy->priv->qdata, key); 1084s # if (info != NULL) 1084s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1084s # } 1084s # g_variant_iter_free (iter); 1084s # for (n = 0; invalidated_properties[n] != NULL; n++) 1084s # { 1084s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1084s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1084s # if (info != NULL) 1084s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1084s # } 1084s # } 1084s # 1084s # static GVariant * 1084s # good_types_proxy_get_good_property_type (GoodTypes *object) 1084s # { 1084s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1084s # GVariant *variant; 1084s # GVariant *value = NULL; 1084s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1084s # value = variant; 1084s # if (variant != NULL) 1084s # g_variant_unref (variant); 1084s # return value; 1084s # } 1084s # 1084s # static void 1084s # good_types_proxy_init (GoodTypesProxy *proxy) 1084s # { 1084s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1084s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1084s # #else 1084s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1084s # #endif 1084s # 1084s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1084s # } 1084s # 1084s # static void 1084s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1084s # { 1084s # GObjectClass *gobject_class; 1084s # GDBusProxyClass *proxy_class; 1084s # 1084s # gobject_class = G_OBJECT_CLASS (klass); 1084s # gobject_class->finalize = good_types_proxy_finalize; 1084s # gobject_class->get_property = good_types_proxy_get_property; 1084s # gobject_class->set_property = good_types_proxy_set_property; 1084s # 1084s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1084s # proxy_class->g_signal = good_types_proxy_g_signal; 1084s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1084s # 1084s # good_types_override_properties (gobject_class, 1); 1084s # 1084s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1084s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1084s # #endif 1084s # } 1084s # 1084s # static void 1084s # good_types_proxy_iface_init (GoodTypesIface *iface) 1084s # { 1084s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1084s # } 1084s # 1084s # /** 1084s # * good_types_proxy_new: 1084s # * @connection: A #GDBusConnection. 1084s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1084s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1084s # * @object_path: An object path. 1084s # * @cancellable: (nullable): A #GCancellable or %NULL. 1084s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1084s # * @user_data: User data to pass to @callback. 1084s # * 1084s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1084s # * 1084s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1084s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1084s # * 1084s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1084s # */ 1084s # void 1084s # good_types_proxy_new ( 1084s # GDBusConnection *connection, 1084s # GDBusProxyFlags flags, 1084s # const gchar *name, 1084s # const gchar *object_path, 1084s # GCancellable *cancellable, 1084s # GAsyncReadyCallback callback, 1084s # gpointer user_data) 1084s # { 1084s # 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); 1084s # } 1084s # 1084s # /** 1084s # * good_types_proxy_new_finish: 1084s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1084s # * @error: Return location for error or %NULL 1084s # * 1084s # * Finishes an operation started with good_types_proxy_new(). 1084s # * 1084s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1084s # */ 1084s # GoodTypes * 1084s # good_types_proxy_new_finish ( 1084s # GAsyncResult *res, 1084s # GError **error) 1084s # { 1084s # GObject *ret; 1084s # GObject *source_object; 1084s # source_object = g_async_result_get_source_object (res); 1084s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1084s # g_object_unref (source_object); 1084s # if (ret != NULL) 1084s # return GOOD_TYPES (ret); 1084s # else 1084s # return NULL; 1084s # } 1084s # 1084s # /** 1084s # * good_types_proxy_new_sync: 1084s # * @connection: A #GDBusConnection. 1084s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1084s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1084s # * @object_path: An object path. 1084s # * @cancellable: (nullable): A #GCancellable or %NULL. 1084s # * @error: Return location for error or %NULL 1084s # * 1084s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1084s # * 1084s # * The calling thread is blocked until a reply is received. 1084s # * 1084s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1084s # * 1084s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1084s # */ 1084s # GoodTypes * 1084s # good_types_proxy_new_sync ( 1084s # GDBusConnection *connection, 1084s # GDBusProxyFlags flags, 1084s # const gchar *name, 1084s # const gchar *object_path, 1084s # GCancellable *cancellable, 1084s # GError **error) 1084s # { 1084s # GInitable *ret; 1084s # 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); 1084s # if (ret != NULL) 1084s # return GOOD_TYPES (ret); 1084s # else 1084s # return NULL; 1084s # } 1084s # 1084s # 1084s # /** 1084s # * good_types_proxy_new_for_bus: 1084s # * @bus_type: A #GBusType. 1084s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1084s # * @name: A bus name (well-known or unique). 1084s # * @object_path: An object path. 1084s # * @cancellable: (nullable): A #GCancellable or %NULL. 1084s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1084s # * @user_data: User data to pass to @callback. 1084s # * 1084s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1084s # * 1084s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1084s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1084s # * 1084s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1084s # */ 1084s # void 1084s # good_types_proxy_new_for_bus ( 1084s # GBusType bus_type, 1084s # GDBusProxyFlags flags, 1084s # const gchar *name, 1084s # const gchar *object_path, 1084s # GCancellable *cancellable, 1084s # GAsyncReadyCallback callback, 1084s # gpointer user_data) 1084s # { 1084s # 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); 1084s # } 1084s # 1084s # /** 1084s # * good_types_proxy_new_for_bus_finish: 1084s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1084s # * @error: Return location for error or %NULL 1084s # * 1084s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1084s # * 1084s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1084s # */ 1084s # GoodTypes * 1084s # good_types_proxy_new_for_bus_finish ( 1084s # GAsyncResult *res, 1084s # GError **error) 1084s # { 1084s # GObject *ret; 1084s # GObject *source_object; 1084s # source_object = g_async_result_get_source_object (res); 1084s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1084s # g_object_unref (source_object); 1084s # if (ret != NULL) 1084s # return GOOD_TYPES (ret); 1084s # else 1084s # return NULL; 1084s # } 1084s # 1084s # /** 1084s # * good_types_proxy_new_for_bus_sync: 1084s # * @bus_type: A #GBusType. 1084s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1084s # * @name: A bus name (well-known or unique). 1084s # * @object_path: An object path. 1084s # * @cancellable: (nullable): A #GCancellable or %NULL. 1084s # * @error: Return location for error or %NULL 1084s # * 1084s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1084s # * 1084s # * The calling thread is blocked until a reply is received. 1084s # * 1084s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1084s # * 1084s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1084s # */ 1084s # GoodTypes * 1084s # good_types_proxy_new_for_bus_sync ( 1084s # GBusType bus_type, 1084s # GDBusProxyFlags flags, 1084s # const gchar *name, 1084s # const gchar *object_path, 1084s # GCancellable *cancellable, 1084s # GError **error) 1084s # { 1084s # GInitable *ret; 1084s # 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); 1084s # if (ret != NULL) 1084s # return GOOD_TYPES (ret); 1084s # else 1084s # return NULL; 1084s # } 1084s # 1084s # 1084s # /* ------------------------------------------------------------------------ */ 1084s # 1084s # /** 1084s # * GoodTypesSkeleton: 1084s # * 1084s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1084s # */ 1084s # 1084s # /** 1084s # * GoodTypesSkeletonClass: 1084s # * @parent_class: The parent class. 1084s # * 1084s # * Class structure for GoodTypesSkeleton. 1084s # */ 1084s # 1084s # struct _GoodTypesSkeletonPrivate 1084s # { 1084s # GValue *properties; 1084s # GList *changed_properties; 1084s # GSource *changed_properties_idle_source; 1084s # GMainContext *context; 1084s # GMutex lock; 1084s # }; 1084s # 1084s # static void 1084s # _good_types_skeleton_handle_method_call ( 1084s # GDBusConnection *connection G_GNUC_UNUSED, 1084s # const gchar *sender G_GNUC_UNUSED, 1084s # const gchar *object_path G_GNUC_UNUSED, 1084s # const gchar *interface_name, 1084s # const gchar *method_name, 1084s # GVariant *parameters, 1084s # GDBusMethodInvocation *invocation, 1084s # gpointer user_data) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1084s # _ExtendedGDBusMethodInfo *info; 1084s # GVariantIter iter; 1084s # GVariant *child; 1084s # GValue *paramv; 1084s # gsize num_params; 1084s # guint num_extra; 1084s # gsize n; 1084s # guint signal_id; 1084s # GValue return_value = G_VALUE_INIT; 1084s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1084s # g_assert (info != NULL); 1084s # num_params = g_variant_n_children (parameters); 1084s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1084s # n = 0; 1084s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1084s # g_value_set_object (¶mv[n++], skeleton); 1084s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1084s # g_value_set_object (¶mv[n++], invocation); 1084s # if (info->pass_fdlist) 1084s # { 1084s # #ifdef G_OS_UNIX 1084s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1084s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1084s # #else 1084s # g_assert_not_reached (); 1084s # #endif 1084s # } 1084s # g_variant_iter_init (&iter, parameters); 1084s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1084s # { 1084s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1084s # if (arg_info->use_gvariant) 1084s # { 1084s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1084s # g_value_set_variant (¶mv[n], child); 1084s # n++; 1084s # } 1084s # else 1084s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1084s # g_variant_unref (child); 1084s # } 1084s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1084s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1084s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1084s # if (!g_value_get_boolean (&return_value)) 1084s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1084s # g_value_unset (&return_value); 1084s # for (n = 0; n < num_params + num_extra; n++) 1084s # g_value_unset (¶mv[n]); 1084s # g_free (paramv); 1084s # } 1084s # 1084s # static GVariant * 1084s # _good_types_skeleton_handle_get_property ( 1084s # GDBusConnection *connection G_GNUC_UNUSED, 1084s # const gchar *sender G_GNUC_UNUSED, 1084s # const gchar *object_path G_GNUC_UNUSED, 1084s # const gchar *interface_name G_GNUC_UNUSED, 1084s # const gchar *property_name, 1084s # GError **error, 1084s # gpointer user_data) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1084s # GValue value = G_VALUE_INIT; 1084s # GParamSpec *pspec; 1084s # _ExtendedGDBusPropertyInfo *info; 1084s # GVariant *ret; 1084s # ret = NULL; 1084s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1084s # g_assert (info != NULL); 1084s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1084s # if (pspec == NULL) 1084s # { 1084s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1084s # } 1084s # else 1084s # { 1084s # g_value_init (&value, pspec->value_type); 1084s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1084s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1084s # g_value_unset (&value); 1084s # } 1084s # return ret; 1084s # } 1084s # 1084s # static gboolean 1084s # _good_types_skeleton_handle_set_property ( 1084s # GDBusConnection *connection G_GNUC_UNUSED, 1084s # const gchar *sender G_GNUC_UNUSED, 1084s # const gchar *object_path G_GNUC_UNUSED, 1084s # const gchar *interface_name G_GNUC_UNUSED, 1084s # const gchar *property_name, 1084s # GVariant *variant, 1084s # GError **error, 1084s # gpointer user_data) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1084s # GValue value = G_VALUE_INIT; 1084s # GParamSpec *pspec; 1084s # _ExtendedGDBusPropertyInfo *info; 1084s # gboolean ret; 1084s # ret = FALSE; 1084s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1084s # g_assert (info != NULL); 1084s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1084s # if (pspec == NULL) 1084s # { 1084s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1084s # } 1084s # else 1084s # { 1084s # if (info->use_gvariant) 1084s # g_value_set_variant (&value, variant); 1084s # else 1084s # g_dbus_gvariant_to_gvalue (variant, &value); 1084s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1084s # g_value_unset (&value); 1084s # ret = TRUE; 1084s # } 1084s # return ret; 1084s # } 1084s # 1084s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1084s # { 1084s # _good_types_skeleton_handle_method_call, 1084s # _good_types_skeleton_handle_get_property, 1084s # _good_types_skeleton_handle_set_property, 1084s # {NULL} 1084s # }; 1084s # 1084s # static GDBusInterfaceInfo * 1084s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1084s # { 1084s # return good_types_interface_info (); 1084s # } 1084s # 1084s # static GDBusInterfaceVTable * 1084s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1084s # { 1084s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1084s # } 1084s # 1084s # static GVariant * 1084s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1084s # 1084s # GVariantBuilder builder; 1084s # guint n; 1084s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1084s # if (_good_types_interface_info.parent_struct.properties == NULL) 1084s # goto out; 1084s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1084s # { 1084s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1084s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1084s # { 1084s # GVariant *value; 1084s # 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); 1084s # if (value != NULL) 1084s # { 1084s # g_variant_take_ref (value); 1084s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1084s # g_variant_unref (value); 1084s # } 1084s # } 1084s # } 1084s # out: 1084s # return g_variant_builder_end (&builder); 1084s # } 1084s # 1084s # static gboolean _good_types_emit_changed (gpointer user_data); 1084s # 1084s # static void 1084s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1084s # gboolean emit_changed = FALSE; 1084s # 1084s # g_mutex_lock (&skeleton->priv->lock); 1084s # if (skeleton->priv->changed_properties_idle_source != NULL) 1084s # { 1084s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1084s # skeleton->priv->changed_properties_idle_source = NULL; 1084s # emit_changed = TRUE; 1084s # } 1084s # g_mutex_unlock (&skeleton->priv->lock); 1084s # 1084s # if (emit_changed) 1084s # _good_types_emit_changed (skeleton); 1084s # } 1084s # 1084s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1084s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1084s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1084s # G_ADD_PRIVATE (GoodTypesSkeleton) 1084s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1084s # 1084s # #else 1084s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1084s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1084s # 1084s # #endif 1084s # static void 1084s # good_types_skeleton_finalize (GObject *object) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1084s # guint n; 1084s # for (n = 0; n < 1; n++) 1084s # g_value_unset (&skeleton->priv->properties[n]); 1084s # g_free (skeleton->priv->properties); 1084s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1084s # if (skeleton->priv->changed_properties_idle_source != NULL) 1084s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1084s # g_main_context_unref (skeleton->priv->context); 1084s # g_mutex_clear (&skeleton->priv->lock); 1084s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1084s # } 1084s # 1084s # static void 1084s # good_types_skeleton_get_property (GObject *object, 1084s # guint prop_id, 1084s # GValue *value, 1084s # GParamSpec *pspec G_GNUC_UNUSED) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1084s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1084s # g_mutex_lock (&skeleton->priv->lock); 1084s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1084s # g_mutex_unlock (&skeleton->priv->lock); 1084s # } 1084s # 1084s # static gboolean 1084s # _good_types_emit_changed (gpointer user_data) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1084s # GList *l; 1084s # GVariantBuilder builder; 1084s # GVariantBuilder invalidated_builder; 1084s # guint num_changes; 1084s # 1084s # g_mutex_lock (&skeleton->priv->lock); 1084s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1084s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1084s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1084s # { 1084s # ChangedProperty *cp = l->data; 1084s # GVariant *variant; 1084s # const GValue *cur_value; 1084s # 1084s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1084s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1084s # { 1084s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1084s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1084s # g_variant_unref (variant); 1084s # num_changes++; 1084s # } 1084s # } 1084s # if (num_changes > 0) 1084s # { 1084s # GList *connections, *ll; 1084s # GVariant *signal_variant; 1084s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1084s # &builder, &invalidated_builder)); 1084s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1084s # for (ll = connections; ll != NULL; ll = ll->next) 1084s # { 1084s # GDBusConnection *connection = ll->data; 1084s # 1084s # g_dbus_connection_emit_signal (connection, 1084s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1084s # "org.freedesktop.DBus.Properties", 1084s # "PropertiesChanged", 1084s # signal_variant, 1084s # NULL); 1084s # } 1084s # g_variant_unref (signal_variant); 1084s # g_list_free_full (connections, g_object_unref); 1084s # } 1084s # else 1084s # { 1084s # g_variant_builder_clear (&builder); 1084s # g_variant_builder_clear (&invalidated_builder); 1084s # } 1084s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1084s # skeleton->priv->changed_properties = NULL; 1084s # skeleton->priv->changed_properties_idle_source = NULL; 1084s # g_mutex_unlock (&skeleton->priv->lock); 1084s # return FALSE; 1084s # } 1084s # 1084s # static void 1084s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1084s # { 1084s # ChangedProperty *cp; 1084s # GList *l; 1084s # cp = NULL; 1084s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1084s # { 1084s # ChangedProperty *i_cp = l->data; 1084s # if (i_cp->info == info) 1084s # { 1084s # cp = i_cp; 1084s # break; 1084s # } 1084s # } 1084s # if (cp == NULL) 1084s # { 1084s # cp = g_new0 (ChangedProperty, 1); 1084s # cp->prop_id = prop_id; 1084s # cp->info = info; 1084s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1084s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1084s # g_value_copy (orig_value, &cp->orig_value); 1084s # } 1084s # } 1084s # 1084s # static void 1084s # good_types_skeleton_notify (GObject *object, 1084s # GParamSpec *pspec G_GNUC_UNUSED) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1084s # g_mutex_lock (&skeleton->priv->lock); 1084s # if (skeleton->priv->changed_properties != NULL && 1084s # skeleton->priv->changed_properties_idle_source == NULL) 1084s # { 1084s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1084s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1084s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1084s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1084s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1084s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1084s # } 1084s # g_mutex_unlock (&skeleton->priv->lock); 1084s # } 1084s # 1084s # static void 1084s # good_types_skeleton_set_property (GObject *object, 1084s # guint prop_id, 1084s # const GValue *value, 1084s # GParamSpec *pspec) 1084s # { 1084s # const _ExtendedGDBusPropertyInfo *info; 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1084s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1084s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1084s # g_mutex_lock (&skeleton->priv->lock); 1084s # g_object_freeze_notify (object); 1084s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1084s # { 1084s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1084s # info->emits_changed_signal) 1084s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1084s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1084s # g_object_notify_by_pspec (object, pspec); 1084s # } 1084s # g_mutex_unlock (&skeleton->priv->lock); 1084s # g_object_thaw_notify (object); 1084s # } 1084s # 1084s # static void 1084s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1084s # { 1084s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1084s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1084s # #else 1084s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1084s # #endif 1084s # 1084s # g_mutex_init (&skeleton->priv->lock); 1084s # skeleton->priv->context = g_main_context_ref_thread_default (); 1084s # skeleton->priv->properties = g_new0 (GValue, 1); 1084s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1084s # } 1084s # 1084s # static GVariant * 1084s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1084s # GVariant *value; 1084s # g_mutex_lock (&skeleton->priv->lock); 1084s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1084s # g_mutex_unlock (&skeleton->priv->lock); 1084s # return value; 1084s # } 1084s # 1084s # static void 1084s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1084s # { 1084s # GObjectClass *gobject_class; 1084s # GDBusInterfaceSkeletonClass *skeleton_class; 1084s # 1084s # gobject_class = G_OBJECT_CLASS (klass); 1084s # gobject_class->finalize = good_types_skeleton_finalize; 1084s # gobject_class->get_property = good_types_skeleton_get_property; 1084s # gobject_class->set_property = good_types_skeleton_set_property; 1084s # gobject_class->notify = good_types_skeleton_notify; 1084s # 1084s # 1084s # good_types_override_properties (gobject_class, 1); 1084s # 1084s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1084s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1084s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1084s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1084s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1084s # 1084s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1084s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1084s # #endif 1084s # } 1084s # 1084s # static void 1084s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1084s # { 1084s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1084s # } 1084s # 1084s # /** 1084s # * good_types_skeleton_new: 1084s # * 1084s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1084s # * 1084s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1084s # */ 1084s # GoodTypes * 1084s # good_types_skeleton_new (void) 1084s # { 1084s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1084s # } 1084s # /tmp/tmp_zt2qn1l/tmpp1xybaow.xml: 1084s # 1084s # 1084s # 1084s # 1084s # 1084s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zt2qn1l/tmpp1xybaow.xml', '--output', '-', '--body'] 1084s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1084s # Output: /* 1084s # * This file is generated by gdbus-codegen, do not modify it. 1084s # * 1084s # * The license of this code is the same as for the D-Bus interface description 1084s # * it was derived from. Note that it links to GLib, so must comply with the 1084s # * LGPL linking clauses. 1084s # */ 1084s # 1084s # #ifdef HAVE_CONFIG_H 1084s # # include "config.h" 1084s # #endif 1084s # 1084s # #include 1084s # #ifdef G_OS_UNIX 1084s # # include 1084s # #endif 1084s # 1084s # #ifdef G_ENABLE_DEBUG 1084s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1084s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1084s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1084s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1084s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1084s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1084s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1084s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1084s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1084s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1084s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1084s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1084s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1084s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1084s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1084s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1084s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1084s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1084s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1084s # #else /* !G_ENABLE_DEBUG */ 1084s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1084s # * Do not access GValues directly in your code. Instead, use the 1084s # * g_value_get_*() functions 1084s # */ 1084s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1084s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1084s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1084s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1084s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1084s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1084s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1084s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1084s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1084s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1084s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1084s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1084s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1084s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1084s # #endif /* !G_ENABLE_DEBUG */ 1084s # 1084s # typedef struct 1084s # { 1084s # GDBusArgInfo parent_struct; 1084s # gboolean use_gvariant; 1084s # } _ExtendedGDBusArgInfo; 1084s # 1084s # typedef struct 1084s # { 1084s # GDBusMethodInfo parent_struct; 1084s # const gchar *signal_name; 1084s # gboolean pass_fdlist; 1084s # } _ExtendedGDBusMethodInfo; 1084s # 1084s # typedef struct 1084s # { 1084s # GDBusSignalInfo parent_struct; 1084s # const gchar *signal_name; 1084s # } _ExtendedGDBusSignalInfo; 1084s # 1084s # typedef struct 1084s # { 1084s # GDBusPropertyInfo parent_struct; 1084s # const gchar *hyphen_name; 1084s # guint use_gvariant : 1; 1084s # guint emits_changed_signal : 1; 1084s # } _ExtendedGDBusPropertyInfo; 1084s # 1084s # typedef struct 1084s # { 1084s # GDBusInterfaceInfo parent_struct; 1084s # const gchar *hyphen_name; 1084s # } _ExtendedGDBusInterfaceInfo; 1084s # 1084s # typedef struct 1084s # { 1084s # const _ExtendedGDBusPropertyInfo *info; 1084s # guint prop_id; 1084s # GValue orig_value; /* the value before the change */ 1084s # } ChangedProperty; 1084s # 1084s # static void 1084s # _changed_property_free (ChangedProperty *data) 1084s # { 1084s # g_value_unset (&data->orig_value); 1084s # g_free (data); 1084s # } 1084s # 1084s # static gboolean 1084s # _g_strv_equal0 (gchar **a, gchar **b) 1084s # { 1084s # gboolean ret = FALSE; 1084s # guint n; 1084s # if (a == NULL && b == NULL) 1084s # { 1084s # ret = TRUE; 1084s # goto out; 1084s # } 1084s # if (a == NULL || b == NULL) 1084s # goto out; 1084s # if (g_strv_length (a) != g_strv_length (b)) 1084s # goto out; 1084s # for (n = 0; a[n] != NULL; n++) 1084s # if (g_strcmp0 (a[n], b[n]) != 0) 1084s # goto out; 1084s # ret = TRUE; 1084s # out: 1084s # return ret; 1084s # } 1084s # 1084s # static gboolean 1084s # _g_variant_equal0 (GVariant *a, GVariant *b) 1084s # { 1084s # gboolean ret = FALSE; 1084s # if (a == NULL && b == NULL) 1084s # { 1084s # ret = TRUE; 1084s # goto out; 1084s # } 1084s # if (a == NULL || b == NULL) 1084s # goto out; 1084s # ret = g_variant_equal (a, b); 1084s # out: 1084s # return ret; 1084s # } 1084s # 1084s # G_GNUC_UNUSED static gboolean 1084s # _g_value_equal (const GValue *a, const GValue *b) 1084s # { 1084s # gboolean ret = FALSE; 1084s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1084s # switch (G_VALUE_TYPE (a)) 1084s # { 1084s # case G_TYPE_BOOLEAN: 1084s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1084s # break; 1084s # case G_TYPE_UCHAR: 1084s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1084s # break; 1084s # case G_TYPE_INT: 1084s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1084s # break; 1084s # case G_TYPE_UINT: 1084s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1084s # break; 1084s # case G_TYPE_INT64: 1084s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1084s # break; 1084s # case G_TYPE_UINT64: 1084s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1084s # break; 1084s # case G_TYPE_DOUBLE: 1084s # { 1084s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1084s # gdouble da = g_value_get_double (a); 1084s # gdouble db = g_value_get_double (b); 1084s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1084s # } 1084s # break; 1084s # case G_TYPE_STRING: 1084s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1084s # break; 1084s # case G_TYPE_VARIANT: 1084s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1084s # break; 1084s # default: 1084s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1084s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1084s # else 1084s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1084s # break; 1084s # } 1084s # return ret; 1084s # } 1084s # 1084s # /* ------------------------------------------------------------------------ 1084s # * Code for interface GoodTypes 1084s # * ------------------------------------------------------------------------ 1084s # */ 1084s # 1084s # /** 1084s # * SECTION:GoodTypes 1084s # * @title: GoodTypes 1084s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1084s # * 1084s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1084s # */ 1084s # 1084s # /* ---- Introspection data for GoodTypes ---- */ 1084s # 1084s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1084s # { 1084s # { 1084s # -1, 1084s # (gchar *) "GoodPropertyType", 1084s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 1084s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1084s # NULL 1084s # }, 1084s # "good-property-type", 1084s # FALSE, 1084s # TRUE 1084s # }; 1084s # 1084s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1084s # { 1084s # &_good_types_property_info_good_property_type.parent_struct, 1084s # NULL 1084s # }; 1084s # 1084s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1084s # { 1084s # { 1084s # -1, 1084s # (gchar *) "GoodTypes", 1084s # NULL, 1084s # NULL, 1084s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1084s # NULL 1084s # }, 1084s # "good-types", 1084s # }; 1084s # 1084s # 1084s # /** 1084s # * good_types_interface_info: 1084s # * 1084s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1084s # * 1084s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1084s # */ 1084s # GDBusInterfaceInfo * 1084s # good_types_interface_info (void) 1084s # { 1084s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1084s # } 1084s # 1084s # /** 1084s # * good_types_override_properties: 1084s # * @klass: The class structure for a #GObject derived class. 1084s # * @property_id_begin: The property id to assign to the first overridden property. 1084s # * 1084s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1084s # * The properties are overridden in the order they are defined. 1084s # * 1084s # * Returns: The last property id. 1084s # */ 1084s # guint 1084s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1084s # { 1084s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1084s # return property_id_begin - 1; 1084s # } 1084s # 1084s # 1084s # 1084s # /** 1084s # * GoodTypes: 1084s # * 1084s # * Abstract interface type for the D-Bus interface GoodTypes. 1084s # */ 1084s # 1084s # /** 1084s # * GoodTypesIface: 1084s # * @parent_iface: The parent interface. 1084s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1084s # * 1084s # * Virtual table for the D-Bus interface GoodTypes. 1084s # */ 1084s # 1084s # typedef GoodTypesIface GoodTypesInterface; 1084s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1084s # 1084s # static void 1084s # good_types_default_init (GoodTypesIface *iface) 1084s # { 1084s # /* GObject properties for D-Bus properties: */ 1084s # /** 1084s # * GoodTypes:good-property-type: 1084s # * 1084s # * Represents the D-Bus property "GoodPropertyType". 1084s # * 1084s # * 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. 1084s # */ 1084s # g_object_interface_install_property (iface, 1084s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1084s # } 1084s # 1084s # /** 1084s # * good_types_get_good_property_type: (skip) 1084s # * @object: A GoodTypes. 1084s # * 1084s # * Gets the value of the "GoodPropertyType" D-Bus property. 1084s # * 1084s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1084s # * 1084s # * 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. 1084s # * 1084s # * 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. 1084s # */ 1084s # GVariant * 1084s # good_types_get_good_property_type (GoodTypes *object) 1084s # { 1084s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1084s # 1084s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1084s # } 1084s # 1084s # /** 1084s # * good_types_dup_good_property_type: (skip) 1084s # * @object: A GoodTypes. 1084s # * 1084s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1084s # * 1084s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1084s # * 1084s # * 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(). 1084s # */ 1084s # GVariant * 1084s # good_types_dup_good_property_type (GoodTypes *object) 1084s # { 1084s # GVariant *value; 1084s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1084s # return value; 1084s # } 1084s # 1084s # /** 1084s # * good_types_set_good_property_type: (skip) 1084s # * @object: A GoodTypes. 1084s # * @value: The value to set. 1084s # * 1084s # * Sets the "GoodPropertyType" D-Bus property to @value. 1084s # * 1084s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1084s # */ 1084s # void 1084s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1084s # { 1084s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1084s # } 1084s # 1084s # /* ------------------------------------------------------------------------ */ 1084s # 1084s # /** 1084s # * GoodTypesProxy: 1084s # * 1084s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1084s # */ 1084s # 1084s # /** 1084s # * GoodTypesProxyClass: 1084s # * @parent_class: The parent class. 1084s # * 1084s # * Class structure for GoodTypesProxy. 1084s # */ 1084s # 1084s # struct _GoodTypesProxyPrivate 1084s # { 1084s # GData *qdata; 1084s # }; 1084s # 1084s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1084s # 1084s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1084s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1084s # G_ADD_PRIVATE (GoodTypesProxy) 1084s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1084s # 1084s # #else 1084s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1084s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1084s # 1084s # #endif 1084s # static void 1084s # good_types_proxy_finalize (GObject *object) 1084s # { 1084s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1084s # g_datalist_clear (&proxy->priv->qdata); 1084s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1084s # } 1084s # 1084s # static void 1084s # good_types_proxy_get_property (GObject *object, 1084s # guint prop_id, 1084s # GValue *value, 1084s # GParamSpec *pspec G_GNUC_UNUSED) 1084s # { 1084s # const _ExtendedGDBusPropertyInfo *info; 1084s # GVariant *variant; 1084s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1084s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1084s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1084s # if (info->use_gvariant) 1084s # { 1084s # g_value_set_variant (value, variant); 1084s # } 1084s # else 1084s # { 1084s # if (variant != NULL) 1084s # g_dbus_gvariant_to_gvalue (variant, value); 1084s # } 1084s # if (variant != NULL) 1084s # g_variant_unref (variant); 1084s # } 1084s # 1084s # static void 1084s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1084s # GAsyncResult *res, 1084s # gpointer user_data) 1084s # { 1084s # const _ExtendedGDBusPropertyInfo *info = user_data; 1084s # GError *error; 1084s # GVariant *_ret; 1084s # error = NULL; 1084s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1084s # if (!_ret) 1084s # { 1084s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1084s # info->parent_struct.name, 1084s # error->message, g_quark_to_string (error->domain), error->code); 1084s # g_error_free (error); 1084s # } 1084s # else 1084s # { 1084s # g_variant_unref (_ret); 1084s # } 1084s # } 1084s # 1084s # static void 1084s # good_types_proxy_set_property (GObject *object, 1084s # guint prop_id, 1084s # const GValue *value, 1084s # GParamSpec *pspec G_GNUC_UNUSED) 1084s # { 1084s # const _ExtendedGDBusPropertyInfo *info; 1084s # GVariant *variant; 1084s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1084s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1084s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1084s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1084s # "org.freedesktop.DBus.Properties.Set", 1084s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1084s # G_DBUS_CALL_FLAGS_NONE, 1084s # -1, 1084s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1084s # g_variant_unref (variant); 1084s # } 1084s # 1084s # static void 1084s # good_types_proxy_g_signal (GDBusProxy *proxy, 1084s # const gchar *sender_name G_GNUC_UNUSED, 1084s # const gchar *signal_name, 1084s # GVariant *parameters) 1084s # { 1084s # _ExtendedGDBusSignalInfo *info; 1084s # GVariantIter iter; 1084s # GVariant *child; 1084s # GValue *paramv; 1084s # gsize num_params; 1084s # gsize n; 1084s # guint signal_id; 1084s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1084s # if (info == NULL) 1084s # return; 1084s # num_params = g_variant_n_children (parameters); 1084s # paramv = g_new0 (GValue, num_params + 1); 1084s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1084s # g_value_set_object (¶mv[0], proxy); 1084s # g_variant_iter_init (&iter, parameters); 1084s # n = 1; 1084s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1084s # { 1084s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1084s # if (arg_info->use_gvariant) 1084s # { 1084s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1084s # g_value_set_variant (¶mv[n], child); 1084s # n++; 1084s # } 1084s # else 1084s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1084s # g_variant_unref (child); 1084s # } 1084s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1084s # g_signal_emitv (paramv, signal_id, 0, NULL); 1084s # for (n = 0; n < num_params + 1; n++) 1084s # g_value_unset (¶mv[n]); 1084s # g_free (paramv); 1084s # } 1084s # 1084s # static void 1084s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1084s # GVariant *changed_properties, 1084s # const gchar *const *invalidated_properties) 1084s # { 1084s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1084s # guint n; 1084s # const gchar *key; 1084s # GVariantIter *iter; 1084s # _ExtendedGDBusPropertyInfo *info; 1084s # g_variant_get (changed_properties, "a{sv}", &iter); 1084s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1084s # { 1084s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1084s # g_datalist_remove_data (&proxy->priv->qdata, key); 1084s # if (info != NULL) 1084s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1084s # } 1084s # g_variant_iter_free (iter); 1084s # for (n = 0; invalidated_properties[n] != NULL; n++) 1084s # { 1084s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1084s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1084s # if (info != NULL) 1084s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1084s # } 1084s # } 1084s # 1084s # static GVariant * 1084s # good_types_proxy_get_good_property_type (GoodTypes *object) 1084s # { 1084s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1084s # GVariant *variant; 1084s # GVariant *value = NULL; 1084s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1084s # value = variant; 1084s # if (variant != NULL) 1084s # g_variant_unref (variant); 1084s # return value; 1084s # } 1084s # 1084s # static void 1084s # good_types_proxy_init (GoodTypesProxy *proxy) 1084s # { 1084s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1084s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1084s # #else 1084s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1084s # #endif 1084s # 1084s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1084s # } 1084s # 1084s # static void 1084s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1084s # { 1084s # GObjectClass *gobject_class; 1084s # GDBusProxyClass *proxy_class; 1084s # 1084s # gobject_class = G_OBJECT_CLASS (klass); 1084s # gobject_class->finalize = good_types_proxy_finalize; 1084s # gobject_class->get_property = good_types_proxy_get_property; 1084s # gobject_class->set_property = good_types_proxy_set_property; 1084s # 1084s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1084s # proxy_class->g_signal = good_types_proxy_g_signal; 1084s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1084s # 1084s # good_types_override_properties (gobject_class, 1); 1084s # 1084s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1084s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1084s # #endif 1084s # } 1084s # 1084s # static void 1084s # good_types_proxy_iface_init (GoodTypesIface *iface) 1084s # { 1084s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1084s # } 1084s # 1084s # /** 1084s # * good_types_proxy_new: 1084s # * @connection: A #GDBusConnection. 1084s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1084s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1084s # * @object_path: An object path. 1084s # * @cancellable: (nullable): A #GCancellable or %NULL. 1084s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1084s # * @user_data: User data to pass to @callback. 1084s # * 1084s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1084s # * 1084s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1084s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1084s # * 1084s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1084s # */ 1084s # void 1084s # good_types_proxy_new ( 1084s # GDBusConnection *connection, 1084s # GDBusProxyFlags flags, 1084s # const gchar *name, 1084s # const gchar *object_path, 1084s # GCancellable *cancellable, 1084s # GAsyncReadyCallback callback, 1084s # gpointer user_data) 1084s # { 1084s # 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); 1084s # } 1084s # 1084s # /** 1084s # * good_types_proxy_new_finish: 1084s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1084s # * @error: Return location for error or %NULL 1084s # * 1084s # * Finishes an operation started with good_types_proxy_new(). 1084s # * 1084s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1084s # */ 1084s # GoodTypes * 1084s # good_types_proxy_new_finish ( 1084s # GAsyncResult *res, 1084s # GError **error) 1084s # { 1084s # GObject *ret; 1084s # GObject *source_object; 1084s # source_object = g_async_result_get_source_object (res); 1084s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1084s # g_object_unref (source_object); 1084s # if (ret != NULL) 1084s # return GOOD_TYPES (ret); 1084s # else 1084s # return NULL; 1084s # } 1084s # 1084s # /** 1084s # * good_types_proxy_new_sync: 1084s # * @connection: A #GDBusConnection. 1084s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1084s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1084s # * @object_path: An object path. 1084s # * @cancellable: (nullable): A #GCancellable or %NULL. 1084s # * @error: Return location for error or %NULL 1084s # * 1084s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1084s # * 1084s # * The calling thread is blocked until a reply is received. 1084s # * 1084s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1084s # * 1084s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1084s # */ 1084s # GoodTypes * 1084s # good_types_proxy_new_sync ( 1084s # GDBusConnection *connection, 1084s # GDBusProxyFlags flags, 1084s # const gchar *name, 1084s # const gchar *object_path, 1084s # GCancellable *cancellable, 1084s # GError **error) 1084s # { 1084s # GInitable *ret; 1084s # 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); 1084s # if (ret != NULL) 1084s # return GOOD_TYPES (ret); 1084s # else 1084s # return NULL; 1084s # } 1084s # 1084s # 1084s # /** 1084s # * good_types_proxy_new_for_bus: 1084s # * @bus_type: A #GBusType. 1084s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1084s # * @name: A bus name (well-known or unique). 1084s # * @object_path: An object path. 1084s # * @cancellable: (nullable): A #GCancellable or %NULL. 1084s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1084s # * @user_data: User data to pass to @callback. 1084s # * 1084s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1084s # * 1084s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1084s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1084s # * 1084s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1084s # */ 1084s # void 1084s # good_types_proxy_new_for_bus ( 1084s # GBusType bus_type, 1084s # GDBusProxyFlags flags, 1084s # const gchar *name, 1084s # const gchar *object_path, 1084s # GCancellable *cancellable, 1084s # GAsyncReadyCallback callback, 1084s # gpointer user_data) 1084s # { 1084s # 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); 1084s # } 1084s # 1084s # /** 1084s # * good_types_proxy_new_for_bus_finish: 1084s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1084s # * @error: Return location for error or %NULL 1084s # * 1084s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1084s # * 1084s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1084s # */ 1084s # GoodTypes * 1084s # good_types_proxy_new_for_bus_finish ( 1084s # GAsyncResult *res, 1084s # GError **error) 1084s # { 1084s # GObject *ret; 1084s # GObject *source_object; 1084s # source_object = g_async_result_get_source_object (res); 1084s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1084s # g_object_unref (source_object); 1084s # if (ret != NULL) 1084s # return GOOD_TYPES (ret); 1084s # else 1084s # return NULL; 1084s # } 1084s # 1084s # /** 1084s # * good_types_proxy_new_for_bus_sync: 1084s # * @bus_type: A #GBusType. 1084s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1084s # * @name: A bus name (well-known or unique). 1084s # * @object_path: An object path. 1084s # * @cancellable: (nullable): A #GCancellable or %NULL. 1084s # * @error: Return location for error or %NULL 1084s # * 1084s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1084s # * 1084s # * The calling thread is blocked until a reply is received. 1084s # * 1084s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1084s # * 1084s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1084s # */ 1084s # GoodTypes * 1084s # good_types_proxy_new_for_bus_sync ( 1084s # GBusType bus_type, 1084s # GDBusProxyFlags flags, 1084s # const gchar *name, 1084s # const gchar *object_path, 1084s # GCancellable *cancellable, 1084s # GError **error) 1084s # { 1084s # GInitable *ret; 1084s # 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); 1084s # if (ret != NULL) 1084s # return GOOD_TYPES (ret); 1084s # else 1084s # return NULL; 1084s # } 1084s # 1084s # 1084s # /* ------------------------------------------------------------------------ */ 1084s # 1084s # /** 1084s # * GoodTypesSkeleton: 1084s # * 1084s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1084s # */ 1084s # 1084s # /** 1084s # * GoodTypesSkeletonClass: 1084s # * @parent_class: The parent class. 1084s # * 1084s # * Class structure for GoodTypesSkeleton. 1084s # */ 1084s # 1084s # struct _GoodTypesSkeletonPrivate 1084s # { 1084s # GValue *properties; 1084s # GList *changed_properties; 1084s # GSource *changed_properties_idle_source; 1084s # GMainContext *context; 1084s # GMutex lock; 1084s # }; 1084s # 1084s # static void 1084s # _good_types_skeleton_handle_method_call ( 1084s # GDBusConnection *connection G_GNUC_UNUSED, 1084s # const gchar *sender G_GNUC_UNUSED, 1084s # const gchar *object_path G_GNUC_UNUSED, 1084s # const gchar *interface_name, 1084s # const gchar *method_name, 1084s # GVariant *parameters, 1084s # GDBusMethodInvocation *invocation, 1084s # gpointer user_data) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1084s # _ExtendedGDBusMethodInfo *info; 1084s # GVariantIter iter; 1084s # GVariant *child; 1084s # GValue *paramv; 1084s # gsize num_params; 1084s # guint num_extra; 1084s # gsize n; 1084s # guint signal_id; 1084s # GValue return_value = G_VALUE_INIT; 1084s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1084s # g_assert (info != NULL); 1084s # num_params = g_variant_n_children (parameters); 1084s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1084s # n = 0; 1084s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1084s # g_value_set_object (¶mv[n++], skeleton); 1084s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1084s # g_value_set_object (¶mv[n++], invocation); 1084s # if (info->pass_fdlist) 1084s # { 1084s # #ifdef G_OS_UNIX 1084s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1084s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1084s # #else 1084s # g_assert_not_reached (); 1084s # #endif 1084s # } 1084s # g_variant_iter_init (&iter, parameters); 1084s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1084s # { 1084s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1084s # if (arg_info->use_gvariant) 1084s # { 1084s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1084s # g_value_set_variant (¶mv[n], child); 1084s # n++; 1084s # } 1084s # else 1084s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1084s # g_variant_unref (child); 1084s # } 1084s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1084s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1084s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1084s # if (!g_value_get_boolean (&return_value)) 1084s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1084s # g_value_unset (&return_value); 1084s # for (n = 0; n < num_params + num_extra; n++) 1084s # g_value_unset (¶mv[n]); 1084s # g_free (paramv); 1084s # } 1084s # 1084s # static GVariant * 1084s # _good_types_skeleton_handle_get_property ( 1084s # GDBusConnection *connection G_GNUC_UNUSED, 1084s # const gchar *sender G_GNUC_UNUSED, 1084s # const gchar *object_path G_GNUC_UNUSED, 1084s # const gchar *interface_name G_GNUC_UNUSED, 1084s # const gchar *property_name, 1084s # GError **error, 1084s # gpointer user_data) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1084s # GValue value = G_VALUE_INIT; 1084s # GParamSpec *pspec; 1084s # _ExtendedGDBusPropertyInfo *info; 1084s # GVariant *ret; 1084s # ret = NULL; 1084s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1084s # g_assert (info != NULL); 1084s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1084s # if (pspec == NULL) 1084s # { 1084s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1084s # } 1084s # else 1084s # { 1084s # g_value_init (&value, pspec->value_type); 1084s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1084s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1084s # g_value_unset (&value); 1084s # } 1084s # return ret; 1084s # } 1084s # 1084s # static gboolean 1084s # _good_types_skeleton_handle_set_property ( 1084s # GDBusConnection *connection G_GNUC_UNUSED, 1084s # const gchar *sender G_GNUC_UNUSED, 1084s # const gchar *object_path G_GNUC_UNUSED, 1084s # const gchar *interface_name G_GNUC_UNUSED, 1084s # const gchar *property_name, 1084s # GVariant *variant, 1084s # GError **error, 1084s # gpointer user_data) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1084s # GValue value = G_VALUE_INIT; 1084s # GParamSpec *pspec; 1084s # _ExtendedGDBusPropertyInfo *info; 1084s # gboolean ret; 1084s # ret = FALSE; 1084s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1084s # g_assert (info != NULL); 1084s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1084s # if (pspec == NULL) 1084s # { 1084s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1084s # } 1084s # else 1084s # { 1084s # if (info->use_gvariant) 1084s # g_value_set_variant (&value, variant); 1084s # else 1084s # g_dbus_gvariant_to_gvalue (variant, &value); 1084s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1084s # g_value_unset (&value); 1084s # ret = TRUE; 1084s # } 1084s # return ret; 1084s # } 1084s # 1084s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1084s # { 1084s # _good_types_skeleton_handle_method_call, 1084s # _good_types_skeleton_handle_get_property, 1084s # _good_types_skeleton_handle_set_property, 1084s # {NULL} 1084s # }; 1084s # 1084s # static GDBusInterfaceInfo * 1084s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1084s # { 1084s # return good_types_interface_info (); 1084s # } 1084s # 1084s # static GDBusInterfaceVTable * 1084s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1084s # { 1084s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1084s # } 1084s # 1084s # static GVariant * 1084s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1084s # 1084s # GVariantBuilder builder; 1084s # guint n; 1084s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1084s # if (_good_types_interface_info.parent_struct.properties == NULL) 1084s # goto out; 1084s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1084s # { 1084s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1084s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1084s # { 1084s # GVariant *value; 1084s # 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); 1084s # if (value != NULL) 1084s # { 1084s # g_variant_take_ref (value); 1084s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1084s # g_variant_unref (value); 1084s # } 1084s # } 1084s # } 1084s # out: 1084s # return g_variant_builder_end (&builder); 1084s # } 1084s # 1084s # static gboolean _good_types_emit_changed (gpointer user_data); 1084s # 1084s # static void 1084s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1084s # gboolean emit_changed = FALSE; 1084s # 1084s # g_mutex_lock (&skeleton->priv->lock); 1084s # if (skeleton->priv->changed_properties_idle_source != NULL) 1084s # { 1084s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1084s # skeleton->priv->changed_properties_idle_source = NULL; 1084s # emit_changed = TRUE; 1084s # } 1084s # g_mutex_unlock (&skeleton->priv->lock); 1084s # 1084s # if (emit_changed) 1084s # _good_types_emit_changed (skeleton); 1084s # } 1084s # 1084s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1084s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1084s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1084s # G_ADD_PRIVATE (GoodTypesSkeleton) 1084s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1084s # 1084s # #else 1084s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1084s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1084s # 1084s # #endif 1084s # static void 1084s # good_types_skeleton_finalize (GObject *object) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1084s # guint n; 1084s # for (n = 0; n < 1; n++) 1084s # g_value_unset (&skeleton->priv->properties[n]); 1084s # g_free (skeleton->priv->properties); 1084s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1084s # if (skeleton->priv->changed_properties_idle_source != NULL) 1084s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1084s # g_main_context_unref (skeleton->priv->context); 1084s # g_mutex_clear (&skeleton->priv->lock); 1084s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1084s # } 1084s # 1084s # static void 1084s # good_types_skeleton_get_property (GObject *object, 1084s # guint prop_id, 1084s # GValue *value, 1084s # GParamSpec *pspec G_GNUC_UNUSED) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1084s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1084s # g_mutex_lock (&skeleton->priv->lock); 1084s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1084s # g_mutex_unlock (&skeleton->priv->lock); 1084s # } 1084s # 1084s # static gboolean 1084s # _good_types_emit_changed (gpointer user_data) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1084s # GList *l; 1084s # GVariantBuilder builder; 1084s # GVariantBuilder invalidated_builder; 1084s # guint num_changes; 1084s # 1084s # g_mutex_lock (&skeleton->priv->lock); 1084s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1084s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1084s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1084s # { 1084s # ChangedProperty *cp = l->data; 1084s # GVariant *variant; 1084s # const GValue *cur_value; 1084s # 1084s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1084s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1084s # { 1084s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1084s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1084s # g_variant_unref (variant); 1084s # num_changes++; 1084s # } 1084s # } 1084s # if (num_changes > 0) 1084s # { 1084s # GList *connections, *ll; 1084s # GVariant *signal_variant; 1084s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1084s # &builder, &invalidated_builder)); 1084s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1084s # for (ll = connections; ll != NULL; ll = ll->next) 1084s # { 1084s # GDBusConnection *connection = ll->data; 1084s # 1084s # g_dbus_connection_emit_signal (connection, 1084s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1084s # "org.freedesktop.DBus.Properties", 1084s # "PropertiesChanged", 1084s # signal_variant, 1084s # NULL); 1084s # } 1084s # g_variant_unref (signal_variant); 1084s # g_list_free_full (connections, g_object_unref); 1084s # } 1084s # else 1084s # { 1084s # g_variant_builder_clear (&builder); 1084s # g_variant_builder_clear (&invalidated_builder); 1084s # } 1084s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1084s # skeleton->priv->changed_properties = NULL; 1084s # skeleton->priv->changed_properties_idle_source = NULL; 1084s # g_mutex_unlock (&skeleton->priv->lock); 1084s # return FALSE; 1084s # } 1084s # 1084s # static void 1084s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1084s # { 1084s # ChangedProperty *cp; 1084s # GList *l; 1084s # cp = NULL; 1084s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1084s # { 1084s # ChangedProperty *i_cp = l->data; 1084s # if (i_cp->info == info) 1084s # { 1084s # cp = i_cp; 1084s # break; 1084s # } 1084s # } 1084s # if (cp == NULL) 1084s # { 1084s # cp = g_new0 (ChangedProperty, 1); 1084s # cp->prop_id = prop_id; 1084s # cp->info = info; 1084s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1084s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1084s # g_value_copy (orig_value, &cp->orig_value); 1084s # } 1084s # } 1084s # 1084s # static void 1084s # good_types_skeleton_notify (GObject *object, 1084s # GParamSpec *pspec G_GNUC_UNUSED) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1084s # g_mutex_lock (&skeleton->priv->lock); 1084s # if (skeleton->priv->changed_properties != NULL && 1084s # skeleton->priv->changed_properties_idle_source == NULL) 1084s # { 1084s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1084s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1084s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1084s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1084s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1084s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1084s # } 1084s # g_mutex_unlock (&skeleton->priv->lock); 1084s # } 1084s # 1084s # static void 1084s # good_types_skeleton_set_property (GObject *object, 1084s # guint prop_id, 1084s # const GValue *value, 1084s # GParamSpec *pspec) 1084s # { 1084s # const _ExtendedGDBusPropertyInfo *info; 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1084s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1084s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1084s # g_mutex_lock (&skeleton->priv->lock); 1084s # g_object_freeze_notify (object); 1084s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1084s # { 1084s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1084s # info->emits_changed_signal) 1084s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1084s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1084s # g_object_notify_by_pspec (object, pspec); 1084s # } 1084s # g_mutex_unlock (&skeleton->priv->lock); 1084s # g_object_thaw_notify (object); 1084s # } 1084s # 1084s # static void 1084s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1084s # { 1084s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1084s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1084s # #else 1084s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1084s # #endif 1084s # 1084s # g_mutex_init (&skeleton->priv->lock); 1084s # skeleton->priv->context = g_main_context_ref_thread_default (); 1084s # skeleton->priv->properties = g_new0 (GValue, 1); 1084s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1084s # } 1084s # 1084s # static GVariant * 1084s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1084s # GVariant *value; 1084s # g_mutex_lock (&skeleton->priv->lock); 1084s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1084s # g_mutex_unlock (&skeleton->priv->lock); 1084s # return value; 1084s # } 1084s # 1084s # static void 1084s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1084s # { 1084s # GObjectClass *gobject_class; 1084s # GDBusInterfaceSkeletonClass *skeleton_class; 1084s # 1084s # gobject_class = G_OBJECT_CLASS (klass); 1084s # gobject_class->finalize = good_types_skeleton_finalize; 1084s # gobject_class->get_property = good_types_skeleton_get_property; 1084s # gobject_class->set_property = good_types_skeleton_set_property; 1084s # gobject_class->notify = good_types_skeleton_notify; 1084s # 1084s # 1084s # good_types_override_properties (gobject_class, 1); 1084s # 1084s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1084s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1084s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1084s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1084s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1084s # 1084s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1084s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1084s # #endif 1084s # } 1084s # 1084s # static void 1084s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1084s # { 1084s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1084s # } 1084s # 1084s # /** 1084s # * good_types_skeleton_new: 1084s # * 1084s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1084s # * 1084s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1084s # */ 1084s # GoodTypes * 1084s # good_types_skeleton_new (void) 1084s # { 1084s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1084s # } 1084s # /tmp/tmp_zt2qn1l/tmp6tdfw0x3.xml: 1084s # 1084s # 1084s # 1084s # 1084s # 1084s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zt2qn1l/tmp6tdfw0x3.xml', '--output', '-', '--body'] 1084s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1084s # Output: /* 1084s # * This file is generated by gdbus-codegen, do not modify it. 1084s # * 1084s # * The license of this code is the same as for the D-Bus interface description 1084s # * it was derived from. Note that it links to GLib, so must comply with the 1084s # * LGPL linking clauses. 1084s # */ 1084s # 1084s # #ifdef HAVE_CONFIG_H 1084s # # include "config.h" 1084s # #endif 1084s # 1084s # #include 1084s # #ifdef G_OS_UNIX 1084s # # include 1084s # #endif 1084s # 1084s # #ifdef G_ENABLE_DEBUG 1084s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1084s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1084s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1084s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1084s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1084s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1084s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1084s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1084s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1084s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1084s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1084s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1084s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1084s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1084s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1084s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1084s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1084s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1084s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1084s # #else /* !G_ENABLE_DEBUG */ 1084s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1084s # * Do not access GValues directly in your code. Instead, use the 1084s # * g_value_get_*() functions 1084s # */ 1084s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1084s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1084s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1084s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1084s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1084s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1084s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1084s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1084s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1084s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1084s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1084s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1084s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1084s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1084s # #endif /* !G_ENABLE_DEBUG */ 1084s # 1084s # typedef struct 1084s # { 1084s # GDBusArgInfo parent_struct; 1084s # gboolean use_gvariant; 1084s # } _ExtendedGDBusArgInfo; 1084s # 1084s # typedef struct 1084s # { 1084s # GDBusMethodInfo parent_struct; 1084s # const gchar *signal_name; 1084s # gboolean pass_fdlist; 1084s # } _ExtendedGDBusMethodInfo; 1084s # 1084s # typedef struct 1084s # { 1084s # GDBusSignalInfo parent_struct; 1084s # const gchar *signal_name; 1084s # } _ExtendedGDBusSignalInfo; 1084s # 1084s # typedef struct 1084s # { 1084s # GDBusPropertyInfo parent_struct; 1084s # const gchar *hyphen_name; 1084s # guint use_gvariant : 1; 1084s # guint emits_changed_signal : 1; 1084s # } _ExtendedGDBusPropertyInfo; 1084s # 1084s # typedef struct 1084s # { 1084s # GDBusInterfaceInfo parent_struct; 1084s # const gchar *hyphen_name; 1084s # } _ExtendedGDBusInterfaceInfo; 1084s # 1084s # typedef struct 1084s # { 1084s # const _ExtendedGDBusPropertyInfo *info; 1084s # guint prop_id; 1084s # GValue orig_value; /* the value before the change */ 1084s # } ChangedProperty; 1084s # 1084s # static void 1084s # _changed_property_free (ChangedProperty *data) 1084s # { 1084s # g_value_unset (&data->orig_value); 1084s # g_free (data); 1084s # } 1084s # 1084s # static gboolean 1084s # _g_strv_equal0 (gchar **a, gchar **b) 1084s # { 1084s # gboolean ret = FALSE; 1084s # guint n; 1084s # if (a == NULL && b == NULL) 1084s # { 1084s # ret = TRUE; 1084s # goto out; 1084s # } 1084s # if (a == NULL || b == NULL) 1084s # goto out; 1084s # if (g_strv_length (a) != g_strv_length (b)) 1084s # goto out; 1084s # for (n = 0; a[n] != NULL; n++) 1084s # if (g_strcmp0 (a[n], b[n]) != 0) 1084s # goto out; 1084s # ret = TRUE; 1084s # out: 1084s # return ret; 1084s # } 1084s # 1084s # static gboolean 1084s # _g_variant_equal0 (GVariant *a, GVariant *b) 1084s # { 1084s # gboolean ret = FALSE; 1084s # if (a == NULL && b == NULL) 1084s # { 1084s # ret = TRUE; 1084s # goto out; 1084s # } 1084s # if (a == NULL || b == NULL) 1084s # goto out; 1084s # ret = g_variant_equal (a, b); 1084s # out: 1084s # return ret; 1084s # } 1084s # 1084s # G_GNUC_UNUSED static gboolean 1084s # _g_value_equal (const GValue *a, const GValue *b) 1084s # { 1084s # gboolean ret = FALSE; 1084s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1084s # switch (G_VALUE_TYPE (a)) 1084s # { 1084s # case G_TYPE_BOOLEAN: 1084s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1084s # break; 1084s # case G_TYPE_UCHAR: 1084s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1084s # break; 1084s # case G_TYPE_INT: 1084s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1084s # break; 1084s # case G_TYPE_UINT: 1084s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1084s # break; 1084s # case G_TYPE_INT64: 1084s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1084s # break; 1084s # case G_TYPE_UINT64: 1084s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1084s # break; 1084s # case G_TYPE_DOUBLE: 1084s # { 1084s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1084s # gdouble da = g_value_get_double (a); 1084s # gdouble db = g_value_get_double (b); 1084s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1084s # } 1084s # break; 1084s # case G_TYPE_STRING: 1084s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1084s # break; 1084s # case G_TYPE_VARIANT: 1084s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1084s # break; 1084s # default: 1084s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1084s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1084s # else 1084s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1084s # break; 1084s # } 1084s # return ret; 1084s # } 1084s # 1084s # /* ------------------------------------------------------------------------ 1084s # * Code for interface GoodTypes 1084s # * ------------------------------------------------------------------------ 1084s # */ 1084s # 1084s # /** 1084s # * SECTION:GoodTypes 1084s # * @title: GoodTypes 1084s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1084s # * 1084s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1084s # */ 1084s # 1084s # /* ---- Introspection data for GoodTypes ---- */ 1084s # 1084s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1084s # { 1084s # { 1084s # -1, 1084s # (gchar *) "GoodPropertyType", 1084s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 1084s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1084s # NULL 1084s # }, 1084s # "good-property-type", 1084s # FALSE, 1084s # TRUE 1084s # }; 1084s # 1084s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1084s # { 1084s # &_good_types_property_info_good_property_type.parent_struct, 1084s # NULL 1084s # }; 1084s # 1084s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1084s # { 1084s # { 1084s # -1, 1084s # (gchar *) "GoodTypes", 1084s # NULL, 1084s # NULL, 1084s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1084s # NULL 1084s # }, 1084s # "good-types", 1084s # }; 1084s # 1084s # 1084s # /** 1084s # * good_types_interface_info: 1084s # * 1084s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1084s # * 1084s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1084s # */ 1084s # GDBusInterfaceInfo * 1084s # good_types_interface_info (void) 1084s # { 1084s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1084s # } 1084s # 1084s # /** 1084s # * good_types_override_properties: 1084s # * @klass: The class structure for a #GObject derived class. 1084s # * @property_id_begin: The property id to assign to the first overridden property. 1084s # * 1084s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1084s # * The properties are overridden in the order they are defined. 1084s # * 1084s # * Returns: The last property id. 1084s # */ 1084s # guint 1084s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1084s # { 1084s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1084s # return property_id_begin - 1; 1084s # } 1084s # 1084s # 1084s # 1084s # /** 1084s # * GoodTypes: 1084s # * 1084s # * Abstract interface type for the D-Bus interface GoodTypes. 1084s # */ 1084s # 1084s # /** 1084s # * GoodTypesIface: 1084s # * @parent_iface: The parent interface. 1084s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1084s # * 1084s # * Virtual table for the D-Bus interface GoodTypes. 1084s # */ 1084s # 1084s # typedef GoodTypesIface GoodTypesInterface; 1084s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1084s # 1084s # static void 1084s # good_types_default_init (GoodTypesIface *iface) 1084s # { 1084s # /* GObject properties for D-Bus properties: */ 1084s # /** 1084s # * GoodTypes:good-property-type: 1084s # * 1084s # * Represents the D-Bus property "GoodPropertyType". 1084s # * 1084s # * 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. 1084s # */ 1084s # g_object_interface_install_property (iface, 1084s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1084s # } 1084s # 1084s # /** 1084s # * good_types_get_good_property_type: (skip) 1084s # * @object: A GoodTypes. 1084s # * 1084s # * Gets the value of the "GoodPropertyType" D-Bus property. 1084s # * 1084s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1084s # * 1084s # * 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. 1084s # * 1084s # * 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. 1084s # */ 1084s # GVariant * 1084s # good_types_get_good_property_type (GoodTypes *object) 1084s # { 1084s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1084s # 1084s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1084s # } 1084s # 1084s # /** 1084s # * good_types_dup_good_property_type: (skip) 1084s # * @object: A GoodTypes. 1084s # * 1084s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1084s # * 1084s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1084s # * 1084s # * 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(). 1084s # */ 1084s # GVariant * 1084s # good_types_dup_good_property_type (GoodTypes *object) 1084s # { 1084s # GVariant *value; 1084s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1084s # return value; 1084s # } 1084s # 1084s # /** 1084s # * good_types_set_good_property_type: (skip) 1084s # * @object: A GoodTypes. 1084s # * @value: The value to set. 1084s # * 1084s # * Sets the "GoodPropertyType" D-Bus property to @value. 1084s # * 1084s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1084s # */ 1084s # void 1084s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1084s # { 1084s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1084s # } 1084s # 1084s # /* ------------------------------------------------------------------------ */ 1084s # 1084s # /** 1084s # * GoodTypesProxy: 1084s # * 1084s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1084s # */ 1084s # 1084s # /** 1084s # * GoodTypesProxyClass: 1084s # * @parent_class: The parent class. 1084s # * 1084s # * Class structure for GoodTypesProxy. 1084s # */ 1084s # 1084s # struct _GoodTypesProxyPrivate 1084s # { 1084s # GData *qdata; 1084s # }; 1084s # 1084s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1084s # 1084s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1084s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1084s # G_ADD_PRIVATE (GoodTypesProxy) 1084s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1084s # 1084s # #else 1084s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1084s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1084s # 1084s # #endif 1084s # static void 1084s # good_types_proxy_finalize (GObject *object) 1084s # { 1084s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1084s # g_datalist_clear (&proxy->priv->qdata); 1084s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1084s # } 1084s # 1084s # static void 1084s # good_types_proxy_get_property (GObject *object, 1084s # guint prop_id, 1084s # GValue *value, 1084s # GParamSpec *pspec G_GNUC_UNUSED) 1084s # { 1084s # const _ExtendedGDBusPropertyInfo *info; 1084s # GVariant *variant; 1084s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1084s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1084s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1084s # if (info->use_gvariant) 1084s # { 1084s # g_value_set_variant (value, variant); 1084s # } 1084s # else 1084s # { 1084s # if (variant != NULL) 1084s # g_dbus_gvariant_to_gvalue (variant, value); 1084s # } 1084s # if (variant != NULL) 1084s # g_variant_unref (variant); 1084s # } 1084s # 1084s # static void 1084s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1084s # GAsyncResult *res, 1084s # gpointer user_data) 1084s # { 1084s # const _ExtendedGDBusPropertyInfo *info = user_data; 1084s # GError *error; 1084s # GVariant *_ret; 1084s # error = NULL; 1084s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1084s # if (!_ret) 1084s # { 1084s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1084s # info->parent_struct.name, 1084s # error->message, g_quark_to_string (error->domain), error->code); 1084s # g_error_free (error); 1084s # } 1084s # else 1084s # { 1084s # g_variant_unref (_ret); 1084s # } 1084s # } 1084s # 1084s # static void 1084s # good_types_proxy_set_property (GObject *object, 1084s # guint prop_id, 1084s # const GValue *value, 1084s # GParamSpec *pspec G_GNUC_UNUSED) 1084s # { 1084s # const _ExtendedGDBusPropertyInfo *info; 1084s # GVariant *variant; 1084s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1084s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1084s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1084s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1084s # "org.freedesktop.DBus.Properties.Set", 1084s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1084s # G_DBUS_CALL_FLAGS_NONE, 1084s # -1, 1084s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1084s # g_variant_unref (variant); 1084s # } 1084s # 1084s # static void 1084s # good_types_proxy_g_signal (GDBusProxy *proxy, 1084s # const gchar *sender_name G_GNUC_UNUSED, 1084s # const gchar *signal_name, 1084s # GVariant *parameters) 1084s # { 1084s # _ExtendedGDBusSignalInfo *info; 1084s # GVariantIter iter; 1084s # GVariant *child; 1084s # GValue *paramv; 1084s # gsize num_params; 1084s # gsize n; 1084s # guint signal_id; 1084s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1084s # if (info == NULL) 1084s # return; 1084s # num_params = g_variant_n_children (parameters); 1084s # paramv = g_new0 (GValue, num_params + 1); 1084s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1084s # g_value_set_object (¶mv[0], proxy); 1084s # g_variant_iter_init (&iter, parameters); 1084s # n = 1; 1084s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1084s # { 1084s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1084s # if (arg_info->use_gvariant) 1084s # { 1084s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1084s # g_value_set_variant (¶mv[n], child); 1084s # n++; 1084s # } 1084s # else 1084s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1084s # g_variant_unref (child); 1084s # } 1084s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1084s # g_signal_emitv (paramv, signal_id, 0, NULL); 1084s # for (n = 0; n < num_params + 1; n++) 1084s # g_value_unset (¶mv[n]); 1084s # g_free (paramv); 1084s # } 1084s # 1084s # static void 1084s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1084s # GVariant *changed_properties, 1084s # const gchar *const *invalidated_properties) 1084s # { 1084s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1084s # guint n; 1084s # const gchar *key; 1084s # GVariantIter *iter; 1084s # _ExtendedGDBusPropertyInfo *info; 1084s # g_variant_get (changed_properties, "a{sv}", &iter); 1084s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1084s # { 1084s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1084s # g_datalist_remove_data (&proxy->priv->qdata, key); 1084s # if (info != NULL) 1084s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1084s # } 1084s # g_variant_iter_free (iter); 1084s # for (n = 0; invalidated_properties[n] != NULL; n++) 1084s # { 1084s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1084s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1084s # if (info != NULL) 1084s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1084s # } 1084s # } 1084s # 1084s # static GVariant * 1084s # good_types_proxy_get_good_property_type (GoodTypes *object) 1084s # { 1084s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1084s # GVariant *variant; 1084s # GVariant *value = NULL; 1084s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1084s # value = variant; 1084s # if (variant != NULL) 1084s # g_variant_unref (variant); 1084s # return value; 1084s # } 1084s # 1084s # static void 1084s # good_types_proxy_init (GoodTypesProxy *proxy) 1084s # { 1084s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1084s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1084s # #else 1084s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1084s # #endif 1084s # 1084s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1084s # } 1084s # 1084s # static void 1084s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1084s # { 1084s # GObjectClass *gobject_class; 1084s # GDBusProxyClass *proxy_class; 1084s # 1084s # gobject_class = G_OBJECT_CLASS (klass); 1084s # gobject_class->finalize = good_types_proxy_finalize; 1084s # gobject_class->get_property = good_types_proxy_get_property; 1084s # gobject_class->set_property = good_types_proxy_set_property; 1084s # 1084s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1084s # proxy_class->g_signal = good_types_proxy_g_signal; 1084s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1084s # 1084s # good_types_override_properties (gobject_class, 1); 1084s # 1084s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1084s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1084s # #endif 1084s # } 1084s # 1084s # static void 1084s # good_types_proxy_iface_init (GoodTypesIface *iface) 1084s # { 1084s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1084s # } 1084s # 1084s # /** 1084s # * good_types_proxy_new: 1084s # * @connection: A #GDBusConnection. 1084s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1084s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1084s # * @object_path: An object path. 1084s # * @cancellable: (nullable): A #GCancellable or %NULL. 1084s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1084s # * @user_data: User data to pass to @callback. 1084s # * 1084s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1084s # * 1084s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1084s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1084s # * 1084s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1084s # */ 1084s # void 1084s # good_types_proxy_new ( 1084s # GDBusConnection *connection, 1084s # GDBusProxyFlags flags, 1084s # const gchar *name, 1084s # const gchar *object_path, 1084s # GCancellable *cancellable, 1084s # GAsyncReadyCallback callback, 1084s # gpointer user_data) 1084s # { 1084s # 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); 1084s # } 1084s # 1084s # /** 1084s # * good_types_proxy_new_finish: 1084s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1084s # * @error: Return location for error or %NULL 1084s # * 1084s # * Finishes an operation started with good_types_proxy_new(). 1084s # * 1084s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1084s # */ 1084s # GoodTypes * 1084s # good_types_proxy_new_finish ( 1084s # GAsyncResult *res, 1084s # GError **error) 1084s # { 1084s # GObject *ret; 1084s # GObject *source_object; 1084s # source_object = g_async_result_get_source_object (res); 1084s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1084s # g_object_unref (source_object); 1084s # if (ret != NULL) 1084s # return GOOD_TYPES (ret); 1084s # else 1084s # return NULL; 1084s # } 1084s # 1084s # /** 1084s # * good_types_proxy_new_sync: 1084s # * @connection: A #GDBusConnection. 1084s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1084s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1084s # * @object_path: An object path. 1084s # * @cancellable: (nullable): A #GCancellable or %NULL. 1084s # * @error: Return location for error or %NULL 1084s # * 1084s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1084s # * 1084s # * The calling thread is blocked until a reply is received. 1084s # * 1084s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1084s # * 1084s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1084s # */ 1084s # GoodTypes * 1084s # good_types_proxy_new_sync ( 1084s # GDBusConnection *connection, 1084s # GDBusProxyFlags flags, 1084s # const gchar *name, 1084s # const gchar *object_path, 1084s # GCancellable *cancellable, 1084s # GError **error) 1084s # { 1084s # GInitable *ret; 1084s # 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); 1084s # if (ret != NULL) 1084s # return GOOD_TYPES (ret); 1084s # else 1084s # return NULL; 1084s # } 1084s # 1084s # 1084s # /** 1084s # * good_types_proxy_new_for_bus: 1084s # * @bus_type: A #GBusType. 1084s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1084s # * @name: A bus name (well-known or unique). 1084s # * @object_path: An object path. 1084s # * @cancellable: (nullable): A #GCancellable or %NULL. 1084s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1084s # * @user_data: User data to pass to @callback. 1084s # * 1084s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1084s # * 1084s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1084s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1084s # * 1084s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1084s # */ 1084s # void 1084s # good_types_proxy_new_for_bus ( 1084s # GBusType bus_type, 1084s # GDBusProxyFlags flags, 1084s # const gchar *name, 1084s # const gchar *object_path, 1084s # GCancellable *cancellable, 1084s # GAsyncReadyCallback callback, 1084s # gpointer user_data) 1084s # { 1084s # 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); 1084s # } 1084s # 1084s # /** 1084s # * good_types_proxy_new_for_bus_finish: 1084s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1084s # * @error: Return location for error or %NULL 1084s # * 1084s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1084s # * 1084s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1084s # */ 1084s # GoodTypes * 1084s # good_types_proxy_new_for_bus_finish ( 1084s # GAsyncResult *res, 1084s # GError **error) 1084s # { 1084s # GObject *ret; 1084s # GObject *source_object; 1084s # source_object = g_async_result_get_source_object (res); 1084s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1084s # g_object_unref (source_object); 1084s # if (ret != NULL) 1084s # return GOOD_TYPES (ret); 1084s # else 1084s # return NULL; 1084s # } 1084s # 1084s # /** 1084s # * good_types_proxy_new_for_bus_sync: 1084s # * @bus_type: A #GBusType. 1084s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1084s # * @name: A bus name (well-known or unique). 1084s # * @object_path: An object path. 1084s # * @cancellable: (nullable): A #GCancellable or %NULL. 1084s # * @error: Return location for error or %NULL 1084s # * 1084s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1084s # * 1084s # * The calling thread is blocked until a reply is received. 1084s # * 1084s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1084s # * 1084s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1084s # */ 1084s # GoodTypes * 1084s # good_types_proxy_new_for_bus_sync ( 1084s # GBusType bus_type, 1084s # GDBusProxyFlags flags, 1084s # const gchar *name, 1084s # const gchar *object_path, 1084s # GCancellable *cancellable, 1084s # GError **error) 1084s # { 1084s # GInitable *ret; 1084s # 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); 1084s # if (ret != NULL) 1084s # return GOOD_TYPES (ret); 1084s # else 1084s # return NULL; 1084s # } 1084s # 1084s # 1084s # /* ------------------------------------------------------------------------ */ 1084s # 1084s # /** 1084s # * GoodTypesSkeleton: 1084s # * 1084s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1084s # */ 1084s # 1084s # /** 1084s # * GoodTypesSkeletonClass: 1084s # * @parent_class: The parent class. 1084s # * 1084s # * Class structure for GoodTypesSkeleton. 1084s # */ 1084s # 1084s # struct _GoodTypesSkeletonPrivate 1084s # { 1084s # GValue *properties; 1084s # GList *changed_properties; 1084s # GSource *changed_properties_idle_source; 1084s # GMainContext *context; 1084s # GMutex lock; 1084s # }; 1084s # 1084s # static void 1084s # _good_types_skeleton_handle_method_call ( 1084s # GDBusConnection *connection G_GNUC_UNUSED, 1084s # const gchar *sender G_GNUC_UNUSED, 1084s # const gchar *object_path G_GNUC_UNUSED, 1084s # const gchar *interface_name, 1084s # const gchar *method_name, 1084s # GVariant *parameters, 1084s # GDBusMethodInvocation *invocation, 1084s # gpointer user_data) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1084s # _ExtendedGDBusMethodInfo *info; 1084s # GVariantIter iter; 1084s # GVariant *child; 1084s # GValue *paramv; 1084s # gsize num_params; 1084s # guint num_extra; 1084s # gsize n; 1084s # guint signal_id; 1084s # GValue return_value = G_VALUE_INIT; 1084s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1084s # g_assert (info != NULL); 1084s # num_params = g_variant_n_children (parameters); 1084s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1084s # n = 0; 1084s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1084s # g_value_set_object (¶mv[n++], skeleton); 1084s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1084s # g_value_set_object (¶mv[n++], invocation); 1084s # if (info->pass_fdlist) 1084s # { 1084s # #ifdef G_OS_UNIX 1084s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1084s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1084s # #else 1084s # g_assert_not_reached (); 1084s # #endif 1084s # } 1084s # g_variant_iter_init (&iter, parameters); 1084s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1084s # { 1084s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1084s # if (arg_info->use_gvariant) 1084s # { 1084s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1084s # g_value_set_variant (¶mv[n], child); 1084s # n++; 1084s # } 1084s # else 1084s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1084s # g_variant_unref (child); 1084s # } 1084s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1084s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1084s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1084s # if (!g_value_get_boolean (&return_value)) 1084s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1084s # g_value_unset (&return_value); 1084s # for (n = 0; n < num_params + num_extra; n++) 1084s # g_value_unset (¶mv[n]); 1084s # g_free (paramv); 1084s # } 1084s # 1084s # static GVariant * 1084s # _good_types_skeleton_handle_get_property ( 1084s # GDBusConnection *connection G_GNUC_UNUSED, 1084s # const gchar *sender G_GNUC_UNUSED, 1084s # const gchar *object_path G_GNUC_UNUSED, 1084s # const gchar *interface_name G_GNUC_UNUSED, 1084s # const gchar *property_name, 1084s # GError **error, 1084s # gpointer user_data) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1084s # GValue value = G_VALUE_INIT; 1084s # GParamSpec *pspec; 1084s # _ExtendedGDBusPropertyInfo *info; 1084s # GVariant *ret; 1084s # ret = NULL; 1084s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1084s # g_assert (info != NULL); 1084s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1084s # if (pspec == NULL) 1084s # { 1084s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1084s # } 1084s # else 1084s # { 1084s # g_value_init (&value, pspec->value_type); 1084s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1084s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1084s # g_value_unset (&value); 1084s # } 1084s # return ret; 1084s # } 1084s # 1084s # static gboolean 1084s # _good_types_skeleton_handle_set_property ( 1084s # GDBusConnection *connection G_GNUC_UNUSED, 1084s # const gchar *sender G_GNUC_UNUSED, 1084s # const gchar *object_path G_GNUC_UNUSED, 1084s # const gchar *interface_name G_GNUC_UNUSED, 1084s # const gchar *property_name, 1084s # GVariant *variant, 1084s # GError **error, 1084s # gpointer user_data) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1084s # GValue value = G_VALUE_INIT; 1084s # GParamSpec *pspec; 1084s # _ExtendedGDBusPropertyInfo *info; 1084s # gboolean ret; 1084s # ret = FALSE; 1084s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1084s # g_assert (info != NULL); 1084s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1084s # if (pspec == NULL) 1084s # { 1084s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1084s # } 1084s # else 1084s # { 1084s # if (info->use_gvariant) 1084s # g_value_set_variant (&value, variant); 1084s # else 1084s # g_dbus_gvariant_to_gvalue (variant, &value); 1084s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1084s # g_value_unset (&value); 1084s # ret = TRUE; 1084s # } 1084s # return ret; 1084s # } 1084s # 1084s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1084s # { 1084s # _good_types_skeleton_handle_method_call, 1084s # _good_types_skeleton_handle_get_property, 1084s # _good_types_skeleton_handle_set_property, 1084s # {NULL} 1084s # }; 1084s # 1084s # static GDBusInterfaceInfo * 1084s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1084s # { 1084s # return good_types_interface_info (); 1084s # } 1084s # 1084s # static GDBusInterfaceVTable * 1084s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1084s # { 1084s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1084s # } 1084s # 1084s # static GVariant * 1084s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1084s # 1084s # GVariantBuilder builder; 1084s # guint n; 1084s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1084s # if (_good_types_interface_info.parent_struct.properties == NULL) 1084s # goto out; 1084s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1084s # { 1084s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1084s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1084s # { 1084s # GVariant *value; 1084s # 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); 1084s # if (value != NULL) 1084s # { 1084s # g_variant_take_ref (value); 1084s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1084s # g_variant_unref (value); 1084s # } 1084s # } 1084s # } 1084s # out: 1084s # return g_variant_builder_end (&builder); 1084s # } 1084s # 1084s # static gboolean _good_types_emit_changed (gpointer user_data); 1084s # 1084s # static void 1084s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1084s # gboolean emit_changed = FALSE; 1084s # 1084s # g_mutex_lock (&skeleton->priv->lock); 1084s # if (skeleton->priv->changed_properties_idle_source != NULL) 1084s # { 1084s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1084s # skeleton->priv->changed_properties_idle_source = NULL; 1084s # emit_changed = TRUE; 1084s # } 1084s # g_mutex_unlock (&skeleton->priv->lock); 1084s # 1084s # if (emit_changed) 1084s # _good_types_emit_changed (skeleton); 1084s # } 1084s # 1084s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1084s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1084s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1084s # G_ADD_PRIVATE (GoodTypesSkeleton) 1084s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1084s # 1084s # #else 1084s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1084s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1084s # 1084s # #endif 1084s # static void 1084s # good_types_skeleton_finalize (GObject *object) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1084s # guint n; 1084s # for (n = 0; n < 1; n++) 1084s # g_value_unset (&skeleton->priv->properties[n]); 1084s # g_free (skeleton->priv->properties); 1084s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1084s # if (skeleton->priv->changed_properties_idle_source != NULL) 1084s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1084s # g_main_context_unref (skeleton->priv->context); 1084s # g_mutex_clear (&skeleton->priv->lock); 1084s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1084s # } 1084s # 1084s # static void 1084s # good_types_skeleton_get_property (GObject *object, 1084s # guint prop_id, 1084s # GValue *value, 1084s # GParamSpec *pspec G_GNUC_UNUSED) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1084s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1084s # g_mutex_lock (&skeleton->priv->lock); 1084s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1084s # g_mutex_unlock (&skeleton->priv->lock); 1084s # } 1084s # 1084s # static gboolean 1084s # _good_types_emit_changed (gpointer user_data) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1084s # GList *l; 1084s # GVariantBuilder builder; 1084s # GVariantBuilder invalidated_builder; 1084s # guint num_changes; 1084s # 1084s # g_mutex_lock (&skeleton->priv->lock); 1084s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1084s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1084s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1084s # { 1084s # ChangedProperty *cp = l->data; 1084s # GVariant *variant; 1084s # const GValue *cur_value; 1084s # 1084s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1084s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1084s # { 1084s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1084s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1084s # g_variant_unref (variant); 1084s # num_changes++; 1084s # } 1084s # } 1084s # if (num_changes > 0) 1084s # { 1084s # GList *connections, *ll; 1084s # GVariant *signal_variant; 1084s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1084s # &builder, &invalidated_builder)); 1084s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1084s # for (ll = connections; ll != NULL; ll = ll->next) 1084s # { 1084s # GDBusConnection *connection = ll->data; 1084s # 1084s # g_dbus_connection_emit_signal (connection, 1084s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1084s # "org.freedesktop.DBus.Properties", 1084s # "PropertiesChanged", 1084s # signal_variant, 1084s # NULL); 1084s # } 1084s # g_variant_unref (signal_variant); 1084s # g_list_free_full (connections, g_object_unref); 1084s # } 1084s # else 1084s # { 1084s # g_variant_builder_clear (&builder); 1084s # g_variant_builder_clear (&invalidated_builder); 1084s # } 1084s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1084s # skeleton->priv->changed_properties = NULL; 1084s # skeleton->priv->changed_properties_idle_source = NULL; 1084s # g_mutex_unlock (&skeleton->priv->lock); 1084s # return FALSE; 1084s # } 1084s # 1084s # static void 1084s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1084s # { 1084s # ChangedProperty *cp; 1084s # GList *l; 1084s # cp = NULL; 1084s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1084s # { 1084s # ChangedProperty *i_cp = l->data; 1084s # if (i_cp->info == info) 1084s # { 1084s # cp = i_cp; 1084s # break; 1084s # } 1084s # } 1084s # if (cp == NULL) 1084s # { 1084s # cp = g_new0 (ChangedProperty, 1); 1084s # cp->prop_id = prop_id; 1084s # cp->info = info; 1084s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1084s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1084s # g_value_copy (orig_value, &cp->orig_value); 1084s # } 1084s # } 1084s # 1084s # static void 1084s # good_types_skeleton_notify (GObject *object, 1084s # GParamSpec *pspec G_GNUC_UNUSED) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1084s # g_mutex_lock (&skeleton->priv->lock); 1084s # if (skeleton->priv->changed_properties != NULL && 1084s # skeleton->priv->changed_properties_idle_source == NULL) 1084s # { 1084s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1084s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1084s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1084s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1084s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1084s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1084s # } 1084s # g_mutex_unlock (&skeleton->priv->lock); 1084s # } 1084s # 1084s # static void 1084s # good_types_skeleton_set_property (GObject *object, 1084s # guint prop_id, 1084s # const GValue *value, 1084s # GParamSpec *pspec) 1084s # { 1084s # const _ExtendedGDBusPropertyInfo *info; 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1084s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1084s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1084s # g_mutex_lock (&skeleton->priv->lock); 1084s # g_object_freeze_notify (object); 1084s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1084s # { 1084s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1084s # info->emits_changed_signal) 1084s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1084s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1084s # g_object_notify_by_pspec (object, pspec); 1084s # } 1084s # g_mutex_unlock (&skeleton->priv->lock); 1084s # g_object_thaw_notify (object); 1084s # } 1084s # 1084s # static void 1084s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1084s # { 1084s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1084s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1084s # #else 1084s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1084s # #endif 1084s # 1084s # g_mutex_init (&skeleton->priv->lock); 1084s # skeleton->priv->context = g_main_context_ref_thread_default (); 1084s # skeleton->priv->properties = g_new0 (GValue, 1); 1084s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1084s # } 1084s # 1084s # static GVariant * 1084s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1084s # { 1084s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1084s # GVariant *value; 1084s # g_mutex_lock (&skeleton->priv->lock); 1084s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1084s # g_mutex_unlock (&skeleton->priv->lock); 1084s # return value; 1084s # } 1084s # 1084s # static void 1084s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1084s # { 1084s # GObjectClass *gobject_class; 1084s # GDBusInterfaceSkeletonClass *skeleton_class; 1084s # 1084s # gobject_class = G_OBJECT_CLASS (klass); 1084s # gobject_class->finalize = good_types_skeleton_finalize; 1084s # gobject_class->get_property = good_types_skeleton_get_property; 1084s # gobject_class->set_property = good_types_skeleton_set_property; 1084s # gobject_class->notify = good_types_skeleton_notify; 1084s # 1084s # 1084s # good_types_override_properties (gobject_class, 1); 1084s # 1084s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1084s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1084s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1084s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1084s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1084s # 1084s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1084s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1084s # #endif 1084s # } 1084s # 1084s # static void 1084s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1084s # { 1084s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1084s # } 1084s # 1084s # /** 1084s # * good_types_skeleton_new: 1084s # * 1084s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1084s # * 1084s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1084s # */ 1084s # GoodTypes * 1084s # good_types_skeleton_new (void) 1084s # { 1084s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1084s # } 1084s ok 3 __main__.TestCodegen.test_empty_interface_body 1084s # tmpdir: /tmp/tmpl8ma20oo 1084s # codegen: /usr/bin/gdbus-codegen 1084s # /tmp/tmpl8ma20oo/tmp7y5o40ud.xml: 1084s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl8ma20oo/tmp7y5o40ud.xml', '--output', '-', '--body'] 1084s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1084s # Output: /* 1084s # * This file is generated by gdbus-codegen, do not modify it. 1084s # * 1084s # * The license of this code is the same as for the D-Bus interface description 1084s # * it was derived from. Note that it links to GLib, so must comply with the 1084s # * LGPL linking clauses. 1084s # */ 1084s # 1084s # #ifdef HAVE_CONFIG_H 1084s # # include "config.h" 1084s # #endif 1084s # 1084s # #include 1084s # #ifdef G_OS_UNIX 1084s # # include 1084s # #endif 1084s # 1084s # #ifdef G_ENABLE_DEBUG 1084s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1084s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1084s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1084s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1084s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1084s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1084s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1084s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1084s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1084s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1084s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1084s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1084s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1084s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1084s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1084s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1084s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1084s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1084s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1084s # #else /* !G_ENABLE_DEBUG */ 1084s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1084s # * Do not access GValues directly in your code. Instead, use the 1084s # * g_value_get_*() functions 1084s # */ 1084s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1084s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1084s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1084s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1084s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1084s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1084s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1084s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1084s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1084s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1084s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1084s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1084s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1084s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1084s # #endif /* !G_ENABLE_DEBUG */ 1084s # 1084s # typedef struct 1084s # { 1084s # GDBusArgInfo parent_struct; 1084s # gboolean use_gvariant; 1084s # } _ExtendedGDBusArgInfo; 1084s # 1084s # typedef struct 1084s # { 1084s # GDBusMethodInfo parent_struct; 1084s # const gchar *signal_name; 1084s # gboolean pass_fdlist; 1084s # } _ExtendedGDBusMethodInfo; 1084s # 1084s # typedef struct 1084s # { 1084s # GDBusSignalInfo parent_struct; 1084s # const gchar *signal_name; 1084s # } _ExtendedGDBusSignalInfo; 1084s # 1084s # typedef struct 1084s # { 1084s # GDBusPropertyInfo parent_struct; 1084s # const gchar *hyphen_name; 1084s # guint use_gvariant : 1; 1084s # guint emits_changed_signal : 1; 1084s # } _ExtendedGDBusPropertyInfo; 1084s # 1084s # typedef struct 1084s # { 1084s # GDBusInterfaceInfo parent_struct; 1084s # const gchar *hyphen_name; 1084s # } _ExtendedGDBusInterfaceInfo; 1084s # 1084s # typedef struct 1084s # { 1084s # const _ExtendedGDBusPropertyInfo *info; 1084s # guint prop_id; 1084s # GValue orig_value; /* the value before the change */ 1084s # } ChangedProperty; 1084s # 1084s # static void 1084s # _changed_property_free (ChangedProperty *data) 1084s # { 1084s # g_value_unset (&data->orig_value); 1084s # g_free (data); 1084s # } 1084s # 1084s # static gboolean 1084s # _g_strv_equal0 (gchar **a, gchar **b) 1084s # { 1084s # gboolean ret = FALSE; 1084s # guint n; 1084s # if (a == NULL && b == NULL) 1084s # { 1084s # ret = TRUE; 1084s # goto out; 1084s # } 1084s # if (a == NULL || b == NULL) 1084s # goto out; 1084s # if (g_strv_length (a) != g_strv_length (b)) 1084s # goto out; 1084s # for (n = 0; a[n] != NULL; n++) 1084s # if (g_strcmp0 (a[n], b[n]) != 0) 1084s # goto out; 1084s # ret = TRUE; 1084s # out: 1084s # return ret; 1084s # } 1084s # 1084s # static gboolean 1084s # _g_variant_equal0 (GVariant *a, GVariant *b) 1084s # { 1084s # gboolean ret = FALSE; 1084s # if (a == NULL && b == NULL) 1084s # { 1084s # ret = TRUE; 1084s # goto out; 1084s # } 1084s # if (a == NULL || b == NULL) 1084s # goto out; 1084s # ret = g_variant_equal (a, b); 1084s # out: 1084s # return ret; 1084s # } 1084s # 1084s # G_GNUC_UNUSED static gboolean 1084s # _g_value_equal (const GValue *a, const GValue *b) 1084s # { 1084s # gboolean ret = FALSE; 1084s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1084s # switch (G_VALUE_TYPE (a)) 1084s # { 1084s # case G_TYPE_BOOLEAN: 1084s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1084s # break; 1084s # case G_TYPE_UCHAR: 1084s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1084s # break; 1084s # case G_TYPE_INT: 1084s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1084s # break; 1084s # case G_TYPE_UINT: 1084s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1084s # break; 1084s # case G_TYPE_INT64: 1084s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1084s # break; 1084s # case G_TYPE_UINT64: 1084s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1084s # break; 1084s # case G_TYPE_DOUBLE: 1084s # { 1084s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1084s # gdouble da = g_value_get_double (a); 1084s # gdouble db = g_value_get_double (b); 1084s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1084s # } 1084s # break; 1084s # case G_TYPE_STRING: 1084s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1084s # break; 1084s # case G_TYPE_VARIANT: 1084s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1084s # break; 1084s # default: 1084s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1084s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1084s # else 1084s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1084s # break; 1084s # } 1084s # return ret; 1084s # } 1084s ok 4 __main__.TestCodegen.test_empty_interface_header 1084s # tmpdir: /tmp/tmpllhd8_uh 1084s # codegen: /usr/bin/gdbus-codegen 1084s # /tmp/tmpllhd8_uh/tmpp5uuaq1h.xml: 1084s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpllhd8_uh/tmpp5uuaq1h.xml', '--output', '-', '--header'] 1084s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1084s # Output: /* 1084s # * This file is generated by gdbus-codegen, do not modify it. 1084s # * 1084s # * The license of this code is the same as for the D-Bus interface description 1084s # * it was derived from. Note that it links to GLib, so must comply with the 1084s # * LGPL linking clauses. 1084s # */ 1084s # 1084s # #ifndef __STDOUT__ 1084s # #define __STDOUT__ 1084s # 1084s # #include 1084s # 1084s # G_BEGIN_DECLS 1084s # 1084s # 1084s # G_END_DECLS 1084s # 1084s # #endif /* __STDOUT__ */ 1084s ok 5 __main__.TestCodegen.test_empty_interface_info_body 1084s # tmpdir: /tmp/tmpuqoxfor6 1084s # codegen: /usr/bin/gdbus-codegen 1084s # /tmp/tmpuqoxfor6/tmpoyngb008.xml: 1084s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuqoxfor6/tmpoyngb008.xml', '--output', '-', '--interface-info-body'] 1084s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1084s # Output: /* 1084s # * This file is generated by gdbus-codegen, do not modify it. 1084s # * 1084s # * The license of this code is the same as for the D-Bus interface description 1084s # * it was derived from. Note that it links to GLib, so must comply with the 1084s # * LGPL linking clauses. 1084s # */ 1084s # 1084s # #ifdef HAVE_CONFIG_H 1084s # # include "config.h" 1084s # #endif 1084s # 1084s # #include 1084s ok 6 __main__.TestCodegen.test_empty_interface_info_header 1084s # tmpdir: /tmp/tmp9ev26f8i 1084s # codegen: /usr/bin/gdbus-codegen 1084s # /tmp/tmp9ev26f8i/tmp4ao5gllk.xml: 1084s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9ev26f8i/tmp4ao5gllk.xml', '--output', '-', '--interface-info-header'] 1084s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1084s # Output: /* 1084s # * This file is generated by gdbus-codegen, do not modify it. 1084s # * 1084s # * The license of this code is the same as for the D-Bus interface description 1084s # * it was derived from. Note that it links to GLib, so must comply with the 1084s # * LGPL linking clauses. 1084s # */ 1084s # 1084s # #ifndef __STDOUT__ 1084s # #define __STDOUT__ 1084s # 1084s # #include 1084s # 1084s # G_BEGIN_DECLS 1084s # 1084s # 1084s # G_END_DECLS 1084s # 1084s # #endif /* __STDOUT__ */ 1084s ok 7 __main__.TestCodegen.test_generate_docbook 1084s # tmpdir: /tmp/tmpunhr7a32 1084s # codegen: /usr/bin/gdbus-codegen 1084s # /tmp/tmpunhr7a32/tmph57z5bhc.xml: 1084s # 1084s # 1084s # 1084s # 1084s # 1084s # 1084s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpunhr7a32/tmph57z5bhc.xml', '--generate-docbook', 'test'] 1084s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1084s # Output: 1084s ok 8 __main__.TestCodegen.test_generate_md 1084s # tmpdir: /tmp/tmp1dmaldiv 1084s # codegen: /usr/bin/gdbus-codegen 1084s # /tmp/tmp1dmaldiv/tmpsa7q_xa1.xml: 1084s # 1084s # 1084s # 1084s # 1084s # 1084s # 1084s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1dmaldiv/tmpsa7q_xa1.xml', '--generate-md', 'test'] 1084s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1084s # Output: 1084s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 1084s # tmpdir: /tmp/tmplcai68ai 1084s # codegen: /usr/bin/gdbus-codegen 1084s # /tmp/tmplcai68ai/tmp93w942ys.xml: 1084s # 1084s # 1084s # 1084s # 1084s # 1084s # 1084s # 1084s # 1084s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplcai68ai/tmp93w942ys.xml', '--output', '-', '--body'] 1084s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1084s # Output: /* 1084s # * This file is generated by gdbus-codegen, do not modify it. 1084s # * 1084s # * The license of this code is the same as for the D-Bus interface description 1084s # * it was derived from. Note that it links to GLib, so must comply with the 1084s # * LGPL linking clauses. 1084s # */ 1084s # 1084s # #ifdef HAVE_CONFIG_H 1084s # # include "config.h" 1084s # #endif 1084s # 1084s # #include 1084s # #ifdef G_OS_UNIX 1084s # # include 1084s # #endif 1084s # 1084s # #ifdef G_ENABLE_DEBUG 1084s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1084s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1084s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1084s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1084s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1084s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1084s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1084s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1084s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1084s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1084s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1084s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1084s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1084s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1084s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1084s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1084s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1084s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1084s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1084s # #else /* !G_ENABLE_DEBUG */ 1084s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1084s # * Do not access GValues directly in your code. Instead, use the 1084s # * g_value_get_*() functions 1084s # */ 1084s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1084s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1084s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1084s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1084s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1084s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1084s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1084s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1084s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1084s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1084s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1084s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1084s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1084s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1084s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1084s # #endif /* !G_ENABLE_DEBUG */ 1084s # 1084s # typedef struct 1084s # { 1084s # GDBusArgInfo parent_struct; 1084s # gboolean use_gvariant; 1084s # } _ExtendedGDBusArgInfo; 1084s # 1084s # typedef struct 1084s # { 1084s # GDBusMethodInfo parent_struct; 1084s # const gchar *signal_name; 1084s # gboolean pass_fdlist; 1084s # } _ExtendedGDBusMethodInfo; 1084s # 1084s # typedef struct 1084s # { 1084s # GDBusSignalInfo parent_struct; 1084s # const gchar *signal_name; 1084s # } _ExtendedGDBusSignalInfo; 1084s # 1084s # typedef struct 1084s # { 1084s # GDBusPropertyInfo parent_struct; 1084s # const gchar *hyphen_name; 1084s # guint use_gvariant : 1; 1084s # guint emits_changed_signal : 1; 1084s # } _ExtendedGDBusPropertyInfo; 1084s # 1084s # typedef struct 1084s # { 1084s # GDBusInterfaceInfo parent_struct; 1084s # const gchar *hyphen_name; 1084s # } _ExtendedGDBusInterfaceInfo; 1084s # 1084s # typedef struct 1084s # { 1084s # const _ExtendedGDBusPropertyInfo *info; 1084s # guint prop_id; 1084s # GValue orig_value; /* the value before the change */ 1084s # } ChangedProperty; 1084s # 1084s # static void 1084s # _changed_property_free (ChangedProperty *data) 1084s # { 1084s # g_value_unset (&data->orig_value); 1084s # g_free (data); 1084s # } 1084s # 1084s # static gboolean 1084s # _g_strv_equal0 (gchar **a, gchar **b) 1084s # { 1084s # gboolean ret = FALSE; 1084s # guint n; 1084s # if (a == NULL && b == NULL) 1084s # { 1084s # ret = TRUE; 1084s # goto out; 1084s # } 1084s # if (a == NULL || b == NULL) 1084s # goto out; 1084s # if (g_strv_length (a) != g_strv_length (b)) 1084s # goto out; 1084s # for (n = 0; a[n] != NULL; n++) 1084s # if (g_strcmp0 (a[n], b[n]) != 0) 1084s # goto out; 1084s # ret = TRUE; 1084s # out: 1084s # return ret; 1084s # } 1084s # 1084s # static gboolean 1084s # _g_variant_equal0 (GVariant *a, GVariant *b) 1084s # { 1084s # gboolean ret = FALSE; 1084s # if (a == NULL && b == NULL) 1084s # { 1084s # ret = TRUE; 1084s # goto out; 1084s # } 1084s # if (a == NULL || b == NULL) 1084s # goto out; 1084s # ret = g_variant_equal (a, b); 1084s # out: 1084s # return ret; 1084s # } 1084s # 1084s # G_GNUC_UNUSED static gboolean 1084s # _g_value_equal (const GValue *a, const GValue *b) 1084s # { 1084s # gboolean ret = FALSE; 1084s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1084s # switch (G_VALUE_TYPE (a)) 1084s # { 1084s # case G_TYPE_BOOLEAN: 1084s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1084s # break; 1084s # case G_TYPE_UCHAR: 1084s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1084s # break; 1084s # case G_TYPE_INT: 1084s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1084s # break; 1084s # case G_TYPE_UINT: 1084s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1084s # break; 1084s # case G_TYPE_INT64: 1084s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1084s # break; 1084s # case G_TYPE_UINT64: 1084s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1084s # break; 1084s # case G_TYPE_DOUBLE: 1084s # { 1084s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1084s # gdouble da = g_value_get_double (a); 1084s # gdouble db = g_value_get_double (b); 1084s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1084s # } 1084s # break; 1084s # case G_TYPE_STRING: 1084s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1084s # break; 1084s # case G_TYPE_VARIANT: 1084s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1084s # break; 1084s # default: 1084s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1084s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1084s # else 1084s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1084s # break; 1084s # } 1084s # return ret; 1084s # } 1084s # 1084s # static void 1084s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1084s # GClosure *closure, 1084s # GValue *return_value, 1084s # unsigned int n_param_values, 1084s # const GValue *param_values, 1084s # void *invocation_hint G_GNUC_UNUSED, 1084s # void *marshal_data) 1084s # { 1084s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1084s # (void *data1, 1084s # GDBusMethodInvocation *arg_method_invocation, 1084s # void *data2); 1084s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1084s # GCClosure *cc = (GCClosure*) closure; 1084s # void *data1, *data2; 1084s # gboolean v_return; 1084s # 1084s # g_return_if_fail (return_value != NULL); 1084s # g_return_if_fail (n_param_values == 2); 1084s # 1084s # if (G_CCLOSURE_SWAP_DATA (closure)) 1084s # { 1084s # data1 = closure->data; 1084s # data2 = g_value_peek_pointer (param_values + 0); 1084s # } 1084s # else 1084s # { 1084s # data1 = g_value_peek_pointer (param_values + 0); 1084s # data2 = closure->data; 1084s # } 1084s # 1084s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1084s # (marshal_data ? marshal_data : cc->callback); 1084s # 1084s # v_return = 1084s # callback (data1, 1084s # g_marshal_value_peek_object (param_values + 1), 1084s # data2); 1084s # 1084s # g_value_set_boolean (return_value, v_return); 1084s # } 1084s # 1084s # /* ------------------------------------------------------------------------ 1084s # * Code for interface org.project.CallableIface 1084s # * ------------------------------------------------------------------------ 1084s # */ 1084s # 1084s # /** 1084s # * SECTION:OrgProjectCallableIface 1084s # * @title: OrgProjectCallableIface 1084s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1084s # * 1084s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1084s # */ 1084s # 1084s # /* ---- Introspection data for org.project.CallableIface ---- */ 1084s # 1084s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 1084s # { 1084s # { 1084s # -1, 1084s # (gchar *) "SimpleMethod", 1084s # NULL, 1084s # NULL, 1084s # NULL 1084s # }, 1084s # "handle-simple-method", 1084s # FALSE 1084s # }; 1084s # 1084s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1084s # { 1084s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 1084s # NULL 1084s # }; 1084s # 1084s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1084s # { 1084s # { 1084s # -1, 1084s # (gchar *) "org.project.CallableIface", 1084s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1084s # NULL, 1084s # NULL, 1084s # NULL 1084s # }, 1084s # "org-project-callable-iface", 1084s # }; 1084s # 1084s # 1084s # /** 1084s # * org_project_callable_iface_interface_info: 1084s # * 1084s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1084s # * 1084s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1084s # */ 1084s # GDBusInterfaceInfo * 1084s # org_project_callable_iface_interface_info (void) 1084s # { 1084s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1084s # } 1084s # 1084s # /** 1084s # * org_project_callable_iface_override_properties: 1084s # * @klass: The class structure for a #GObject derived class. 1084s # * @property_id_begin: The property id to assign to the first overridden property. 1084s # * 1084s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1084s # * The properties are overridden in the order they are defined. 1084s # * 1084s # * Returns: The last property id. 1084s # */ 1084s # guint 1084s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1084s # { 1084s # return property_id_begin - 1; 1084s # } 1084s # 1084s # 1084s # inline static void 1084s # org_project_callable_iface_method_marshal_simple_method ( 1084s # GClosure *closure, 1084s # GValue *return_value, 1084s # unsigned int n_param_values, 1084s # const GValue *param_values, 1084s # void *invocation_hint, 1084s # void *marshal_data) 1084s # { 1084s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1084s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1084s # } 1084s # 1084s # 1084s # /** 1084s # * OrgProjectCallableIface: 1084s # * 1084s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1084s # */ 1084s # 1084s # /** 1084s # * OrgProjectCallableIfaceIface: 1084s # * @parent_iface: The parent interface. 1084s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 1084s # * 1084s # * Virtual table for the D-Bus interface org.project.CallableIface. 1084s # */ 1084s # 1084s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1084s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1084s # 1084s # static void 1084s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1084s # { 1084s # /* GObject signals for incoming D-Bus method calls: */ 1084s # /** 1084s # * OrgProjectCallableIface::handle-simple-method: 1084s # * @object: A #OrgProjectCallableIface. 1084s # * @invocation: A #GDBusMethodInvocation. 1084s # * 1084s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1084s # * 1084s # * 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. 1084s # * 1084s # * 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. 1084s # */ 1084s # g_signal_new ("handle-simple-method", 1084s # G_TYPE_FROM_INTERFACE (iface), 1084s # G_SIGNAL_RUN_LAST, 1084s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 1084s # g_signal_accumulator_true_handled, 1084s # NULL, 1084s # org_project_callable_iface_method_marshal_simple_method, 1084s # G_TYPE_BOOLEAN, 1084s # 1, 1084s # G_TYPE_DBUS_METHOD_INVOCATION); 1084s # 1084s # } 1084s # 1084s # /** 1084s # * org_project_callable_iface_call_simple_method: 1084s # * @proxy: A #OrgProjectCallableIfaceProxy. 1084s # * @cancellable: (nullable): A #GCancellable or %NULL. 1084s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1084s # * @user_data: User data to pass to @callback. 1084s # * 1084s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1084s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1084s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 1084s # * 1084s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1084s # */ 1084s # void 1084s # org_project_callable_iface_call_simple_method ( 1084s # OrgProjectCallableIface *proxy, 1084s # GCancellable *cancellable, 1084s # GAsyncReadyCallback callback, 1084s # gpointer user_data) 1084s # { 1084s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1084s # "SimpleMethod", 1084s # g_variant_new ("()"), 1084s # G_DBUS_CALL_FLAGS_NONE, 1084s # -1, 1084s # cancellable, 1084s # callback, 1084s # user_data); 1084s # } 1084s # 1084s # /** 1084s # * org_project_callable_iface_call_simple_method_finish: 1084s # * @proxy: A #OrgProjectCallableIfaceProxy. 1084s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 1084s # * @error: Return location for error or %NULL. 1084s # * 1084s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 1084s # * 1084s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1084s # */ 1084s # gboolean 1084s # org_project_callable_iface_call_simple_method_finish ( 1084s # OrgProjectCallableIface *proxy, 1084s # GAsyncResult *res, 1084s # GError **error) 1084s # { 1084s # GVariant *_ret; 1084s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1084s # if (_ret == NULL) 1084s # goto _out; 1084s # g_variant_get (_ret, 1084s # "()"); 1084s # g_variant_unref (_ret); 1084s # _out: 1084s # return _ret != NULL; 1084s # } 1084s # 1084s # /** 1084s # * org_project_callable_iface_call_simple_method_sync: 1084s # * @proxy: A #OrgProjectCallableIfaceProxy. 1084s # * @cancellable: (nullable): A #GCancellable or %NULL. 1084s # * @error: Return location for error or %NULL. 1084s # * 1084s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1084s # * 1084s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 1084s # * 1084s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1084s # */ 1084s # gboolean 1084s # org_project_callable_iface_call_simple_method_sync ( 1084s # OrgProjectCallableIface *proxy, 1084s # GCancellable *cancellable, 1084s # GError **error) 1084s # { 1084s # GVariant *_ret; 1084s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1084s # "SimpleMethod", 1084s # g_variant_new ("()"), 1084s # G_DBUS_CALL_FLAGS_NONE, 1084s # -1, 1084s # cancellable, 1084s # error); 1084s # if (_ret == NULL) 1084s # goto _out; 1084s # g_variant_get (_ret, 1084s # "()"); 1084s # g_variant_unref (_ret); 1084s # _out: 1084s # return _ret != NULL; 1084s # } 1084s # 1084s # /** 1084s # * org_project_callable_iface_complete_simple_method: 1084s # * @object: A #OrgProjectCallableIface. 1084s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1084s # * 1084s # * 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. 1084s # * 1084s # * This method will free @invocation, you cannot use it afterwards. 1084s # */ 1084s # void 1084s # org_project_callable_iface_complete_simple_method ( 1084s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1084s # GDBusMethodInvocation *invocation) 1084s # { 1084s # g_dbus_method_invocation_return_value (invocation, 1084s # g_variant_new ("()")); 1084s # } 1084s # 1084s # /* ------------------------------------------------------------------------ */ 1084s # 1084s # /** 1084s # * OrgProjectCallableIfaceProxy: 1084s # * 1084s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1084s # */ 1084s # 1084s # /** 1084s # * OrgProjectCallableIfaceProxyClass: 1084s # * @parent_class: The parent class. 1084s # * 1084s # * Class structure for #OrgProjectCallableIfaceProxy. 1084s # */ 1084s # 1084s # struct _OrgProjectCallableIfaceProxyPrivate 1084s # { 1084s # GData *qdata; 1084s # }; 1084s # 1084s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1084s # 1084s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1084s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1084s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1084s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1084s # 1084s # #else 1084s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1084s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1084s # 1084s # #endif 1084s # static void 1084s # org_project_callable_iface_proxy_finalize (GObject *object) 1084s # { 1084s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1084s # g_datalist_clear (&proxy->priv->qdata); 1084s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1084s # } 1084s # 1084s # static void 1084s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1084s # guint prop_id G_GNUC_UNUSED, 1084s # GValue *value G_GNUC_UNUSED, 1084s # GParamSpec *pspec G_GNUC_UNUSED) 1084s # { 1084s # } 1084s # 1084s # static void 1084s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1084s # guint prop_id G_GNUC_UNUSED, 1084s # const GValue *value G_GNUC_UNUSED, 1084s # GParamSpec *pspec G_GNUC_UNUSED) 1084s # { 1084s # } 1084s # 1084s # static void 1084s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1084s # const gchar *sender_name G_GNUC_UNUSED, 1084s # const gchar *signal_name, 1084s # GVariant *parameters) 1084s # { 1084s # _ExtendedGDBusSignalInfo *info; 1084s # GVariantIter iter; 1084s # GVariant *child; 1084s # GValue *paramv; 1084s # gsize num_params; 1084s # gsize n; 1084s # guint signal_id; 1084s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1084s # if (info == NULL) 1084s # return; 1084s # num_params = g_variant_n_children (parameters); 1084s # paramv = g_new0 (GValue, num_params + 1); 1084s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1084s # g_value_set_object (¶mv[0], proxy); 1084s # g_variant_iter_init (&iter, parameters); 1084s # n = 1; 1084s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1084s # { 1084s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1084s # if (arg_info->use_gvariant) 1084s # { 1084s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1084s # g_value_set_variant (¶mv[n], child); 1084s # n++; 1084s # } 1084s # else 1084s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1084s # g_variant_unref (child); 1084s # } 1084s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1084s # g_signal_emitv (paramv, signal_id, 0, NULL); 1084s # for (n = 0; n < num_params + 1; n++) 1084s # g_value_unset (¶mv[n]); 1084s # g_free (paramv); 1084s # } 1084s # 1084s # static void 1084s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1084s # GVariant *changed_properties, 1084s # const gchar *const *invalidated_properties) 1084s # { 1084s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1084s # guint n; 1084s # const gchar *key; 1084s # GVariantIter *iter; 1084s # _ExtendedGDBusPropertyInfo *info; 1084s # g_variant_get (changed_properties, "a{sv}", &iter); 1084s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1084s # { 1084s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1084s # g_datalist_remove_data (&proxy->priv->qdata, key); 1084s # if (info != NULL) 1084s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1084s # } 1084s # g_variant_iter_free (iter); 1084s # for (n = 0; invalidated_properties[n] != NULL; n++) 1084s # { 1084s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1084s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1084s # if (info != NULL) 1084s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1084s # } 1084s # } 1084s # 1084s # static void 1084s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1084s # { 1084s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1084s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1084s # #else 1084s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1084s # #endif 1084s # 1084s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1084s # } 1084s # 1084s # static void 1084s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1084s # { 1084s # GObjectClass *gobject_class; 1084s # GDBusProxyClass *proxy_class; 1084s # 1084s # gobject_class = G_OBJECT_CLASS (klass); 1084s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1084s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1084s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1084s # 1084s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1084s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1084s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1084s # 1084s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1084s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1084s # #endif 1084s # } 1084s # 1084s # static void 1084s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1084s # { 1084s # } 1084s # 1084s # /** 1084s # * org_project_callable_iface_proxy_new: 1084s # * @connection: A #GDBusConnection. 1084s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1084s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1084s # * @object_path: An object path. 1084s # * @cancellable: (nullable): A #GCancellable or %NULL. 1084s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1084s # * @user_data: User data to pass to @callback. 1084s # * 1084s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1084s # * 1084s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1084s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1084s # * 1084s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1084s # */ 1084s # void 1084s # org_project_callable_iface_proxy_new ( 1084s # GDBusConnection *connection, 1084s # GDBusProxyFlags flags, 1084s # const gchar *name, 1084s # const gchar *object_path, 1084s # GCancellable *cancellable, 1084s # GAsyncReadyCallback callback, 1084s # gpointer user_data) 1084s # { 1084s # 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); 1084s # } 1084s # 1084s # /** 1084s # * org_project_callable_iface_proxy_new_finish: 1084s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1084s # * @error: Return location for error or %NULL 1084s # * 1084s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1084s # * 1084s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1084s # */ 1084s # OrgProjectCallableIface * 1084s # org_project_callable_iface_proxy_new_finish ( 1084s # GAsyncResult *res, 1084s # GError **error) 1084s # { 1084s # GObject *ret; 1084s # GObject *source_object; 1084s # source_object = g_async_result_get_source_object (res); 1084s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1084s # g_object_unref (source_object); 1084s # if (ret != NULL) 1084s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1084s # else 1084s # return NULL; 1084s # } 1084s # 1084s # /** 1084s # * org_project_callable_iface_proxy_new_sync: 1084s # * @connection: A #GDBusConnection. 1084s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1084s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1084s # * @object_path: An object path. 1084s # * @cancellable: (nullable): A #GCancellable or %NULL. 1084s # * @error: Return location for error or %NULL 1084s # * 1084s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1084s # * 1084s # * The calling thread is blocked until a reply is received. 1084s # * 1084s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1084s # * 1084s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1084s # */ 1084s # OrgProjectCallableIface * 1084s # org_project_callable_iface_proxy_new_sync ( 1084s # GDBusConnection *connection, 1084s # GDBusProxyFlags flags, 1084s # const gchar *name, 1084s # const gchar *object_path, 1084s # GCancellable *cancellable, 1084s # GError **error) 1084s # { 1084s # GInitable *ret; 1084s # 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); 1084s # if (ret != NULL) 1084s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1084s # else 1084s # return NULL; 1084s # } 1084s # 1084s # 1084s # /** 1084s # * org_project_callable_iface_proxy_new_for_bus: 1084s # * @bus_type: A #GBusType. 1084s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1084s # * @name: A bus name (well-known or unique). 1084s # * @object_path: An object path. 1084s # * @cancellable: (nullable): A #GCancellable or %NULL. 1084s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1084s # * @user_data: User data to pass to @callback. 1084s # * 1084s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1084s # * 1084s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1084s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1084s # * 1084s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1084s # */ 1084s # void 1084s # org_project_callable_iface_proxy_new_for_bus ( 1084s # GBusType bus_type, 1084s # GDBusProxyFlags flags, 1084s # const gchar *name, 1084s # const gchar *object_path, 1084s # GCancellable *cancellable, 1084s # GAsyncReadyCallback callback, 1084s # gpointer user_data) 1084s # { 1084s # 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); 1084s # } 1084s # 1084s # /** 1084s # * org_project_callable_iface_proxy_new_for_bus_finish: 1084s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1084s # * @error: Return location for error or %NULL 1084s # * 1084s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1084s # * 1084s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1084s # */ 1084s # OrgProjectCallableIface * 1084s # org_project_callable_iface_proxy_new_for_bus_finish ( 1084s # GAsyncResult *res, 1084s # GError **error) 1084s # { 1084s # GObject *ret; 1084s # GObject *source_object; 1084s # source_object = g_async_result_get_source_object (res); 1084s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1084s # g_object_unref (source_object); 1084s # if (ret != NULL) 1084s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1084s # else 1084s # return NULL; 1084s # } 1084s # 1084s # /** 1084s # * org_project_callable_iface_proxy_new_for_bus_sync: 1084s # * @bus_type: A #GBusType. 1084s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1084s # * @name: A bus name (well-known or unique). 1084s # * @object_path: An object path. 1084s # * @cancellable: (nullable): A #GCancellable or %NULL. 1084s # * @error: Return location for error or %NULL 1084s # * 1084s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1084s # * 1084s # * The calling thread is blocked until a reply is received. 1084s # * 1084s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1084s # * 1084s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1084s # */ 1084s # OrgProjectCallableIface * 1084s # org_project_callable_iface_proxy_new_for_bus_sync ( 1084s # GBusType bus_type, 1084s # GDBusProxyFlags flags, 1084s # const gchar *name, 1084s # const gchar *object_path, 1084s # GCancellable *cancellable, 1084s # GError **error) 1084s # { 1084s # GInitable *ret; 1084s # 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); 1084s # if (ret != NULL) 1084s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1084s # else 1084s # return NULL; 1084s # } 1084s # 1084s # 1084s # /* ------------------------------------------------------------------------ */ 1084s # 1084s # /** 1084s # * OrgProjectCallableIfaceSkeleton: 1084s # * 1084s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1084s # */ 1084s # 1084s # /** 1084s # * OrgProjectCallableIfaceSkeletonClass: 1084s # * @parent_class: The parent class. 1084s # * 1084s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1084s # */ 1084s # 1084s # struct _OrgProjectCallableIfaceSkeletonPrivate 1084s # { 1084s # GValue *properties; 1084s # GList *changed_properties; 1084s # GSource *changed_properties_idle_source; 1084s # GMainContext *context; 1084s # GMutex lock; 1084s # }; 1084s # 1084s # static void 1084s # _org_project_callable_iface_skeleton_handle_method_call ( 1084s # GDBusConnection *connection G_GNUC_UNUSED, 1084s # const gchar *sender G_GNUC_UNUSED, 1084s # const gchar *object_path G_GNUC_UNUSED, 1084s # const gchar *interface_name, 1084s # const gchar *method_name, 1084s # GVariant *parameters, 1084s # GDBusMethodInvocation *invocation, 1084s # gpointer user_data) 1084s # { 1084s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1084s # _ExtendedGDBusMethodInfo *info; 1084s # GVariantIter iter; 1084s # GVariant *child; 1084s # GValue *paramv; 1084s # gsize num_params; 1084s # guint num_extra; 1084s # gsize n; 1084s # guint signal_id; 1084s # GValue return_value = G_VALUE_INIT; 1084s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1084s # g_assert (info != NULL); 1084s # num_params = g_variant_n_children (parameters); 1084s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1084s # n = 0; 1084s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1084s # g_value_set_object (¶mv[n++], skeleton); 1084s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1084s # g_value_set_object (¶mv[n++], invocation); 1084s # if (info->pass_fdlist) 1084s # { 1084s # #ifdef G_OS_UNIX 1084s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1084s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1084s # #else 1084s # g_assert_not_reached (); 1084s # #endif 1084s # } 1084s # g_variant_iter_init (&iter, parameters); 1084s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1084s # { 1084s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1084s # if (arg_info->use_gvariant) 1084s # { 1084s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1084s # g_value_set_variant (¶mv[n], child); 1084s # n++; 1084s # } 1084s # else 1084s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1084s # g_variant_unref (child); 1084s # } 1084s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1084s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1084s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1084s # if (!g_value_get_boolean (&return_value)) 1084s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1084s # g_value_unset (&return_value); 1084s # for (n = 0; n < num_params + num_extra; n++) 1084s # g_value_unset (¶mv[n]); 1084s # g_free (paramv); 1084s # } 1084s # 1084s # static GVariant * 1084s # _org_project_callable_iface_skeleton_handle_get_property ( 1084s # GDBusConnection *connection G_GNUC_UNUSED, 1084s # const gchar *sender G_GNUC_UNUSED, 1084s # const gchar *object_path G_GNUC_UNUSED, 1084s # const gchar *interface_name G_GNUC_UNUSED, 1084s # const gchar *property_name, 1084s # GError **error, 1084s # gpointer user_data) 1084s # { 1084s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1084s # GValue value = G_VALUE_INIT; 1084s # GParamSpec *pspec; 1084s # _ExtendedGDBusPropertyInfo *info; 1084s # GVariant *ret; 1084s # ret = NULL; 1084s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1084s # g_assert (info != NULL); 1084s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1084s # if (pspec == NULL) 1084s # { 1084s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1084s # } 1084s # else 1084s # { 1084s # g_value_init (&value, pspec->value_type); 1084s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1084s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1084s # g_value_unset (&value); 1084s # } 1084s # return ret; 1084s # } 1084s # 1084s # static gboolean 1084s # _org_project_callable_iface_skeleton_handle_set_property ( 1084s # GDBusConnection *connection G_GNUC_UNUSED, 1084s # const gchar *sender G_GNUC_UNUSED, 1084s # const gchar *object_path G_GNUC_UNUSED, 1084s # const gchar *interface_name G_GNUC_UNUSED, 1084s # const gchar *property_name, 1084s # GVariant *variant, 1084s # GError **error, 1084s # gpointer user_data) 1084s # { 1084s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1084s # GValue value = G_VALUE_INIT; 1084s # GParamSpec *pspec; 1084s # _ExtendedGDBusPropertyInfo *info; 1084s # gboolean ret; 1084s # ret = FALSE; 1084s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1084s # g_assert (info != NULL); 1084s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1084s # if (pspec == NULL) 1084s # { 1084s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1084s # } 1084s # else 1084s # { 1084s # if (info->use_gvariant) 1084s # g_value_set_variant (&value, variant); 1084s # else 1084s # g_dbus_gvariant_to_gvalue (variant, &value); 1084s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1084s # g_value_unset (&value); 1084s # ret = TRUE; 1084s # } 1084s # return ret; 1084s # } 1084s # 1084s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1084s # { 1084s # _org_project_callable_iface_skeleton_handle_method_call, 1084s # _org_project_callable_iface_skeleton_handle_get_property, 1084s # _org_project_callable_iface_skeleton_handle_set_property, 1084s # {NULL} 1084s # }; 1084s # 1084s # static GDBusInterfaceInfo * 1084s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1084s # { 1084s # return org_project_callable_iface_interface_info (); 1084s # } 1084s # 1084s # static GDBusInterfaceVTable * 1084s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1084s # { 1084s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1084s # } 1084s # 1084s # static GVariant * 1084s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1084s # { 1084s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1084s # 1084s # GVariantBuilder builder; 1084s # guint n; 1084s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1084s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1084s # goto out; 1084s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1084s # { 1084s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1084s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1084s # { 1084s # GVariant *value; 1084s # 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); 1084s # if (value != NULL) 1084s # { 1084s # g_variant_take_ref (value); 1084s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1084s # g_variant_unref (value); 1084s # } 1084s # } 1084s # } 1084s # out: 1084s # return g_variant_builder_end (&builder); 1084s # } 1084s # 1084s # static void 1084s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1084s # { 1084s # } 1084s # 1084s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1084s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1084s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1084s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1084s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1084s # 1084s # #else 1084s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1084s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1084s # 1084s # #endif 1084s # static void 1084s # org_project_callable_iface_skeleton_finalize (GObject *object) 1084s # { 1084s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1084s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1084s # if (skeleton->priv->changed_properties_idle_source != NULL) 1084s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1084s # g_main_context_unref (skeleton->priv->context); 1084s # g_mutex_clear (&skeleton->priv->lock); 1084s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1084s # } 1084s # 1084s # static void 1084s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1084s # { 1084s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1084s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1084s # #else 1084s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1084s # #endif 1084s # 1084s # g_mutex_init (&skeleton->priv->lock); 1084s # skeleton->priv->context = g_main_context_ref_thread_default (); 1084s # } 1084s # 1084s # static void 1084s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1084s # { 1084s # GObjectClass *gobject_class; 1084s # GDBusInterfaceSkeletonClass *skeleton_class; 1084s # 1084s # gobject_class = G_OBJECT_CLASS (klass); 1084s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1084s # 1084s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1084s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1084s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1084s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1084s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1084s # 1084s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1084s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1084s # #endif 1084s # } 1084s # 1084s # static void 1084s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1084s # { 1084s # } 1084s # 1084s # /** 1084s # * org_project_callable_iface_skeleton_new: 1084s # * 1084s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1084s # * 1084s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1084s # */ 1084s # OrgProjectCallableIface * 1084s # org_project_callable_iface_skeleton_new (void) 1084s # { 1084s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1084s # } 1084s # 1084s # /* ------------------------------------------------------------------------ 1084s # * Code for interface org.project.OtherCallableIface 1084s # * ------------------------------------------------------------------------ 1084s # */ 1084s # 1084s # /** 1084s # * SECTION:OrgProjectOtherCallableIface 1084s # * @title: OrgProjectOtherCallableIface 1084s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1084s # * 1084s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1084s # */ 1084s # 1084s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1084s # 1084s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 1084s # { 1084s # { 1084s # -1, 1084s # (gchar *) "SimpleMethod", 1084s # NULL, 1084s # NULL, 1084s # NULL 1084s # }, 1084s # "handle-simple-method", 1084s # FALSE 1084s # }; 1084s # 1084s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1084s # { 1084s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 1084s # NULL 1084s # }; 1084s # 1084s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1084s # { 1084s # { 1084s # -1, 1084s # (gchar *) "org.project.OtherCallableIface", 1084s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1084s # NULL, 1084s # NULL, 1084s # NULL 1084s # }, 1084s # "org-project-other-callable-iface", 1084s # }; 1084s # 1084s # 1084s # /** 1084s # * org_project_other_callable_iface_interface_info: 1084s # * 1084s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1084s # * 1084s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1084s # */ 1084s # GDBusInterfaceInfo * 1084s # org_project_other_callable_iface_interface_info (void) 1084s # { 1084s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1084s # } 1084s # 1084s # /** 1084s # * org_project_other_callable_iface_override_properties: 1084s # * @klass: The class structure for a #GObject derived class. 1084s # * @property_id_begin: The property id to assign to the first overridden property. 1084s # * 1084s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1084s # * The properties are overridden in the order they are defined. 1084s # * 1084s # * Returns: The last property id. 1084s # */ 1084s # guint 1084s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1084s # { 1084s # return property_id_begin - 1; 1084s # } 1084s # 1084s # 1084s # inline static void 1084s # org_project_other_callable_iface_method_marshal_simple_method ( 1084s # GClosure *closure, 1084s # GValue *return_value, 1084s # unsigned int n_param_values, 1084s # const GValue *param_values, 1084s # void *invocation_hint, 1084s # void *marshal_data) 1084s # { 1084s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1084s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1084s # } 1084s # 1084s # 1084s # /** 1084s # * OrgProjectOtherCallableIface: 1084s # * 1084s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1084s # */ 1084s # 1084s # /** 1084s # * OrgProjectOtherCallableIfaceIface: 1084s # * @parent_iface: The parent interface. 1084s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 1084s # * 1084s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1084s # */ 1084s # 1084s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1084s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1084s # 1084s # static void 1084s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1084s # { 1084s # /* GObject signals for incoming D-Bus method calls: */ 1084s # /** 1084s # * OrgProjectOtherCallableIface::handle-simple-method: 1084s # * @object: A #OrgProjectOtherCallableIface. 1084s # * @invocation: A #GDBusMethodInvocation. 1084s # * 1084s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1084s # * 1084s # * 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. 1084s # * 1084s # * 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. 1084s # */ 1084s # g_signal_new ("handle-simple-method", 1084s # G_TYPE_FROM_INTERFACE (iface), 1084s # G_SIGNAL_RUN_LAST, 1084s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 1084s # g_signal_accumulator_true_handled, 1084s # NULL, 1084s # org_project_other_callable_iface_method_marshal_simple_method, 1084s # G_TYPE_BOOLEAN, 1084s # 1, 1084s # G_TYPE_DBUS_METHOD_INVOCATION); 1084s # 1084s # } 1084s # 1084s # /** 1084s # * org_project_other_callable_iface_call_simple_method: 1084s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1084s # * @cancellable: (nullable): A #GCancellable or %NULL. 1084s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1084s # * @user_data: User data to pass to @callback. 1084s # * 1084s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1084s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1084s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 1084s # * 1084s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1084s # */ 1084s # void 1084s # org_project_other_callable_iface_call_simple_method ( 1084s # OrgProjectOtherCallableIface *proxy, 1084s # GCancellable *cancellable, 1084s # GAsyncReadyCallback callback, 1084s # gpointer user_data) 1084s # { 1084s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1084s # "SimpleMethod", 1084s # g_variant_new ("()"), 1084s # G_DBUS_CALL_FLAGS_NONE, 1084s # -1, 1084s # cancellable, 1084s # callback, 1084s # user_data); 1084s # } 1084s # 1084s # /** 1084s # * org_project_other_callable_iface_call_simple_method_finish: 1084s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1084s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 1084s # * @error: Return location for error or %NULL. 1084s # * 1084s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 1084s # * 1084s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1084s # */ 1084s # gboolean 1084s # org_project_other_callable_iface_call_simple_method_finish ( 1084s # OrgProjectOtherCallableIface *proxy, 1084s # GAsyncResult *res, 1084s # GError **error) 1084s # { 1084s # GVariant *_ret; 1084s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1084s # if (_ret == NULL) 1084s # goto _out; 1084s # g_variant_get (_ret, 1084s # "()"); 1084s # g_variant_unref (_ret); 1084s # _out: 1084s # return _ret != NULL; 1084s # } 1084s # 1084s # /** 1084s # * org_project_other_callable_iface_call_simple_method_sync: 1084s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1084s # * @cancellable: (nullable): A #GCancellable or %NULL. 1084s # * @error: Return location for error or %NULL. 1084s # * 1084s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1084s # * 1084s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 1084s # * 1084s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1084s # */ 1084s # gboolean 1084s # org_project_other_callable_iface_call_simple_method_sync ( 1084s # OrgProjectOtherCallableIface *proxy, 1084s # GCancellable *cancellable, 1084s # GError **error) 1084s # { 1084s # GVariant *_ret; 1084s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1084s # "SimpleMethod", 1084s # g_variant_new ("()"), 1084s # G_DBUS_CALL_FLAGS_NONE, 1084s # -1, 1084s # cancellable, 1084s # error); 1084s # if (_ret == NULL) 1084s # goto _out; 1084s # g_variant_get (_ret, 1084s # "()"); 1084s # g_variant_unref (_ret); 1084s # _out: 1084s # return _ret != NULL; 1084s # } 1084s # 1084s # /** 1084s # * org_project_other_callable_iface_complete_simple_method: 1084s # * @object: A #OrgProjectOtherCallableIface. 1084s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1084s # * 1084s # * 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. 1084s # * 1084s # * This method will free @invocation, you cannot use it afterwards. 1084s # */ 1084s # void 1084s # org_project_other_callable_iface_complete_simple_method ( 1084s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1084s # GDBusMethodInvocation *invocation) 1084s # { 1084s # g_dbus_method_invocation_return_value (invocation, 1084s # g_variant_new ("()")); 1084s # } 1084s # 1084s # /* ------------------------------------------------------------------------ */ 1084s # 1084s # /** 1084s # * OrgProjectOtherCallableIfaceProxy: 1084s # * 1084s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1084s # */ 1084s # 1084s # /** 1084s # * OrgProjectOtherCallableIfaceProxyClass: 1084s # * @parent_class: The parent class. 1084s # * 1084s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1084s # */ 1084s # 1084s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1084s # { 1084s # GData *qdata; 1084s # }; 1084s # 1084s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1084s # 1084s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1084s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1084s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1084s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1084s # 1084s # #else 1084s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1084s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1084s # 1084s # #endif 1084s # static void 1084s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1084s # { 1084s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1084s # g_datalist_clear (&proxy->priv->qdata); 1084s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1084s # } 1084s # 1084s # static void 1084s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1084s # guint prop_id G_GNUC_UNUSED, 1084s # GValue *value G_GNUC_UNUSED, 1084s # GParamSpec *pspec G_GNUC_UNUSED) 1084s # { 1084s # } 1084s # 1084s # static void 1084s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1084s # guint prop_id G_GNUC_UNUSED, 1084s # const GValue *value G_GNUC_UNUSED, 1084s # GParamSpec *pspec G_GNUC_UNUSED) 1084s # { 1084s # } 1084s # 1084s # static void 1084s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1084s # const gchar *sender_name G_GNUC_UNUSED, 1084s # const gchar *signal_name, 1084s # GVariant *parameters) 1084s # { 1084s # _ExtendedGDBusSignalInfo *info; 1084s # GVariantIter iter; 1084s # GVariant *child; 1084s # GValue *paramv; 1084s # gsize num_params; 1084s # gsize n; 1084s # guint signal_id; 1084s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1084s # if (info == NULL) 1084s # return; 1084s # num_params = g_variant_n_children (parameters); 1084s # paramv = g_new0 (GValue, num_params + 1); 1084s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1084s # g_value_set_object (¶mv[0], proxy); 1084s # g_variant_iter_init (&iter, parameters); 1084s # n = 1; 1084s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1084s # { 1084s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1084s # if (arg_info->use_gvariant) 1084s # { 1084s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1084s # g_value_set_variant (¶mv[n], child); 1084s # n++; 1084s # } 1084s # else 1084s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1084s # g_variant_unref (child); 1084s # } 1084s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1084s # g_signal_emitv (paramv, signal_id, 0, NULL); 1084s # for (n = 0; n < num_params + 1; n++) 1084s # g_value_unset (¶mv[n]); 1084s # g_free (paramv); 1084s # } 1084s # 1084s # static void 1084s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1084s # GVariant *changed_properties, 1084s # const gchar *const *invalidated_properties) 1084s # { 1084s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1084s # guint n; 1084s # const gchar *key; 1084s # GVariantIter *iter; 1084s # _ExtendedGDBusPropertyInfo *info; 1084s # g_variant_get (changed_properties, "a{sv}", &iter); 1084s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1084s # { 1084s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1084s # g_datalist_remove_data (&proxy->priv->qdata, key); 1084s # if (info != NULL) 1084s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1084s # } 1084s # g_variant_iter_free (iter); 1084s # for (n = 0; invalidated_properties[n] != NULL; n++) 1084s # { 1084s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1084s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1084s # if (info != NULL) 1084s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1084s # } 1084s # } 1084s # 1084s # static void 1084s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1084s # { 1084s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1084s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1084s # #else 1084s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1084s # #endif 1084s # 1084s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1084s # } 1084s # 1084s # static void 1084s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1084s # { 1084s # GObjectClass *gobject_class; 1084s # GDBusProxyClass *proxy_class; 1084s # 1084s # gobject_class = G_OBJECT_CLASS (klass); 1084s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1084s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1084s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1084s # 1084s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1084s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1084s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1084s # 1084s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1084s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1084s # #endif 1084s # } 1084s # 1084s # static void 1084s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1084s # { 1084s # } 1084s # 1084s # /** 1084s # * org_project_other_callable_iface_proxy_new: 1084s # * @connection: A #GDBusConnection. 1084s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1084s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1084s # * @object_path: An object path. 1084s # * @cancellable: (nullable): A #GCancellable or %NULL. 1084s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1084s # * @user_data: User data to pass to @callback. 1084s # * 1084s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1084s # * 1084s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1084s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1084s # * 1084s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1084s # */ 1084s # void 1084s # org_project_other_callable_iface_proxy_new ( 1084s # GDBusConnection *connection, 1084s # GDBusProxyFlags flags, 1084s # const gchar *name, 1084s # const gchar *object_path, 1084s # GCancellable *cancellable, 1084s # GAsyncReadyCallback callback, 1084s # gpointer user_data) 1084s # { 1084s # 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); 1084s # } 1084s # 1084s # /** 1084s # * org_project_other_callable_iface_proxy_new_finish: 1084s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1084s # * @error: Return location for error or %NULL 1084s # * 1084s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1084s # * 1084s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1084s # */ 1084s # OrgProjectOtherCallableIface * 1084s # org_project_other_callable_iface_proxy_new_finish ( 1084s # GAsyncResult *res, 1084s # GError **error) 1084s # { 1084s # GObject *ret; 1084s # GObject *source_object; 1084s # source_object = g_async_result_get_source_object (res); 1084s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1084s # g_object_unref (source_object); 1084s # if (ret != NULL) 1084s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1084s # else 1084s # return NULL; 1084s # } 1084s # 1084s # /** 1084s # * org_project_other_callable_iface_proxy_new_sync: 1084s # * @connection: A #GDBusConnection. 1084s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1084s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1084s # * @object_path: An object path. 1084s # * @cancellable: (nullable): A #GCancellable or %NULL. 1084s # * @error: Return location for error or %NULL 1084s # * 1084s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1084s # * 1084s # * The calling thread is blocked until a reply is received. 1084s # * 1084s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1084s # * 1084s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1084s # */ 1084s # OrgProjectOtherCallableIface * 1084s # org_project_other_callable_iface_proxy_new_sync ( 1084s # GDBusConnection *connection, 1084s # GDBusProxyFlags flags, 1084s # const gchar *name, 1084s # const gchar *object_path, 1084s # GCancellable *cancellable, 1084s # GError **error) 1084s # { 1084s # GInitable *ret; 1084s # 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); 1084s # if (ret != NULL) 1084s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1084s # else 1084s # return NULL; 1084s # } 1084s # 1084s # 1084s # /** 1084s # * org_project_other_callable_iface_proxy_new_for_bus: 1084s # * @bus_type: A #GBusType. 1084s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1084s # * @name: A bus name (well-known or unique). 1084s # * @object_path: An object path. 1084s # * @cancellable: (nullable): A #GCancellable or %NULL. 1084s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1084s # * @user_data: User data to pass to @callback. 1084s # * 1084s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1084s # * 1084s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1084s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1084s # * 1084s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1084s # */ 1084s # void 1084s # org_project_other_callable_iface_proxy_new_for_bus ( 1084s # GBusType bus_type, 1084s # GDBusProxyFlags flags, 1084s # const gchar *name, 1084s # const gchar *object_path, 1084s # GCancellable *cancellable, 1084s # GAsyncReadyCallback callback, 1084s # gpointer user_data) 1084s # { 1084s # 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); 1084s # } 1084s # 1084s # /** 1084s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1084s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1084s # * @error: Return location for error or %NULL 1084s # * 1084s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1084s # * 1084s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1084s # */ 1084s # OrgProjectOtherCallableIface * 1084s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1084s # GAsyncResult *res, 1084s # GError **error) 1084s # { 1084s # GObject *ret; 1084s # GObject *source_object; 1084s # source_object = g_async_result_get_source_object (res); 1084s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1084s # g_object_unref (source_object); 1084s # if (ret != NULL) 1084s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1084s # else 1084s # return NULL; 1084s # } 1084s # 1084s # /** 1084s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1084s # * @bus_type: A #GBusType. 1084s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1084s # * @name: A bus name (well-known or unique). 1084s # * @object_path: An object path. 1084s # * @cancellable: (nullable): A #GCancellable or %NULL. 1084s # * @error: Return location for error or %NULL 1084s # * 1084s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1084s # * 1084s # * The calling thread is blocked until a reply is received. 1084s # * 1084s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1084s # * 1084s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1084s # */ 1084s # OrgProjectOtherCallableIface * 1084s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1084s # GBusType bus_type, 1084s # GDBusProxyFlags flags, 1084s # const gchar *name, 1084s # const gchar *object_path, 1084s # GCancellable *cancellable, 1084s # GError **error) 1084s # { 1084s # GInitable *ret; 1084s # 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); 1084s # if (ret != NULL) 1084s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1084s # else 1084s # return NULL; 1084s # } 1084s # 1084s # 1084s # /* ------------------------------------------------------------------------ */ 1084s # 1084s # /** 1084s # * OrgProjectOtherCallableIfaceSkeleton: 1084s # * 1084s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1084s # */ 1084s # 1084s # /** 1084s # * OrgProjectOtherCallableIfaceSkeletonClass: 1084s # * @parent_class: The parent class. 1084s # * 1084s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1084s # */ 1084s # 1084s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1084s # { 1084s # GValue *properties; 1084s # GList *changed_properties; 1084s # GSource *changed_properties_idle_source; 1084s # GMainContext *context; 1084s # GMutex lock; 1084s # }; 1084s # 1084s # static void 1084s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1084s # GDBusConnection *connection G_GNUC_UNUSED, 1084s # const gchar *sender G_GNUC_UNUSED, 1084s # const gchar *object_path G_GNUC_UNUSED, 1084s # const gchar *interface_name, 1084s # const gchar *method_name, 1084s # GVariant *parameters, 1084s # GDBusMethodInvocation *invocation, 1084s # gpointer user_data) 1084s # { 1084s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1084s # _ExtendedGDBusMethodInfo *info; 1084s # GVariantIter iter; 1084s # GVariant *child; 1084s # GValue *paramv; 1084s # gsize num_params; 1084s # guint num_extra; 1084s # gsize n; 1084s # guint signal_id; 1084s # GValue return_value = G_VALUE_INIT; 1084s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1084s # g_assert (info != NULL); 1084s # num_params = g_variant_n_children (parameters); 1084s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1084s # n = 0; 1084s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1084s # g_value_set_object (¶mv[n++], skeleton); 1084s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1084s # g_value_set_object (¶mv[n++], invocation); 1084s # if (info->pass_fdlist) 1084s # { 1084s # #ifdef G_OS_UNIX 1084s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1084s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1084s # #else 1084s # g_assert_not_reached (); 1084s # #endif 1084s # } 1084s # g_variant_iter_init (&iter, parameters); 1084s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1084s # { 1084s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1084s # if (arg_info->use_gvariant) 1084s # { 1084s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1084s # g_value_set_variant (¶mv[n], child); 1084s # n++; 1084s # } 1084s # else 1084s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1084s # g_variant_unref (child); 1084s # } 1084s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1084s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1084s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1084s # if (!g_value_get_boolean (&return_value)) 1084s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1084s # g_value_unset (&return_value); 1084s # for (n = 0; n < num_params + num_extra; n++) 1084s # g_value_unset (¶mv[n]); 1084s # g_free (paramv); 1084s # } 1084s # 1084s # static GVariant * 1084s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1084s # GDBusConnection *connection G_GNUC_UNUSED, 1084s # const gchar *sender G_GNUC_UNUSED, 1084s # const gchar *object_path G_GNUC_UNUSED, 1084s # const gchar *interface_name G_GNUC_UNUSED, 1084s # const gchar *property_name, 1084s # GError **error, 1084s # gpointer user_data) 1084s # { 1084s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1084s # GValue value = G_VALUE_INIT; 1084s # GParamSpec *pspec; 1084s # _ExtendedGDBusPropertyInfo *info; 1084s # GVariant *ret; 1084s # ret = NULL; 1084s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1084s # g_assert (info != NULL); 1084s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1084s # if (pspec == NULL) 1084s # { 1084s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1084s # } 1084s # else 1084s # { 1084s # g_value_init (&value, pspec->value_type); 1084s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1084s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1084s # g_value_unset (&value); 1084s # } 1084s # return ret; 1084s # } 1084s # 1084s # static gboolean 1084s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1084s # GDBusConnection *connection G_GNUC_UNUSED, 1084s # const gchar *sender G_GNUC_UNUSED, 1084s # const gchar *object_path G_GNUC_UNUSED, 1084s # const gchar *interface_name G_GNUC_UNUSED, 1084s # const gchar *property_name, 1084s # GVariant *variant, 1084s # GError **error, 1084s # gpointer user_data) 1084s # { 1084s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1084s # GValue value = G_VALUE_INIT; 1084s # GParamSpec *pspec; 1084s # _ExtendedGDBusPropertyInfo *info; 1084s # gboolean ret; 1084s # ret = FALSE; 1084s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1084s # g_assert (info != NULL); 1084s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1084s # if (pspec == NULL) 1084s # { 1084s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1084s # } 1084s # else 1084s # { 1084s # if (info->use_gvariant) 1084s # g_value_set_variant (&value, variant); 1084s # else 1084s # g_dbus_gvariant_to_gvalue (variant, &value); 1084s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1084s # g_value_unset (&value); 1084s # ret = TRUE; 1084s # } 1084s # return ret; 1084s # } 1084s # 1084s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1084s # { 1084s # _org_project_other_callable_iface_skeleton_handle_method_call, 1084s # _org_project_other_callable_iface_skeleton_handle_get_property, 1084s # _org_project_other_callable_iface_skeleton_handle_set_property, 1084s # {NULL} 1084s # }; 1084s # 1084s # static GDBusInterfaceInfo * 1084s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1084s # { 1084s # return org_project_other_callable_iface_interface_info (); 1084s # } 1084s # 1084s # static GDBusInterfaceVTable * 1084s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1084s # { 1084s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1084s # } 1084s # 1084s # static GVariant * 1084s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1084s # { 1084s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1084s # 1084s # GVariantBuilder builder; 1084s # guint n; 1084s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1084s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1084s # goto out; 1084s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1084s # { 1084s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1084s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1084s # { 1084s # GVariant *value; 1084s # 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); 1084s # if (value != NULL) 1084s # { 1084s # g_variant_take_ref (value); 1084s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1084s # g_variant_unref (value); 1084s # } 1084s # } 1084s # } 1084s # out: 1084s # return g_variant_builder_end (&builder); 1084s # } 1084s # 1084s # static void 1084s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1084s # { 1084s # } 1084s # 1084s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1084s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1084s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1084s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1084s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1084s # 1084s # #else 1084s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1084s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1084s # 1084s # #endif 1084s # static void 1084s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1084s # { 1084s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1084s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1084s # if (skeleton->priv->changed_properties_idle_source != NULL) 1084s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1084s # g_main_context_unref (skeleton->priv->context); 1084s # g_mutex_clear (&skeleton->priv->lock); 1084s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1084s # } 1084s # 1084s # static void 1084s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1084s # { 1084s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1084s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1084s # #else 1084s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1084s # #endif 1084s # 1084s # g_mutex_init (&skeleton->priv->lock); 1084s # skeleton->priv->context = g_main_context_ref_thread_default (); 1084s # } 1084s # 1084s # static void 1084s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1084s # { 1084s # GObjectClass *gobject_class; 1084s # GDBusInterfaceSkeletonClass *skeleton_class; 1084s # 1084s # gobject_class = G_OBJECT_CLASS (klass); 1084s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1084s # 1084s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1084s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1084s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1084s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1084s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1084s # 1084s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1084s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1084s # #endif 1084s # } 1084s # 1084s # static void 1084s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1084s # { 1084s # } 1084s # 1084s # /** 1084s # * org_project_other_callable_iface_skeleton_new: 1084s # * 1084s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1084s # * 1084s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1084s # */ 1084s # OrgProjectOtherCallableIface * 1084s # org_project_other_callable_iface_skeleton_new (void) 1084s # { 1084s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1084s # } 1085s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 1085s # tmpdir: /tmp/tmpdp4giqbp 1085s # codegen: /usr/bin/gdbus-codegen 1085s # /tmp/tmpdp4giqbp/tmptfls9svs.xml: 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdp4giqbp/tmptfls9svs.xml', '--output', '-', '--body'] 1085s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1085s # Output: /* 1085s # * This file is generated by gdbus-codegen, do not modify it. 1085s # * 1085s # * The license of this code is the same as for the D-Bus interface description 1085s # * it was derived from. Note that it links to GLib, so must comply with the 1085s # * LGPL linking clauses. 1085s # */ 1085s # 1085s # #ifdef HAVE_CONFIG_H 1085s # # include "config.h" 1085s # #endif 1085s # 1085s # #include 1085s # #ifdef G_OS_UNIX 1085s # # include 1085s # #endif 1085s # 1085s # #ifdef G_ENABLE_DEBUG 1085s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1085s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1085s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1085s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1085s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1085s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1085s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1085s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1085s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1085s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1085s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1085s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1085s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1085s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1085s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1085s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1085s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1085s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1085s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1085s # #else /* !G_ENABLE_DEBUG */ 1085s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1085s # * Do not access GValues directly in your code. Instead, use the 1085s # * g_value_get_*() functions 1085s # */ 1085s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1085s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1085s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1085s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1085s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1085s # #endif /* !G_ENABLE_DEBUG */ 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusArgInfo parent_struct; 1085s # gboolean use_gvariant; 1085s # } _ExtendedGDBusArgInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusMethodInfo parent_struct; 1085s # const gchar *signal_name; 1085s # gboolean pass_fdlist; 1085s # } _ExtendedGDBusMethodInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusSignalInfo parent_struct; 1085s # const gchar *signal_name; 1085s # } _ExtendedGDBusSignalInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusPropertyInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # guint use_gvariant : 1; 1085s # guint emits_changed_signal : 1; 1085s # } _ExtendedGDBusPropertyInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusInterfaceInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # } _ExtendedGDBusInterfaceInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # const _ExtendedGDBusPropertyInfo *info; 1085s # guint prop_id; 1085s # GValue orig_value; /* the value before the change */ 1085s # } ChangedProperty; 1085s # 1085s # static void 1085s # _changed_property_free (ChangedProperty *data) 1085s # { 1085s # g_value_unset (&data->orig_value); 1085s # g_free (data); 1085s # } 1085s # 1085s # static gboolean 1085s # _g_strv_equal0 (gchar **a, gchar **b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # guint n; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # if (g_strv_length (a) != g_strv_length (b)) 1085s # goto out; 1085s # for (n = 0; a[n] != NULL; n++) 1085s # if (g_strcmp0 (a[n], b[n]) != 0) 1085s # goto out; 1085s # ret = TRUE; 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _g_variant_equal0 (GVariant *a, GVariant *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # ret = g_variant_equal (a, b); 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # G_GNUC_UNUSED static gboolean 1085s # _g_value_equal (const GValue *a, const GValue *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1085s # switch (G_VALUE_TYPE (a)) 1085s # { 1085s # case G_TYPE_BOOLEAN: 1085s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1085s # break; 1085s # case G_TYPE_UCHAR: 1085s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1085s # break; 1085s # case G_TYPE_INT: 1085s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1085s # break; 1085s # case G_TYPE_UINT: 1085s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1085s # break; 1085s # case G_TYPE_INT64: 1085s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1085s # break; 1085s # case G_TYPE_UINT64: 1085s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1085s # break; 1085s # case G_TYPE_DOUBLE: 1085s # { 1085s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1085s # gdouble da = g_value_get_double (a); 1085s # gdouble db = g_value_get_double (b); 1085s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1085s # } 1085s # break; 1085s # case G_TYPE_STRING: 1085s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1085s # break; 1085s # case G_TYPE_VARIANT: 1085s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1085s # break; 1085s # default: 1085s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1085s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1085s # else 1085s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1085s # break; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static void 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint G_GNUC_UNUSED, 1085s # void *marshal_data) 1085s # { 1085s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1085s # (void *data1, 1085s # GDBusMethodInvocation *arg_method_invocation, 1085s # gboolean arg_arg_b, 1085s # void *data2); 1085s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 1085s # GCClosure *cc = (GCClosure*) closure; 1085s # void *data1, *data2; 1085s # gboolean v_return; 1085s # 1085s # g_return_if_fail (return_value != NULL); 1085s # g_return_if_fail (n_param_values == 3); 1085s # 1085s # if (G_CCLOSURE_SWAP_DATA (closure)) 1085s # { 1085s # data1 = closure->data; 1085s # data2 = g_value_peek_pointer (param_values + 0); 1085s # } 1085s # else 1085s # { 1085s # data1 = g_value_peek_pointer (param_values + 0); 1085s # data2 = closure->data; 1085s # } 1085s # 1085s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1085s # (marshal_data ? marshal_data : cc->callback); 1085s # 1085s # v_return = 1085s # callback (data1, 1085s # g_marshal_value_peek_object (param_values + 1), 1085s # g_marshal_value_peek_boolean (param_values + 2), 1085s # data2); 1085s # 1085s # g_value_set_boolean (return_value, v_return); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ 1085s # * Code for interface org.project.UsefulInterface 1085s # * ------------------------------------------------------------------------ 1085s # */ 1085s # 1085s # /** 1085s # * SECTION:OrgProjectUsefulInterface 1085s # * @title: OrgProjectUsefulInterface 1085s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1085s # * 1085s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1085s # */ 1085s # 1085s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1085s # 1085s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "arg_b", 1085s # (gchar *) "b", 1085s # NULL 1085s # }, 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "SingleArgMethodB", 1085s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "handle-single-arg-method-b", 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "org.project.UsefulInterface", 1085s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1085s # NULL, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "org-project-useful-interface", 1085s # }; 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_interface_info: 1085s # * 1085s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1085s # * 1085s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1085s # */ 1085s # GDBusInterfaceInfo * 1085s # org_project_useful_interface_interface_info (void) 1085s # { 1085s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_override_properties: 1085s # * @klass: The class structure for a #GObject derived class. 1085s # * @property_id_begin: The property id to assign to the first overridden property. 1085s # * 1085s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1085s # * The properties are overridden in the order they are defined. 1085s # * 1085s # * Returns: The last property id. 1085s # */ 1085s # guint 1085s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1085s # { 1085s # return property_id_begin - 1; 1085s # } 1085s # 1085s # 1085s # inline static void 1085s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint, 1085s # void *marshal_data) 1085s # { 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 1085s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1085s # } 1085s # 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterface: 1085s # * 1085s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceIface: 1085s # * @parent_iface: The parent interface. 1085s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1085s # * 1085s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1085s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1085s # 1085s # static void 1085s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1085s # { 1085s # /* GObject signals for incoming D-Bus method calls: */ 1085s # /** 1085s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: A #GDBusMethodInvocation. 1085s # * @arg_arg_b: Argument passed by remote caller. 1085s # * 1085s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1085s # * 1085s # * 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. 1085s # * 1085s # * 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. 1085s # */ 1085s # g_signal_new ("handle-single-arg-method-b", 1085s # G_TYPE_FROM_INTERFACE (iface), 1085s # G_SIGNAL_RUN_LAST, 1085s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1085s # g_signal_accumulator_true_handled, 1085s # NULL, 1085s # org_project_useful_interface_method_marshal_single_arg_method_b, 1085s # G_TYPE_BOOLEAN, 1085s # 2, 1085s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 1085s # 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_b: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_b: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1085s # */ 1085s # void 1085s # org_project_useful_interface_call_single_arg_method_b ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # gboolean arg_arg_b, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodB", 1085s # g_variant_new ("(b)", 1085s # arg_arg_b), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # callback, 1085s # user_data); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_b_finish: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_b_finish ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_b_sync: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_b: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_b_sync ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # gboolean arg_arg_b, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodB", 1085s # g_variant_new ("(b)", 1085s # arg_arg_b), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_complete_single_arg_method_b: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1085s # * 1085s # * 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. 1085s # * 1085s # * This method will free @invocation, you cannot use it afterwards. 1085s # */ 1085s # void 1085s # org_project_useful_interface_complete_single_arg_method_b ( 1085s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1085s # GDBusMethodInvocation *invocation) 1085s # { 1085s # g_dbus_method_invocation_return_value (invocation, 1085s # g_variant_new ("()")); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxy: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxyClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceProxyPrivate 1085s # { 1085s # GData *qdata; 1085s # }; 1085s # 1085s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_proxy_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1085s # g_datalist_clear (&proxy->priv->qdata); 1085s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # const GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1085s # const gchar *sender_name G_GNUC_UNUSED, 1085s # const gchar *signal_name, 1085s # GVariant *parameters) 1085s # { 1085s # _ExtendedGDBusSignalInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # gsize n; 1085s # guint signal_id; 1085s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1085s # if (info == NULL) 1085s # return; 1085s # num_params = g_variant_n_children (parameters); 1085s # paramv = g_new0 (GValue, num_params + 1); 1085s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[0], proxy); 1085s # g_variant_iter_init (&iter, parameters); 1085s # n = 1; 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_signal_emitv (paramv, signal_id, 0, NULL); 1085s # for (n = 0; n < num_params + 1; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1085s # GVariant *changed_properties, 1085s # const gchar *const *invalidated_properties) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1085s # guint n; 1085s # const gchar *key; 1085s # GVariantIter *iter; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # g_variant_get (changed_properties, "a{sv}", &iter); 1085s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1085s # g_datalist_remove_data (&proxy->priv->qdata, key); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # g_variant_iter_free (iter); 1085s # for (n = 0; invalidated_properties[n] != NULL; n++) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1085s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1085s # #else 1085s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1085s # #endif 1085s # 1085s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusProxyClass *proxy_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1085s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1085s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1085s # 1085s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1085s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1085s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_sync: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_sync ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new_for_bus ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_sync: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_sync ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeleton: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeletonClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1085s # { 1085s # GValue *properties; 1085s # GList *changed_properties; 1085s # GSource *changed_properties_idle_source; 1085s # GMainContext *context; 1085s # GMutex lock; 1085s # }; 1085s # 1085s # static void 1085s # _org_project_useful_interface_skeleton_handle_method_call ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name, 1085s # const gchar *method_name, 1085s # GVariant *parameters, 1085s # GDBusMethodInvocation *invocation, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # _ExtendedGDBusMethodInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # guint num_extra; 1085s # gsize n; 1085s # guint signal_id; 1085s # GValue return_value = G_VALUE_INIT; 1085s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1085s # g_assert (info != NULL); 1085s # num_params = g_variant_n_children (parameters); 1085s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1085s # n = 0; 1085s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[n++], skeleton); 1085s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1085s # g_value_set_object (¶mv[n++], invocation); 1085s # if (info->pass_fdlist) 1085s # { 1085s # #ifdef G_OS_UNIX 1085s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1085s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1085s # #else 1085s # g_assert_not_reached (); 1085s # #endif 1085s # } 1085s # g_variant_iter_init (&iter, parameters); 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1085s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1085s # if (!g_value_get_boolean (&return_value)) 1085s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1085s # g_value_unset (&return_value); 1085s # for (n = 0; n < num_params + num_extra; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static GVariant * 1085s # _org_project_useful_interface_skeleton_handle_get_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # GVariant *ret; 1085s # ret = NULL; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # g_value_init (&value, pspec->value_type); 1085s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1085s # g_value_unset (&value); 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _org_project_useful_interface_skeleton_handle_set_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GVariant *variant, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # gboolean ret; 1085s # ret = FALSE; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # if (info->use_gvariant) 1085s # g_value_set_variant (&value, variant); 1085s # else 1085s # g_dbus_gvariant_to_gvalue (variant, &value); 1085s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # g_value_unset (&value); 1085s # ret = TRUE; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1085s # { 1085s # _org_project_useful_interface_skeleton_handle_method_call, 1085s # _org_project_useful_interface_skeleton_handle_get_property, 1085s # _org_project_useful_interface_skeleton_handle_set_property, 1085s # {NULL} 1085s # }; 1085s # 1085s # static GDBusInterfaceInfo * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return org_project_useful_interface_interface_info (); 1085s # } 1085s # 1085s # static GDBusInterfaceVTable * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1085s # } 1085s # 1085s # static GVariant * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1085s # 1085s # GVariantBuilder builder; 1085s # guint n; 1085s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1085s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1085s # goto out; 1085s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1085s # { 1085s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1085s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1085s # { 1085s # GVariant *value; 1085s # 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); 1085s # if (value != NULL) 1085s # { 1085s # g_variant_take_ref (value); 1085s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1085s # g_variant_unref (value); 1085s # } 1085s # } 1085s # } 1085s # out: 1085s # return g_variant_builder_end (&builder); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_skeleton_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1085s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1085s # if (skeleton->priv->changed_properties_idle_source != NULL) 1085s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1085s # g_main_context_unref (skeleton->priv->context); 1085s # g_mutex_clear (&skeleton->priv->lock); 1085s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1085s # #else 1085s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1085s # #endif 1085s # 1085s # g_mutex_init (&skeleton->priv->lock); 1085s # skeleton->priv->context = g_main_context_ref_thread_default (); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusInterfaceSkeletonClass *skeleton_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1085s # 1085s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1085s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1085s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1085s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1085s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_skeleton_new: 1085s # * 1085s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_skeleton_new (void) 1085s # { 1085s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1085s # } 1085s # /tmp/tmpdp4giqbp/tmp_yjdhwsd.xml: 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdp4giqbp/tmp_yjdhwsd.xml', '--output', '-', '--body'] 1085s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1085s # Output: /* 1085s # * This file is generated by gdbus-codegen, do not modify it. 1085s # * 1085s # * The license of this code is the same as for the D-Bus interface description 1085s # * it was derived from. Note that it links to GLib, so must comply with the 1085s # * LGPL linking clauses. 1085s # */ 1085s # 1085s # #ifdef HAVE_CONFIG_H 1085s # # include "config.h" 1085s # #endif 1085s # 1085s # #include 1085s # #ifdef G_OS_UNIX 1085s # # include 1085s # #endif 1085s # 1085s # #ifdef G_ENABLE_DEBUG 1085s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1085s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1085s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1085s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1085s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1085s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1085s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1085s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1085s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1085s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1085s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1085s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1085s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1085s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1085s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1085s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1085s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1085s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1085s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1085s # #else /* !G_ENABLE_DEBUG */ 1085s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1085s # * Do not access GValues directly in your code. Instead, use the 1085s # * g_value_get_*() functions 1085s # */ 1085s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1085s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1085s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1085s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1085s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1085s # #endif /* !G_ENABLE_DEBUG */ 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusArgInfo parent_struct; 1085s # gboolean use_gvariant; 1085s # } _ExtendedGDBusArgInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusMethodInfo parent_struct; 1085s # const gchar *signal_name; 1085s # gboolean pass_fdlist; 1085s # } _ExtendedGDBusMethodInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusSignalInfo parent_struct; 1085s # const gchar *signal_name; 1085s # } _ExtendedGDBusSignalInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusPropertyInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # guint use_gvariant : 1; 1085s # guint emits_changed_signal : 1; 1085s # } _ExtendedGDBusPropertyInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusInterfaceInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # } _ExtendedGDBusInterfaceInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # const _ExtendedGDBusPropertyInfo *info; 1085s # guint prop_id; 1085s # GValue orig_value; /* the value before the change */ 1085s # } ChangedProperty; 1085s # 1085s # static void 1085s # _changed_property_free (ChangedProperty *data) 1085s # { 1085s # g_value_unset (&data->orig_value); 1085s # g_free (data); 1085s # } 1085s # 1085s # static gboolean 1085s # _g_strv_equal0 (gchar **a, gchar **b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # guint n; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # if (g_strv_length (a) != g_strv_length (b)) 1085s # goto out; 1085s # for (n = 0; a[n] != NULL; n++) 1085s # if (g_strcmp0 (a[n], b[n]) != 0) 1085s # goto out; 1085s # ret = TRUE; 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _g_variant_equal0 (GVariant *a, GVariant *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # ret = g_variant_equal (a, b); 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # G_GNUC_UNUSED static gboolean 1085s # _g_value_equal (const GValue *a, const GValue *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1085s # switch (G_VALUE_TYPE (a)) 1085s # { 1085s # case G_TYPE_BOOLEAN: 1085s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1085s # break; 1085s # case G_TYPE_UCHAR: 1085s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1085s # break; 1085s # case G_TYPE_INT: 1085s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1085s # break; 1085s # case G_TYPE_UINT: 1085s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1085s # break; 1085s # case G_TYPE_INT64: 1085s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1085s # break; 1085s # case G_TYPE_UINT64: 1085s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1085s # break; 1085s # case G_TYPE_DOUBLE: 1085s # { 1085s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1085s # gdouble da = g_value_get_double (a); 1085s # gdouble db = g_value_get_double (b); 1085s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1085s # } 1085s # break; 1085s # case G_TYPE_STRING: 1085s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1085s # break; 1085s # case G_TYPE_VARIANT: 1085s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1085s # break; 1085s # default: 1085s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1085s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1085s # else 1085s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1085s # break; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static void 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint G_GNUC_UNUSED, 1085s # void *marshal_data) 1085s # { 1085s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1085s # (void *data1, 1085s # GDBusMethodInvocation *arg_method_invocation, 1085s # guchar arg_arg_y, 1085s # void *data2); 1085s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 1085s # GCClosure *cc = (GCClosure*) closure; 1085s # void *data1, *data2; 1085s # gboolean v_return; 1085s # 1085s # g_return_if_fail (return_value != NULL); 1085s # g_return_if_fail (n_param_values == 3); 1085s # 1085s # if (G_CCLOSURE_SWAP_DATA (closure)) 1085s # { 1085s # data1 = closure->data; 1085s # data2 = g_value_peek_pointer (param_values + 0); 1085s # } 1085s # else 1085s # { 1085s # data1 = g_value_peek_pointer (param_values + 0); 1085s # data2 = closure->data; 1085s # } 1085s # 1085s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1085s # (marshal_data ? marshal_data : cc->callback); 1085s # 1085s # v_return = 1085s # callback (data1, 1085s # g_marshal_value_peek_object (param_values + 1), 1085s # g_marshal_value_peek_uchar (param_values + 2), 1085s # data2); 1085s # 1085s # g_value_set_boolean (return_value, v_return); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ 1085s # * Code for interface org.project.UsefulInterface 1085s # * ------------------------------------------------------------------------ 1085s # */ 1085s # 1085s # /** 1085s # * SECTION:OrgProjectUsefulInterface 1085s # * @title: OrgProjectUsefulInterface 1085s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1085s # * 1085s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1085s # */ 1085s # 1085s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1085s # 1085s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "arg_y", 1085s # (gchar *) "y", 1085s # NULL 1085s # }, 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "SingleArgMethodY", 1085s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "handle-single-arg-method-y", 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "org.project.UsefulInterface", 1085s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1085s # NULL, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "org-project-useful-interface", 1085s # }; 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_interface_info: 1085s # * 1085s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1085s # * 1085s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1085s # */ 1085s # GDBusInterfaceInfo * 1085s # org_project_useful_interface_interface_info (void) 1085s # { 1085s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_override_properties: 1085s # * @klass: The class structure for a #GObject derived class. 1085s # * @property_id_begin: The property id to assign to the first overridden property. 1085s # * 1085s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1085s # * The properties are overridden in the order they are defined. 1085s # * 1085s # * Returns: The last property id. 1085s # */ 1085s # guint 1085s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1085s # { 1085s # return property_id_begin - 1; 1085s # } 1085s # 1085s # 1085s # inline static void 1085s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint, 1085s # void *marshal_data) 1085s # { 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 1085s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1085s # } 1085s # 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterface: 1085s # * 1085s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceIface: 1085s # * @parent_iface: The parent interface. 1085s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1085s # * 1085s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1085s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1085s # 1085s # static void 1085s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1085s # { 1085s # /* GObject signals for incoming D-Bus method calls: */ 1085s # /** 1085s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: A #GDBusMethodInvocation. 1085s # * @arg_arg_y: Argument passed by remote caller. 1085s # * 1085s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1085s # * 1085s # * 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. 1085s # * 1085s # * 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. 1085s # */ 1085s # g_signal_new ("handle-single-arg-method-y", 1085s # G_TYPE_FROM_INTERFACE (iface), 1085s # G_SIGNAL_RUN_LAST, 1085s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1085s # g_signal_accumulator_true_handled, 1085s # NULL, 1085s # org_project_useful_interface_method_marshal_single_arg_method_y, 1085s # G_TYPE_BOOLEAN, 1085s # 2, 1085s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 1085s # 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_y: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_y: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1085s # */ 1085s # void 1085s # org_project_useful_interface_call_single_arg_method_y ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # guchar arg_arg_y, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodY", 1085s # g_variant_new ("(y)", 1085s # arg_arg_y), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # callback, 1085s # user_data); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_y_finish: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_y_finish ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_y_sync: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_y: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_y_sync ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # guchar arg_arg_y, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodY", 1085s # g_variant_new ("(y)", 1085s # arg_arg_y), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_complete_single_arg_method_y: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1085s # * 1085s # * 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. 1085s # * 1085s # * This method will free @invocation, you cannot use it afterwards. 1085s # */ 1085s # void 1085s # org_project_useful_interface_complete_single_arg_method_y ( 1085s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1085s # GDBusMethodInvocation *invocation) 1085s # { 1085s # g_dbus_method_invocation_return_value (invocation, 1085s # g_variant_new ("()")); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxy: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxyClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceProxyPrivate 1085s # { 1085s # GData *qdata; 1085s # }; 1085s # 1085s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_proxy_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1085s # g_datalist_clear (&proxy->priv->qdata); 1085s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # const GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1085s # const gchar *sender_name G_GNUC_UNUSED, 1085s # const gchar *signal_name, 1085s # GVariant *parameters) 1085s # { 1085s # _ExtendedGDBusSignalInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # gsize n; 1085s # guint signal_id; 1085s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1085s # if (info == NULL) 1085s # return; 1085s # num_params = g_variant_n_children (parameters); 1085s # paramv = g_new0 (GValue, num_params + 1); 1085s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[0], proxy); 1085s # g_variant_iter_init (&iter, parameters); 1085s # n = 1; 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_signal_emitv (paramv, signal_id, 0, NULL); 1085s # for (n = 0; n < num_params + 1; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1085s # GVariant *changed_properties, 1085s # const gchar *const *invalidated_properties) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1085s # guint n; 1085s # const gchar *key; 1085s # GVariantIter *iter; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # g_variant_get (changed_properties, "a{sv}", &iter); 1085s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1085s # g_datalist_remove_data (&proxy->priv->qdata, key); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # g_variant_iter_free (iter); 1085s # for (n = 0; invalidated_properties[n] != NULL; n++) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1085s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1085s # #else 1085s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1085s # #endif 1085s # 1085s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusProxyClass *proxy_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1085s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1085s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1085s # 1085s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1085s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1085s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_sync: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_sync ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new_for_bus ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_sync: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_sync ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeleton: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeletonClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1085s # { 1085s # GValue *properties; 1085s # GList *changed_properties; 1085s # GSource *changed_properties_idle_source; 1085s # GMainContext *context; 1085s # GMutex lock; 1085s # }; 1085s # 1085s # static void 1085s # _org_project_useful_interface_skeleton_handle_method_call ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name, 1085s # const gchar *method_name, 1085s # GVariant *parameters, 1085s # GDBusMethodInvocation *invocation, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # _ExtendedGDBusMethodInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # guint num_extra; 1085s # gsize n; 1085s # guint signal_id; 1085s # GValue return_value = G_VALUE_INIT; 1085s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1085s # g_assert (info != NULL); 1085s # num_params = g_variant_n_children (parameters); 1085s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1085s # n = 0; 1085s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[n++], skeleton); 1085s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1085s # g_value_set_object (¶mv[n++], invocation); 1085s # if (info->pass_fdlist) 1085s # { 1085s # #ifdef G_OS_UNIX 1085s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1085s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1085s # #else 1085s # g_assert_not_reached (); 1085s # #endif 1085s # } 1085s # g_variant_iter_init (&iter, parameters); 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1085s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1085s # if (!g_value_get_boolean (&return_value)) 1085s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1085s # g_value_unset (&return_value); 1085s # for (n = 0; n < num_params + num_extra; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static GVariant * 1085s # _org_project_useful_interface_skeleton_handle_get_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # GVariant *ret; 1085s # ret = NULL; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # g_value_init (&value, pspec->value_type); 1085s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1085s # g_value_unset (&value); 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _org_project_useful_interface_skeleton_handle_set_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GVariant *variant, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # gboolean ret; 1085s # ret = FALSE; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # if (info->use_gvariant) 1085s # g_value_set_variant (&value, variant); 1085s # else 1085s # g_dbus_gvariant_to_gvalue (variant, &value); 1085s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # g_value_unset (&value); 1085s # ret = TRUE; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1085s # { 1085s # _org_project_useful_interface_skeleton_handle_method_call, 1085s # _org_project_useful_interface_skeleton_handle_get_property, 1085s # _org_project_useful_interface_skeleton_handle_set_property, 1085s # {NULL} 1085s # }; 1085s # 1085s # static GDBusInterfaceInfo * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return org_project_useful_interface_interface_info (); 1085s # } 1085s # 1085s # static GDBusInterfaceVTable * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1085s # } 1085s # 1085s # static GVariant * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1085s # 1085s # GVariantBuilder builder; 1085s # guint n; 1085s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1085s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1085s # goto out; 1085s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1085s # { 1085s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1085s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1085s # { 1085s # GVariant *value; 1085s # 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); 1085s # if (value != NULL) 1085s # { 1085s # g_variant_take_ref (value); 1085s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1085s # g_variant_unref (value); 1085s # } 1085s # } 1085s # } 1085s # out: 1085s # return g_variant_builder_end (&builder); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_skeleton_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1085s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1085s # if (skeleton->priv->changed_properties_idle_source != NULL) 1085s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1085s # g_main_context_unref (skeleton->priv->context); 1085s # g_mutex_clear (&skeleton->priv->lock); 1085s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1085s # #else 1085s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1085s # #endif 1085s # 1085s # g_mutex_init (&skeleton->priv->lock); 1085s # skeleton->priv->context = g_main_context_ref_thread_default (); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusInterfaceSkeletonClass *skeleton_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1085s # 1085s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1085s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1085s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1085s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1085s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_skeleton_new: 1085s # * 1085s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_skeleton_new (void) 1085s # { 1085s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1085s # } 1085s # /tmp/tmpdp4giqbp/tmpqzhrxuu6.xml: 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdp4giqbp/tmpqzhrxuu6.xml', '--output', '-', '--body'] 1085s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1085s # Output: /* 1085s # * This file is generated by gdbus-codegen, do not modify it. 1085s # * 1085s # * The license of this code is the same as for the D-Bus interface description 1085s # * it was derived from. Note that it links to GLib, so must comply with the 1085s # * LGPL linking clauses. 1085s # */ 1085s # 1085s # #ifdef HAVE_CONFIG_H 1085s # # include "config.h" 1085s # #endif 1085s # 1085s # #include 1085s # #ifdef G_OS_UNIX 1085s # # include 1085s # #endif 1085s # 1085s # #ifdef G_ENABLE_DEBUG 1085s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1085s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1085s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1085s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1085s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1085s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1085s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1085s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1085s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1085s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1085s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1085s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1085s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1085s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1085s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1085s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1085s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1085s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1085s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1085s # #else /* !G_ENABLE_DEBUG */ 1085s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1085s # * Do not access GValues directly in your code. Instead, use the 1085s # * g_value_get_*() functions 1085s # */ 1085s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1085s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1085s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1085s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1085s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1085s # #endif /* !G_ENABLE_DEBUG */ 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusArgInfo parent_struct; 1085s # gboolean use_gvariant; 1085s # } _ExtendedGDBusArgInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusMethodInfo parent_struct; 1085s # const gchar *signal_name; 1085s # gboolean pass_fdlist; 1085s # } _ExtendedGDBusMethodInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusSignalInfo parent_struct; 1085s # const gchar *signal_name; 1085s # } _ExtendedGDBusSignalInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusPropertyInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # guint use_gvariant : 1; 1085s # guint emits_changed_signal : 1; 1085s # } _ExtendedGDBusPropertyInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusInterfaceInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # } _ExtendedGDBusInterfaceInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # const _ExtendedGDBusPropertyInfo *info; 1085s # guint prop_id; 1085s # GValue orig_value; /* the value before the change */ 1085s # } ChangedProperty; 1085s # 1085s # static void 1085s # _changed_property_free (ChangedProperty *data) 1085s # { 1085s # g_value_unset (&data->orig_value); 1085s # g_free (data); 1085s # } 1085s # 1085s # static gboolean 1085s # _g_strv_equal0 (gchar **a, gchar **b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # guint n; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # if (g_strv_length (a) != g_strv_length (b)) 1085s # goto out; 1085s # for (n = 0; a[n] != NULL; n++) 1085s # if (g_strcmp0 (a[n], b[n]) != 0) 1085s # goto out; 1085s # ret = TRUE; 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _g_variant_equal0 (GVariant *a, GVariant *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # ret = g_variant_equal (a, b); 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # G_GNUC_UNUSED static gboolean 1085s # _g_value_equal (const GValue *a, const GValue *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1085s # switch (G_VALUE_TYPE (a)) 1085s # { 1085s # case G_TYPE_BOOLEAN: 1085s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1085s # break; 1085s # case G_TYPE_UCHAR: 1085s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1085s # break; 1085s # case G_TYPE_INT: 1085s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1085s # break; 1085s # case G_TYPE_UINT: 1085s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1085s # break; 1085s # case G_TYPE_INT64: 1085s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1085s # break; 1085s # case G_TYPE_UINT64: 1085s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1085s # break; 1085s # case G_TYPE_DOUBLE: 1085s # { 1085s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1085s # gdouble da = g_value_get_double (a); 1085s # gdouble db = g_value_get_double (b); 1085s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1085s # } 1085s # break; 1085s # case G_TYPE_STRING: 1085s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1085s # break; 1085s # case G_TYPE_VARIANT: 1085s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1085s # break; 1085s # default: 1085s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1085s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1085s # else 1085s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1085s # break; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static void 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint G_GNUC_UNUSED, 1085s # void *marshal_data) 1085s # { 1085s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1085s # (void *data1, 1085s # GDBusMethodInvocation *arg_method_invocation, 1085s # gint16 arg_arg_n, 1085s # void *data2); 1085s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1085s # GCClosure *cc = (GCClosure*) closure; 1085s # void *data1, *data2; 1085s # gboolean v_return; 1085s # 1085s # g_return_if_fail (return_value != NULL); 1085s # g_return_if_fail (n_param_values == 3); 1085s # 1085s # if (G_CCLOSURE_SWAP_DATA (closure)) 1085s # { 1085s # data1 = closure->data; 1085s # data2 = g_value_peek_pointer (param_values + 0); 1085s # } 1085s # else 1085s # { 1085s # data1 = g_value_peek_pointer (param_values + 0); 1085s # data2 = closure->data; 1085s # } 1085s # 1085s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1085s # (marshal_data ? marshal_data : cc->callback); 1085s # 1085s # v_return = 1085s # callback (data1, 1085s # g_marshal_value_peek_object (param_values + 1), 1085s # g_marshal_value_peek_int (param_values + 2), 1085s # data2); 1085s # 1085s # g_value_set_boolean (return_value, v_return); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ 1085s # * Code for interface org.project.UsefulInterface 1085s # * ------------------------------------------------------------------------ 1085s # */ 1085s # 1085s # /** 1085s # * SECTION:OrgProjectUsefulInterface 1085s # * @title: OrgProjectUsefulInterface 1085s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1085s # * 1085s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1085s # */ 1085s # 1085s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1085s # 1085s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "arg_n", 1085s # (gchar *) "n", 1085s # NULL 1085s # }, 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "SingleArgMethodN", 1085s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "handle-single-arg-method-n", 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "org.project.UsefulInterface", 1085s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1085s # NULL, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "org-project-useful-interface", 1085s # }; 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_interface_info: 1085s # * 1085s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1085s # * 1085s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1085s # */ 1085s # GDBusInterfaceInfo * 1085s # org_project_useful_interface_interface_info (void) 1085s # { 1085s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_override_properties: 1085s # * @klass: The class structure for a #GObject derived class. 1085s # * @property_id_begin: The property id to assign to the first overridden property. 1085s # * 1085s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1085s # * The properties are overridden in the order they are defined. 1085s # * 1085s # * Returns: The last property id. 1085s # */ 1085s # guint 1085s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1085s # { 1085s # return property_id_begin - 1; 1085s # } 1085s # 1085s # 1085s # inline static void 1085s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint, 1085s # void *marshal_data) 1085s # { 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1085s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1085s # } 1085s # 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterface: 1085s # * 1085s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceIface: 1085s # * @parent_iface: The parent interface. 1085s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1085s # * 1085s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1085s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1085s # 1085s # static void 1085s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1085s # { 1085s # /* GObject signals for incoming D-Bus method calls: */ 1085s # /** 1085s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: A #GDBusMethodInvocation. 1085s # * @arg_arg_n: Argument passed by remote caller. 1085s # * 1085s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1085s # * 1085s # * 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. 1085s # * 1085s # * 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. 1085s # */ 1085s # g_signal_new ("handle-single-arg-method-n", 1085s # G_TYPE_FROM_INTERFACE (iface), 1085s # G_SIGNAL_RUN_LAST, 1085s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1085s # g_signal_accumulator_true_handled, 1085s # NULL, 1085s # org_project_useful_interface_method_marshal_single_arg_method_n, 1085s # G_TYPE_BOOLEAN, 1085s # 2, 1085s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1085s # 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_n: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_n: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1085s # */ 1085s # void 1085s # org_project_useful_interface_call_single_arg_method_n ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # gint16 arg_arg_n, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodN", 1085s # g_variant_new ("(n)", 1085s # arg_arg_n), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # callback, 1085s # user_data); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_n_finish: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_n_finish ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_n_sync: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_n: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_n_sync ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # gint16 arg_arg_n, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodN", 1085s # g_variant_new ("(n)", 1085s # arg_arg_n), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_complete_single_arg_method_n: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1085s # * 1085s # * 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. 1085s # * 1085s # * This method will free @invocation, you cannot use it afterwards. 1085s # */ 1085s # void 1085s # org_project_useful_interface_complete_single_arg_method_n ( 1085s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1085s # GDBusMethodInvocation *invocation) 1085s # { 1085s # g_dbus_method_invocation_return_value (invocation, 1085s # g_variant_new ("()")); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxy: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxyClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceProxyPrivate 1085s # { 1085s # GData *qdata; 1085s # }; 1085s # 1085s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_proxy_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1085s # g_datalist_clear (&proxy->priv->qdata); 1085s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # const GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1085s # const gchar *sender_name G_GNUC_UNUSED, 1085s # const gchar *signal_name, 1085s # GVariant *parameters) 1085s # { 1085s # _ExtendedGDBusSignalInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # gsize n; 1085s # guint signal_id; 1085s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1085s # if (info == NULL) 1085s # return; 1085s # num_params = g_variant_n_children (parameters); 1085s # paramv = g_new0 (GValue, num_params + 1); 1085s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[0], proxy); 1085s # g_variant_iter_init (&iter, parameters); 1085s # n = 1; 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_signal_emitv (paramv, signal_id, 0, NULL); 1085s # for (n = 0; n < num_params + 1; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1085s # GVariant *changed_properties, 1085s # const gchar *const *invalidated_properties) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1085s # guint n; 1085s # const gchar *key; 1085s # GVariantIter *iter; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # g_variant_get (changed_properties, "a{sv}", &iter); 1085s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1085s # g_datalist_remove_data (&proxy->priv->qdata, key); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # g_variant_iter_free (iter); 1085s # for (n = 0; invalidated_properties[n] != NULL; n++) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1085s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1085s # #else 1085s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1085s # #endif 1085s # 1085s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusProxyClass *proxy_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1085s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1085s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1085s # 1085s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1085s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1085s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_sync: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_sync ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new_for_bus ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_sync: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_sync ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeleton: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeletonClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1085s # { 1085s # GValue *properties; 1085s # GList *changed_properties; 1085s # GSource *changed_properties_idle_source; 1085s # GMainContext *context; 1085s # GMutex lock; 1085s # }; 1085s # 1085s # static void 1085s # _org_project_useful_interface_skeleton_handle_method_call ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name, 1085s # const gchar *method_name, 1085s # GVariant *parameters, 1085s # GDBusMethodInvocation *invocation, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # _ExtendedGDBusMethodInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # guint num_extra; 1085s # gsize n; 1085s # guint signal_id; 1085s # GValue return_value = G_VALUE_INIT; 1085s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1085s # g_assert (info != NULL); 1085s # num_params = g_variant_n_children (parameters); 1085s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1085s # n = 0; 1085s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[n++], skeleton); 1085s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1085s # g_value_set_object (¶mv[n++], invocation); 1085s # if (info->pass_fdlist) 1085s # { 1085s # #ifdef G_OS_UNIX 1085s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1085s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1085s # #else 1085s # g_assert_not_reached (); 1085s # #endif 1085s # } 1085s # g_variant_iter_init (&iter, parameters); 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1085s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1085s # if (!g_value_get_boolean (&return_value)) 1085s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1085s # g_value_unset (&return_value); 1085s # for (n = 0; n < num_params + num_extra; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static GVariant * 1085s # _org_project_useful_interface_skeleton_handle_get_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # GVariant *ret; 1085s # ret = NULL; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # g_value_init (&value, pspec->value_type); 1085s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1085s # g_value_unset (&value); 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _org_project_useful_interface_skeleton_handle_set_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GVariant *variant, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # gboolean ret; 1085s # ret = FALSE; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # if (info->use_gvariant) 1085s # g_value_set_variant (&value, variant); 1085s # else 1085s # g_dbus_gvariant_to_gvalue (variant, &value); 1085s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # g_value_unset (&value); 1085s # ret = TRUE; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1085s # { 1085s # _org_project_useful_interface_skeleton_handle_method_call, 1085s # _org_project_useful_interface_skeleton_handle_get_property, 1085s # _org_project_useful_interface_skeleton_handle_set_property, 1085s # {NULL} 1085s # }; 1085s # 1085s # static GDBusInterfaceInfo * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return org_project_useful_interface_interface_info (); 1085s # } 1085s # 1085s # static GDBusInterfaceVTable * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1085s # } 1085s # 1085s # static GVariant * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1085s # 1085s # GVariantBuilder builder; 1085s # guint n; 1085s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1085s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1085s # goto out; 1085s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1085s # { 1085s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1085s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1085s # { 1085s # GVariant *value; 1085s # 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); 1085s # if (value != NULL) 1085s # { 1085s # g_variant_take_ref (value); 1085s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1085s # g_variant_unref (value); 1085s # } 1085s # } 1085s # } 1085s # out: 1085s # return g_variant_builder_end (&builder); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_skeleton_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1085s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1085s # if (skeleton->priv->changed_properties_idle_source != NULL) 1085s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1085s # g_main_context_unref (skeleton->priv->context); 1085s # g_mutex_clear (&skeleton->priv->lock); 1085s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1085s # #else 1085s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1085s # #endif 1085s # 1085s # g_mutex_init (&skeleton->priv->lock); 1085s # skeleton->priv->context = g_main_context_ref_thread_default (); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusInterfaceSkeletonClass *skeleton_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1085s # 1085s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1085s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1085s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1085s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1085s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_skeleton_new: 1085s # * 1085s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_skeleton_new (void) 1085s # { 1085s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1085s # } 1085s # /tmp/tmpdp4giqbp/tmpkjl_5w_h.xml: 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdp4giqbp/tmpkjl_5w_h.xml', '--output', '-', '--body'] 1085s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1085s # Output: /* 1085s # * This file is generated by gdbus-codegen, do not modify it. 1085s # * 1085s # * The license of this code is the same as for the D-Bus interface description 1085s # * it was derived from. Note that it links to GLib, so must comply with the 1085s # * LGPL linking clauses. 1085s # */ 1085s # 1085s # #ifdef HAVE_CONFIG_H 1085s # # include "config.h" 1085s # #endif 1085s # 1085s # #include 1085s # #ifdef G_OS_UNIX 1085s # # include 1085s # #endif 1085s # 1085s # #ifdef G_ENABLE_DEBUG 1085s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1085s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1085s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1085s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1085s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1085s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1085s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1085s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1085s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1085s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1085s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1085s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1085s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1085s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1085s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1085s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1085s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1085s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1085s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1085s # #else /* !G_ENABLE_DEBUG */ 1085s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1085s # * Do not access GValues directly in your code. Instead, use the 1085s # * g_value_get_*() functions 1085s # */ 1085s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1085s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1085s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1085s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1085s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1085s # #endif /* !G_ENABLE_DEBUG */ 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusArgInfo parent_struct; 1085s # gboolean use_gvariant; 1085s # } _ExtendedGDBusArgInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusMethodInfo parent_struct; 1085s # const gchar *signal_name; 1085s # gboolean pass_fdlist; 1085s # } _ExtendedGDBusMethodInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusSignalInfo parent_struct; 1085s # const gchar *signal_name; 1085s # } _ExtendedGDBusSignalInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusPropertyInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # guint use_gvariant : 1; 1085s # guint emits_changed_signal : 1; 1085s # } _ExtendedGDBusPropertyInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusInterfaceInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # } _ExtendedGDBusInterfaceInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # const _ExtendedGDBusPropertyInfo *info; 1085s # guint prop_id; 1085s # GValue orig_value; /* the value before the change */ 1085s # } ChangedProperty; 1085s # 1085s # static void 1085s # _changed_property_free (ChangedProperty *data) 1085s # { 1085s # g_value_unset (&data->orig_value); 1085s # g_free (data); 1085s # } 1085s # 1085s # static gboolean 1085s # _g_strv_equal0 (gchar **a, gchar **b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # guint n; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # if (g_strv_length (a) != g_strv_length (b)) 1085s # goto out; 1085s # for (n = 0; a[n] != NULL; n++) 1085s # if (g_strcmp0 (a[n], b[n]) != 0) 1085s # goto out; 1085s # ret = TRUE; 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _g_variant_equal0 (GVariant *a, GVariant *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # ret = g_variant_equal (a, b); 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # G_GNUC_UNUSED static gboolean 1085s # _g_value_equal (const GValue *a, const GValue *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1085s # switch (G_VALUE_TYPE (a)) 1085s # { 1085s # case G_TYPE_BOOLEAN: 1085s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1085s # break; 1085s # case G_TYPE_UCHAR: 1085s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1085s # break; 1085s # case G_TYPE_INT: 1085s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1085s # break; 1085s # case G_TYPE_UINT: 1085s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1085s # break; 1085s # case G_TYPE_INT64: 1085s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1085s # break; 1085s # case G_TYPE_UINT64: 1085s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1085s # break; 1085s # case G_TYPE_DOUBLE: 1085s # { 1085s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1085s # gdouble da = g_value_get_double (a); 1085s # gdouble db = g_value_get_double (b); 1085s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1085s # } 1085s # break; 1085s # case G_TYPE_STRING: 1085s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1085s # break; 1085s # case G_TYPE_VARIANT: 1085s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1085s # break; 1085s # default: 1085s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1085s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1085s # else 1085s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1085s # break; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static void 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint G_GNUC_UNUSED, 1085s # void *marshal_data) 1085s # { 1085s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1085s # (void *data1, 1085s # GDBusMethodInvocation *arg_method_invocation, 1085s # guint16 arg_arg_q, 1085s # void *data2); 1085s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1085s # GCClosure *cc = (GCClosure*) closure; 1085s # void *data1, *data2; 1085s # gboolean v_return; 1085s # 1085s # g_return_if_fail (return_value != NULL); 1085s # g_return_if_fail (n_param_values == 3); 1085s # 1085s # if (G_CCLOSURE_SWAP_DATA (closure)) 1085s # { 1085s # data1 = closure->data; 1085s # data2 = g_value_peek_pointer (param_values + 0); 1085s # } 1085s # else 1085s # { 1085s # data1 = g_value_peek_pointer (param_values + 0); 1085s # data2 = closure->data; 1085s # } 1085s # 1085s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1085s # (marshal_data ? marshal_data : cc->callback); 1085s # 1085s # v_return = 1085s # callback (data1, 1085s # g_marshal_value_peek_object (param_values + 1), 1085s # g_marshal_value_peek_uint (param_values + 2), 1085s # data2); 1085s # 1085s # g_value_set_boolean (return_value, v_return); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ 1085s # * Code for interface org.project.UsefulInterface 1085s # * ------------------------------------------------------------------------ 1085s # */ 1085s # 1085s # /** 1085s # * SECTION:OrgProjectUsefulInterface 1085s # * @title: OrgProjectUsefulInterface 1085s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1085s # * 1085s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1085s # */ 1085s # 1085s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1085s # 1085s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "arg_q", 1085s # (gchar *) "q", 1085s # NULL 1085s # }, 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "SingleArgMethodQ", 1085s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "handle-single-arg-method-q", 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "org.project.UsefulInterface", 1085s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1085s # NULL, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "org-project-useful-interface", 1085s # }; 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_interface_info: 1085s # * 1085s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1085s # * 1085s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1085s # */ 1085s # GDBusInterfaceInfo * 1085s # org_project_useful_interface_interface_info (void) 1085s # { 1085s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_override_properties: 1085s # * @klass: The class structure for a #GObject derived class. 1085s # * @property_id_begin: The property id to assign to the first overridden property. 1085s # * 1085s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1085s # * The properties are overridden in the order they are defined. 1085s # * 1085s # * Returns: The last property id. 1085s # */ 1085s # guint 1085s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1085s # { 1085s # return property_id_begin - 1; 1085s # } 1085s # 1085s # 1085s # inline static void 1085s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint, 1085s # void *marshal_data) 1085s # { 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1085s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1085s # } 1085s # 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterface: 1085s # * 1085s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceIface: 1085s # * @parent_iface: The parent interface. 1085s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1085s # * 1085s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1085s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1085s # 1085s # static void 1085s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1085s # { 1085s # /* GObject signals for incoming D-Bus method calls: */ 1085s # /** 1085s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: A #GDBusMethodInvocation. 1085s # * @arg_arg_q: Argument passed by remote caller. 1085s # * 1085s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1085s # * 1085s # * 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. 1085s # * 1085s # * 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. 1085s # */ 1085s # g_signal_new ("handle-single-arg-method-q", 1085s # G_TYPE_FROM_INTERFACE (iface), 1085s # G_SIGNAL_RUN_LAST, 1085s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1085s # g_signal_accumulator_true_handled, 1085s # NULL, 1085s # org_project_useful_interface_method_marshal_single_arg_method_q, 1085s # G_TYPE_BOOLEAN, 1085s # 2, 1085s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1085s # 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_q: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_q: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1085s # */ 1085s # void 1085s # org_project_useful_interface_call_single_arg_method_q ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # guint16 arg_arg_q, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodQ", 1085s # g_variant_new ("(q)", 1085s # arg_arg_q), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # callback, 1085s # user_data); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_q_finish: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_q_finish ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_q_sync: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_q: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_q_sync ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # guint16 arg_arg_q, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodQ", 1085s # g_variant_new ("(q)", 1085s # arg_arg_q), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_complete_single_arg_method_q: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1085s # * 1085s # * 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. 1085s # * 1085s # * This method will free @invocation, you cannot use it afterwards. 1085s # */ 1085s # void 1085s # org_project_useful_interface_complete_single_arg_method_q ( 1085s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1085s # GDBusMethodInvocation *invocation) 1085s # { 1085s # g_dbus_method_invocation_return_value (invocation, 1085s # g_variant_new ("()")); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxy: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxyClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceProxyPrivate 1085s # { 1085s # GData *qdata; 1085s # }; 1085s # 1085s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_proxy_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1085s # g_datalist_clear (&proxy->priv->qdata); 1085s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # const GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1085s # const gchar *sender_name G_GNUC_UNUSED, 1085s # const gchar *signal_name, 1085s # GVariant *parameters) 1085s # { 1085s # _ExtendedGDBusSignalInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # gsize n; 1085s # guint signal_id; 1085s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1085s # if (info == NULL) 1085s # return; 1085s # num_params = g_variant_n_children (parameters); 1085s # paramv = g_new0 (GValue, num_params + 1); 1085s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[0], proxy); 1085s # g_variant_iter_init (&iter, parameters); 1085s # n = 1; 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_signal_emitv (paramv, signal_id, 0, NULL); 1085s # for (n = 0; n < num_params + 1; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1085s # GVariant *changed_properties, 1085s # const gchar *const *invalidated_properties) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1085s # guint n; 1085s # const gchar *key; 1085s # GVariantIter *iter; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # g_variant_get (changed_properties, "a{sv}", &iter); 1085s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1085s # g_datalist_remove_data (&proxy->priv->qdata, key); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # g_variant_iter_free (iter); 1085s # for (n = 0; invalidated_properties[n] != NULL; n++) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1085s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1085s # #else 1085s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1085s # #endif 1085s # 1085s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusProxyClass *proxy_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1085s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1085s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1085s # 1085s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1085s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1085s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_sync: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_sync ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new_for_bus ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_sync: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_sync ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeleton: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeletonClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1085s # { 1085s # GValue *properties; 1085s # GList *changed_properties; 1085s # GSource *changed_properties_idle_source; 1085s # GMainContext *context; 1085s # GMutex lock; 1085s # }; 1085s # 1085s # static void 1085s # _org_project_useful_interface_skeleton_handle_method_call ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name, 1085s # const gchar *method_name, 1085s # GVariant *parameters, 1085s # GDBusMethodInvocation *invocation, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # _ExtendedGDBusMethodInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # guint num_extra; 1085s # gsize n; 1085s # guint signal_id; 1085s # GValue return_value = G_VALUE_INIT; 1085s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1085s # g_assert (info != NULL); 1085s # num_params = g_variant_n_children (parameters); 1085s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1085s # n = 0; 1085s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[n++], skeleton); 1085s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1085s # g_value_set_object (¶mv[n++], invocation); 1085s # if (info->pass_fdlist) 1085s # { 1085s # #ifdef G_OS_UNIX 1085s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1085s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1085s # #else 1085s # g_assert_not_reached (); 1085s # #endif 1085s # } 1085s # g_variant_iter_init (&iter, parameters); 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1085s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1085s # if (!g_value_get_boolean (&return_value)) 1085s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1085s # g_value_unset (&return_value); 1085s # for (n = 0; n < num_params + num_extra; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static GVariant * 1085s # _org_project_useful_interface_skeleton_handle_get_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # GVariant *ret; 1085s # ret = NULL; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # g_value_init (&value, pspec->value_type); 1085s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1085s # g_value_unset (&value); 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _org_project_useful_interface_skeleton_handle_set_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GVariant *variant, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # gboolean ret; 1085s # ret = FALSE; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # if (info->use_gvariant) 1085s # g_value_set_variant (&value, variant); 1085s # else 1085s # g_dbus_gvariant_to_gvalue (variant, &value); 1085s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # g_value_unset (&value); 1085s # ret = TRUE; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1085s # { 1085s # _org_project_useful_interface_skeleton_handle_method_call, 1085s # _org_project_useful_interface_skeleton_handle_get_property, 1085s # _org_project_useful_interface_skeleton_handle_set_property, 1085s # {NULL} 1085s # }; 1085s # 1085s # static GDBusInterfaceInfo * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return org_project_useful_interface_interface_info (); 1085s # } 1085s # 1085s # static GDBusInterfaceVTable * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1085s # } 1085s # 1085s # static GVariant * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1085s # 1085s # GVariantBuilder builder; 1085s # guint n; 1085s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1085s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1085s # goto out; 1085s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1085s # { 1085s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1085s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1085s # { 1085s # GVariant *value; 1085s # 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); 1085s # if (value != NULL) 1085s # { 1085s # g_variant_take_ref (value); 1085s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1085s # g_variant_unref (value); 1085s # } 1085s # } 1085s # } 1085s # out: 1085s # return g_variant_builder_end (&builder); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_skeleton_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1085s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1085s # if (skeleton->priv->changed_properties_idle_source != NULL) 1085s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1085s # g_main_context_unref (skeleton->priv->context); 1085s # g_mutex_clear (&skeleton->priv->lock); 1085s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1085s # #else 1085s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1085s # #endif 1085s # 1085s # g_mutex_init (&skeleton->priv->lock); 1085s # skeleton->priv->context = g_main_context_ref_thread_default (); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusInterfaceSkeletonClass *skeleton_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1085s # 1085s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1085s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1085s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1085s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1085s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_skeleton_new: 1085s # * 1085s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_skeleton_new (void) 1085s # { 1085s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1085s # } 1085s # /tmp/tmpdp4giqbp/tmpp8ivobn0.xml: 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdp4giqbp/tmpp8ivobn0.xml', '--output', '-', '--body'] 1085s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1085s # Output: /* 1085s # * This file is generated by gdbus-codegen, do not modify it. 1085s # * 1085s # * The license of this code is the same as for the D-Bus interface description 1085s # * it was derived from. Note that it links to GLib, so must comply with the 1085s # * LGPL linking clauses. 1085s # */ 1085s # 1085s # #ifdef HAVE_CONFIG_H 1085s # # include "config.h" 1085s # #endif 1085s # 1085s # #include 1085s # #ifdef G_OS_UNIX 1085s # # include 1085s # #endif 1085s # 1085s # #ifdef G_ENABLE_DEBUG 1085s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1085s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1085s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1085s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1085s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1085s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1085s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1085s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1085s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1085s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1085s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1085s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1085s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1085s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1085s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1085s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1085s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1085s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1085s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1085s # #else /* !G_ENABLE_DEBUG */ 1085s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1085s # * Do not access GValues directly in your code. Instead, use the 1085s # * g_value_get_*() functions 1085s # */ 1085s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1085s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1085s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1085s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1085s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1085s # #endif /* !G_ENABLE_DEBUG */ 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusArgInfo parent_struct; 1085s # gboolean use_gvariant; 1085s # } _ExtendedGDBusArgInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusMethodInfo parent_struct; 1085s # const gchar *signal_name; 1085s # gboolean pass_fdlist; 1085s # } _ExtendedGDBusMethodInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusSignalInfo parent_struct; 1085s # const gchar *signal_name; 1085s # } _ExtendedGDBusSignalInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusPropertyInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # guint use_gvariant : 1; 1085s # guint emits_changed_signal : 1; 1085s # } _ExtendedGDBusPropertyInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusInterfaceInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # } _ExtendedGDBusInterfaceInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # const _ExtendedGDBusPropertyInfo *info; 1085s # guint prop_id; 1085s # GValue orig_value; /* the value before the change */ 1085s # } ChangedProperty; 1085s # 1085s # static void 1085s # _changed_property_free (ChangedProperty *data) 1085s # { 1085s # g_value_unset (&data->orig_value); 1085s # g_free (data); 1085s # } 1085s # 1085s # static gboolean 1085s # _g_strv_equal0 (gchar **a, gchar **b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # guint n; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # if (g_strv_length (a) != g_strv_length (b)) 1085s # goto out; 1085s # for (n = 0; a[n] != NULL; n++) 1085s # if (g_strcmp0 (a[n], b[n]) != 0) 1085s # goto out; 1085s # ret = TRUE; 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _g_variant_equal0 (GVariant *a, GVariant *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # ret = g_variant_equal (a, b); 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # G_GNUC_UNUSED static gboolean 1085s # _g_value_equal (const GValue *a, const GValue *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1085s # switch (G_VALUE_TYPE (a)) 1085s # { 1085s # case G_TYPE_BOOLEAN: 1085s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1085s # break; 1085s # case G_TYPE_UCHAR: 1085s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1085s # break; 1085s # case G_TYPE_INT: 1085s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1085s # break; 1085s # case G_TYPE_UINT: 1085s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1085s # break; 1085s # case G_TYPE_INT64: 1085s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1085s # break; 1085s # case G_TYPE_UINT64: 1085s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1085s # break; 1085s # case G_TYPE_DOUBLE: 1085s # { 1085s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1085s # gdouble da = g_value_get_double (a); 1085s # gdouble db = g_value_get_double (b); 1085s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1085s # } 1085s # break; 1085s # case G_TYPE_STRING: 1085s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1085s # break; 1085s # case G_TYPE_VARIANT: 1085s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1085s # break; 1085s # default: 1085s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1085s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1085s # else 1085s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1085s # break; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static void 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint G_GNUC_UNUSED, 1085s # void *marshal_data) 1085s # { 1085s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1085s # (void *data1, 1085s # GDBusMethodInvocation *arg_method_invocation, 1085s # gint arg_arg_i, 1085s # void *data2); 1085s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1085s # GCClosure *cc = (GCClosure*) closure; 1085s # void *data1, *data2; 1085s # gboolean v_return; 1085s # 1085s # g_return_if_fail (return_value != NULL); 1085s # g_return_if_fail (n_param_values == 3); 1085s # 1085s # if (G_CCLOSURE_SWAP_DATA (closure)) 1085s # { 1085s # data1 = closure->data; 1085s # data2 = g_value_peek_pointer (param_values + 0); 1085s # } 1085s # else 1085s # { 1085s # data1 = g_value_peek_pointer (param_values + 0); 1085s # data2 = closure->data; 1085s # } 1085s # 1085s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1085s # (marshal_data ? marshal_data : cc->callback); 1085s # 1085s # v_return = 1085s # callback (data1, 1085s # g_marshal_value_peek_object (param_values + 1), 1085s # g_marshal_value_peek_int (param_values + 2), 1085s # data2); 1085s # 1085s # g_value_set_boolean (return_value, v_return); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ 1085s # * Code for interface org.project.UsefulInterface 1085s # * ------------------------------------------------------------------------ 1085s # */ 1085s # 1085s # /** 1085s # * SECTION:OrgProjectUsefulInterface 1085s # * @title: OrgProjectUsefulInterface 1085s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1085s # * 1085s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1085s # */ 1085s # 1085s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1085s # 1085s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "arg_i", 1085s # (gchar *) "i", 1085s # NULL 1085s # }, 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "SingleArgMethodI", 1085s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "handle-single-arg-method-i", 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "org.project.UsefulInterface", 1085s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1085s # NULL, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "org-project-useful-interface", 1085s # }; 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_interface_info: 1085s # * 1085s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1085s # * 1085s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1085s # */ 1085s # GDBusInterfaceInfo * 1085s # org_project_useful_interface_interface_info (void) 1085s # { 1085s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_override_properties: 1085s # * @klass: The class structure for a #GObject derived class. 1085s # * @property_id_begin: The property id to assign to the first overridden property. 1085s # * 1085s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1085s # * The properties are overridden in the order they are defined. 1085s # * 1085s # * Returns: The last property id. 1085s # */ 1085s # guint 1085s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1085s # { 1085s # return property_id_begin - 1; 1085s # } 1085s # 1085s # 1085s # inline static void 1085s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint, 1085s # void *marshal_data) 1085s # { 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1085s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1085s # } 1085s # 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterface: 1085s # * 1085s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceIface: 1085s # * @parent_iface: The parent interface. 1085s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1085s # * 1085s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1085s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1085s # 1085s # static void 1085s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1085s # { 1085s # /* GObject signals for incoming D-Bus method calls: */ 1085s # /** 1085s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: A #GDBusMethodInvocation. 1085s # * @arg_arg_i: Argument passed by remote caller. 1085s # * 1085s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1085s # * 1085s # * 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. 1085s # * 1085s # * 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. 1085s # */ 1085s # g_signal_new ("handle-single-arg-method-i", 1085s # G_TYPE_FROM_INTERFACE (iface), 1085s # G_SIGNAL_RUN_LAST, 1085s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1085s # g_signal_accumulator_true_handled, 1085s # NULL, 1085s # org_project_useful_interface_method_marshal_single_arg_method_i, 1085s # G_TYPE_BOOLEAN, 1085s # 2, 1085s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1085s # 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_i: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_i: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1085s # */ 1085s # void 1085s # org_project_useful_interface_call_single_arg_method_i ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # gint arg_arg_i, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodI", 1085s # g_variant_new ("(i)", 1085s # arg_arg_i), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # callback, 1085s # user_data); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_i_finish: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_i_finish ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_i_sync: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_i: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_i_sync ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # gint arg_arg_i, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodI", 1085s # g_variant_new ("(i)", 1085s # arg_arg_i), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_complete_single_arg_method_i: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1085s # * 1085s # * 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. 1085s # * 1085s # * This method will free @invocation, you cannot use it afterwards. 1085s # */ 1085s # void 1085s # org_project_useful_interface_complete_single_arg_method_i ( 1085s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1085s # GDBusMethodInvocation *invocation) 1085s # { 1085s # g_dbus_method_invocation_return_value (invocation, 1085s # g_variant_new ("()")); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxy: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxyClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceProxyPrivate 1085s # { 1085s # GData *qdata; 1085s # }; 1085s # 1085s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_proxy_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1085s # g_datalist_clear (&proxy->priv->qdata); 1085s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # const GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1085s # const gchar *sender_name G_GNUC_UNUSED, 1085s # const gchar *signal_name, 1085s # GVariant *parameters) 1085s # { 1085s # _ExtendedGDBusSignalInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # gsize n; 1085s # guint signal_id; 1085s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1085s # if (info == NULL) 1085s # return; 1085s # num_params = g_variant_n_children (parameters); 1085s # paramv = g_new0 (GValue, num_params + 1); 1085s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[0], proxy); 1085s # g_variant_iter_init (&iter, parameters); 1085s # n = 1; 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_signal_emitv (paramv, signal_id, 0, NULL); 1085s # for (n = 0; n < num_params + 1; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1085s # GVariant *changed_properties, 1085s # const gchar *const *invalidated_properties) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1085s # guint n; 1085s # const gchar *key; 1085s # GVariantIter *iter; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # g_variant_get (changed_properties, "a{sv}", &iter); 1085s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1085s # g_datalist_remove_data (&proxy->priv->qdata, key); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # g_variant_iter_free (iter); 1085s # for (n = 0; invalidated_properties[n] != NULL; n++) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1085s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1085s # #else 1085s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1085s # #endif 1085s # 1085s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusProxyClass *proxy_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1085s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1085s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1085s # 1085s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1085s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1085s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_sync: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_sync ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new_for_bus ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_sync: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_sync ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeleton: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeletonClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1085s # { 1085s # GValue *properties; 1085s # GList *changed_properties; 1085s # GSource *changed_properties_idle_source; 1085s # GMainContext *context; 1085s # GMutex lock; 1085s # }; 1085s # 1085s # static void 1085s # _org_project_useful_interface_skeleton_handle_method_call ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name, 1085s # const gchar *method_name, 1085s # GVariant *parameters, 1085s # GDBusMethodInvocation *invocation, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # _ExtendedGDBusMethodInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # guint num_extra; 1085s # gsize n; 1085s # guint signal_id; 1085s # GValue return_value = G_VALUE_INIT; 1085s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1085s # g_assert (info != NULL); 1085s # num_params = g_variant_n_children (parameters); 1085s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1085s # n = 0; 1085s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[n++], skeleton); 1085s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1085s # g_value_set_object (¶mv[n++], invocation); 1085s # if (info->pass_fdlist) 1085s # { 1085s # #ifdef G_OS_UNIX 1085s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1085s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1085s # #else 1085s # g_assert_not_reached (); 1085s # #endif 1085s # } 1085s # g_variant_iter_init (&iter, parameters); 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1085s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1085s # if (!g_value_get_boolean (&return_value)) 1085s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1085s # g_value_unset (&return_value); 1085s # for (n = 0; n < num_params + num_extra; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static GVariant * 1085s # _org_project_useful_interface_skeleton_handle_get_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # GVariant *ret; 1085s # ret = NULL; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # g_value_init (&value, pspec->value_type); 1085s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1085s # g_value_unset (&value); 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _org_project_useful_interface_skeleton_handle_set_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GVariant *variant, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # gboolean ret; 1085s # ret = FALSE; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # if (info->use_gvariant) 1085s # g_value_set_variant (&value, variant); 1085s # else 1085s # g_dbus_gvariant_to_gvalue (variant, &value); 1085s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # g_value_unset (&value); 1085s # ret = TRUE; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1085s # { 1085s # _org_project_useful_interface_skeleton_handle_method_call, 1085s # _org_project_useful_interface_skeleton_handle_get_property, 1085s # _org_project_useful_interface_skeleton_handle_set_property, 1085s # {NULL} 1085s # }; 1085s # 1085s # static GDBusInterfaceInfo * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return org_project_useful_interface_interface_info (); 1085s # } 1085s # 1085s # static GDBusInterfaceVTable * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1085s # } 1085s # 1085s # static GVariant * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1085s # 1085s # GVariantBuilder builder; 1085s # guint n; 1085s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1085s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1085s # goto out; 1085s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1085s # { 1085s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1085s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1085s # { 1085s # GVariant *value; 1085s # 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); 1085s # if (value != NULL) 1085s # { 1085s # g_variant_take_ref (value); 1085s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1085s # g_variant_unref (value); 1085s # } 1085s # } 1085s # } 1085s # out: 1085s # return g_variant_builder_end (&builder); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_skeleton_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1085s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1085s # if (skeleton->priv->changed_properties_idle_source != NULL) 1085s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1085s # g_main_context_unref (skeleton->priv->context); 1085s # g_mutex_clear (&skeleton->priv->lock); 1085s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1085s # #else 1085s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1085s # #endif 1085s # 1085s # g_mutex_init (&skeleton->priv->lock); 1085s # skeleton->priv->context = g_main_context_ref_thread_default (); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusInterfaceSkeletonClass *skeleton_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1085s # 1085s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1085s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1085s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1085s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1085s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_skeleton_new: 1085s # * 1085s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_skeleton_new (void) 1085s # { 1085s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1085s # } 1085s # /tmp/tmpdp4giqbp/tmp9h2248a5.xml: 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdp4giqbp/tmp9h2248a5.xml', '--output', '-', '--body'] 1085s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1085s # Output: /* 1085s # * This file is generated by gdbus-codegen, do not modify it. 1085s # * 1085s # * The license of this code is the same as for the D-Bus interface description 1085s # * it was derived from. Note that it links to GLib, so must comply with the 1085s # * LGPL linking clauses. 1085s # */ 1085s # 1085s # #ifdef HAVE_CONFIG_H 1085s # # include "config.h" 1085s # #endif 1085s # 1085s # #include 1085s # #ifdef G_OS_UNIX 1085s # # include 1085s # #endif 1085s # 1085s # #ifdef G_ENABLE_DEBUG 1085s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1085s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1085s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1085s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1085s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1085s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1085s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1085s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1085s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1085s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1085s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1085s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1085s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1085s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1085s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1085s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1085s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1085s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1085s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1085s # #else /* !G_ENABLE_DEBUG */ 1085s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1085s # * Do not access GValues directly in your code. Instead, use the 1085s # * g_value_get_*() functions 1085s # */ 1085s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1085s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1085s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1085s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1085s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1085s # #endif /* !G_ENABLE_DEBUG */ 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusArgInfo parent_struct; 1085s # gboolean use_gvariant; 1085s # } _ExtendedGDBusArgInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusMethodInfo parent_struct; 1085s # const gchar *signal_name; 1085s # gboolean pass_fdlist; 1085s # } _ExtendedGDBusMethodInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusSignalInfo parent_struct; 1085s # const gchar *signal_name; 1085s # } _ExtendedGDBusSignalInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusPropertyInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # guint use_gvariant : 1; 1085s # guint emits_changed_signal : 1; 1085s # } _ExtendedGDBusPropertyInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusInterfaceInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # } _ExtendedGDBusInterfaceInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # const _ExtendedGDBusPropertyInfo *info; 1085s # guint prop_id; 1085s # GValue orig_value; /* the value before the change */ 1085s # } ChangedProperty; 1085s # 1085s # static void 1085s # _changed_property_free (ChangedProperty *data) 1085s # { 1085s # g_value_unset (&data->orig_value); 1085s # g_free (data); 1085s # } 1085s # 1085s # static gboolean 1085s # _g_strv_equal0 (gchar **a, gchar **b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # guint n; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # if (g_strv_length (a) != g_strv_length (b)) 1085s # goto out; 1085s # for (n = 0; a[n] != NULL; n++) 1085s # if (g_strcmp0 (a[n], b[n]) != 0) 1085s # goto out; 1085s # ret = TRUE; 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _g_variant_equal0 (GVariant *a, GVariant *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # ret = g_variant_equal (a, b); 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # G_GNUC_UNUSED static gboolean 1085s # _g_value_equal (const GValue *a, const GValue *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1085s # switch (G_VALUE_TYPE (a)) 1085s # { 1085s # case G_TYPE_BOOLEAN: 1085s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1085s # break; 1085s # case G_TYPE_UCHAR: 1085s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1085s # break; 1085s # case G_TYPE_INT: 1085s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1085s # break; 1085s # case G_TYPE_UINT: 1085s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1085s # break; 1085s # case G_TYPE_INT64: 1085s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1085s # break; 1085s # case G_TYPE_UINT64: 1085s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1085s # break; 1085s # case G_TYPE_DOUBLE: 1085s # { 1085s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1085s # gdouble da = g_value_get_double (a); 1085s # gdouble db = g_value_get_double (b); 1085s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1085s # } 1085s # break; 1085s # case G_TYPE_STRING: 1085s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1085s # break; 1085s # case G_TYPE_VARIANT: 1085s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1085s # break; 1085s # default: 1085s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1085s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1085s # else 1085s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1085s # break; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static void 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint G_GNUC_UNUSED, 1085s # void *marshal_data) 1085s # { 1085s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1085s # (void *data1, 1085s # GDBusMethodInvocation *arg_method_invocation, 1085s # guint arg_arg_u, 1085s # void *data2); 1085s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1085s # GCClosure *cc = (GCClosure*) closure; 1085s # void *data1, *data2; 1085s # gboolean v_return; 1085s # 1085s # g_return_if_fail (return_value != NULL); 1085s # g_return_if_fail (n_param_values == 3); 1085s # 1085s # if (G_CCLOSURE_SWAP_DATA (closure)) 1085s # { 1085s # data1 = closure->data; 1085s # data2 = g_value_peek_pointer (param_values + 0); 1085s # } 1085s # else 1085s # { 1085s # data1 = g_value_peek_pointer (param_values + 0); 1085s # data2 = closure->data; 1085s # } 1085s # 1085s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1085s # (marshal_data ? marshal_data : cc->callback); 1085s # 1085s # v_return = 1085s # callback (data1, 1085s # g_marshal_value_peek_object (param_values + 1), 1085s # g_marshal_value_peek_uint (param_values + 2), 1085s # data2); 1085s # 1085s # g_value_set_boolean (return_value, v_return); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ 1085s # * Code for interface org.project.UsefulInterface 1085s # * ------------------------------------------------------------------------ 1085s # */ 1085s # 1085s # /** 1085s # * SECTION:OrgProjectUsefulInterface 1085s # * @title: OrgProjectUsefulInterface 1085s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1085s # * 1085s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1085s # */ 1085s # 1085s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1085s # 1085s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "arg_u", 1085s # (gchar *) "u", 1085s # NULL 1085s # }, 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "SingleArgMethodU", 1085s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "handle-single-arg-method-u", 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "org.project.UsefulInterface", 1085s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1085s # NULL, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "org-project-useful-interface", 1085s # }; 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_interface_info: 1085s # * 1085s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1085s # * 1085s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1085s # */ 1085s # GDBusInterfaceInfo * 1085s # org_project_useful_interface_interface_info (void) 1085s # { 1085s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_override_properties: 1085s # * @klass: The class structure for a #GObject derived class. 1085s # * @property_id_begin: The property id to assign to the first overridden property. 1085s # * 1085s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1085s # * The properties are overridden in the order they are defined. 1085s # * 1085s # * Returns: The last property id. 1085s # */ 1085s # guint 1085s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1085s # { 1085s # return property_id_begin - 1; 1085s # } 1085s # 1085s # 1085s # inline static void 1085s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint, 1085s # void *marshal_data) 1085s # { 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1085s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1085s # } 1085s # 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterface: 1085s # * 1085s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceIface: 1085s # * @parent_iface: The parent interface. 1085s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1085s # * 1085s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1085s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1085s # 1085s # static void 1085s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1085s # { 1085s # /* GObject signals for incoming D-Bus method calls: */ 1085s # /** 1085s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: A #GDBusMethodInvocation. 1085s # * @arg_arg_u: Argument passed by remote caller. 1085s # * 1085s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1085s # * 1085s # * 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. 1085s # * 1085s # * 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. 1085s # */ 1085s # g_signal_new ("handle-single-arg-method-u", 1085s # G_TYPE_FROM_INTERFACE (iface), 1085s # G_SIGNAL_RUN_LAST, 1085s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1085s # g_signal_accumulator_true_handled, 1085s # NULL, 1085s # org_project_useful_interface_method_marshal_single_arg_method_u, 1085s # G_TYPE_BOOLEAN, 1085s # 2, 1085s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1085s # 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_u: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_u: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1085s # */ 1085s # void 1085s # org_project_useful_interface_call_single_arg_method_u ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # guint arg_arg_u, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodU", 1085s # g_variant_new ("(u)", 1085s # arg_arg_u), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # callback, 1085s # user_data); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_u_finish: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_u_finish ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_u_sync: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_u: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_u_sync ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # guint arg_arg_u, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodU", 1085s # g_variant_new ("(u)", 1085s # arg_arg_u), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_complete_single_arg_method_u: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1085s # * 1085s # * 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. 1085s # * 1085s # * This method will free @invocation, you cannot use it afterwards. 1085s # */ 1085s # void 1085s # org_project_useful_interface_complete_single_arg_method_u ( 1085s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1085s # GDBusMethodInvocation *invocation) 1085s # { 1085s # g_dbus_method_invocation_return_value (invocation, 1085s # g_variant_new ("()")); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxy: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxyClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceProxyPrivate 1085s # { 1085s # GData *qdata; 1085s # }; 1085s # 1085s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_proxy_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1085s # g_datalist_clear (&proxy->priv->qdata); 1085s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # const GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1085s # const gchar *sender_name G_GNUC_UNUSED, 1085s # const gchar *signal_name, 1085s # GVariant *parameters) 1085s # { 1085s # _ExtendedGDBusSignalInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # gsize n; 1085s # guint signal_id; 1085s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1085s # if (info == NULL) 1085s # return; 1085s # num_params = g_variant_n_children (parameters); 1085s # paramv = g_new0 (GValue, num_params + 1); 1085s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[0], proxy); 1085s # g_variant_iter_init (&iter, parameters); 1085s # n = 1; 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_signal_emitv (paramv, signal_id, 0, NULL); 1085s # for (n = 0; n < num_params + 1; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1085s # GVariant *changed_properties, 1085s # const gchar *const *invalidated_properties) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1085s # guint n; 1085s # const gchar *key; 1085s # GVariantIter *iter; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # g_variant_get (changed_properties, "a{sv}", &iter); 1085s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1085s # g_datalist_remove_data (&proxy->priv->qdata, key); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # g_variant_iter_free (iter); 1085s # for (n = 0; invalidated_properties[n] != NULL; n++) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1085s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1085s # #else 1085s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1085s # #endif 1085s # 1085s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusProxyClass *proxy_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1085s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1085s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1085s # 1085s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1085s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1085s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_sync: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_sync ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new_for_bus ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_sync: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_sync ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeleton: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeletonClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1085s # { 1085s # GValue *properties; 1085s # GList *changed_properties; 1085s # GSource *changed_properties_idle_source; 1085s # GMainContext *context; 1085s # GMutex lock; 1085s # }; 1085s # 1085s # static void 1085s # _org_project_useful_interface_skeleton_handle_method_call ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name, 1085s # const gchar *method_name, 1085s # GVariant *parameters, 1085s # GDBusMethodInvocation *invocation, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # _ExtendedGDBusMethodInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # guint num_extra; 1085s # gsize n; 1085s # guint signal_id; 1085s # GValue return_value = G_VALUE_INIT; 1085s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1085s # g_assert (info != NULL); 1085s # num_params = g_variant_n_children (parameters); 1085s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1085s # n = 0; 1085s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[n++], skeleton); 1085s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1085s # g_value_set_object (¶mv[n++], invocation); 1085s # if (info->pass_fdlist) 1085s # { 1085s # #ifdef G_OS_UNIX 1085s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1085s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1085s # #else 1085s # g_assert_not_reached (); 1085s # #endif 1085s # } 1085s # g_variant_iter_init (&iter, parameters); 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1085s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1085s # if (!g_value_get_boolean (&return_value)) 1085s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1085s # g_value_unset (&return_value); 1085s # for (n = 0; n < num_params + num_extra; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static GVariant * 1085s # _org_project_useful_interface_skeleton_handle_get_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # GVariant *ret; 1085s # ret = NULL; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # g_value_init (&value, pspec->value_type); 1085s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1085s # g_value_unset (&value); 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _org_project_useful_interface_skeleton_handle_set_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GVariant *variant, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # gboolean ret; 1085s # ret = FALSE; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # if (info->use_gvariant) 1085s # g_value_set_variant (&value, variant); 1085s # else 1085s # g_dbus_gvariant_to_gvalue (variant, &value); 1085s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # g_value_unset (&value); 1085s # ret = TRUE; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1085s # { 1085s # _org_project_useful_interface_skeleton_handle_method_call, 1085s # _org_project_useful_interface_skeleton_handle_get_property, 1085s # _org_project_useful_interface_skeleton_handle_set_property, 1085s # {NULL} 1085s # }; 1085s # 1085s # static GDBusInterfaceInfo * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return org_project_useful_interface_interface_info (); 1085s # } 1085s # 1085s # static GDBusInterfaceVTable * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1085s # } 1085s # 1085s # static GVariant * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1085s # 1085s # GVariantBuilder builder; 1085s # guint n; 1085s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1085s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1085s # goto out; 1085s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1085s # { 1085s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1085s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1085s # { 1085s # GVariant *value; 1085s # 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); 1085s # if (value != NULL) 1085s # { 1085s # g_variant_take_ref (value); 1085s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1085s # g_variant_unref (value); 1085s # } 1085s # } 1085s # } 1085s # out: 1085s # return g_variant_builder_end (&builder); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_skeleton_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1085s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1085s # if (skeleton->priv->changed_properties_idle_source != NULL) 1085s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1085s # g_main_context_unref (skeleton->priv->context); 1085s # g_mutex_clear (&skeleton->priv->lock); 1085s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1085s # #else 1085s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1085s # #endif 1085s # 1085s # g_mutex_init (&skeleton->priv->lock); 1085s # skeleton->priv->context = g_main_context_ref_thread_default (); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusInterfaceSkeletonClass *skeleton_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1085s # 1085s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1085s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1085s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1085s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1085s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_skeleton_new: 1085s # * 1085s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_skeleton_new (void) 1085s # { 1085s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1085s # } 1085s # /tmp/tmpdp4giqbp/tmpdjdk70zb.xml: 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdp4giqbp/tmpdjdk70zb.xml', '--output', '-', '--body'] 1085s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1085s # Output: /* 1085s # * This file is generated by gdbus-codegen, do not modify it. 1085s # * 1085s # * The license of this code is the same as for the D-Bus interface description 1085s # * it was derived from. Note that it links to GLib, so must comply with the 1085s # * LGPL linking clauses. 1085s # */ 1085s # 1085s # #ifdef HAVE_CONFIG_H 1085s # # include "config.h" 1085s # #endif 1085s # 1085s # #include 1085s # #ifdef G_OS_UNIX 1085s # # include 1085s # #endif 1085s # 1085s # #ifdef G_ENABLE_DEBUG 1085s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1085s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1085s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1085s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1085s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1085s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1085s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1085s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1085s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1085s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1085s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1085s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1085s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1085s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1085s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1085s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1085s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1085s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1085s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1085s # #else /* !G_ENABLE_DEBUG */ 1085s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1085s # * Do not access GValues directly in your code. Instead, use the 1085s # * g_value_get_*() functions 1085s # */ 1085s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1085s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1085s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1085s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1085s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1085s # #endif /* !G_ENABLE_DEBUG */ 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusArgInfo parent_struct; 1085s # gboolean use_gvariant; 1085s # } _ExtendedGDBusArgInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusMethodInfo parent_struct; 1085s # const gchar *signal_name; 1085s # gboolean pass_fdlist; 1085s # } _ExtendedGDBusMethodInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusSignalInfo parent_struct; 1085s # const gchar *signal_name; 1085s # } _ExtendedGDBusSignalInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusPropertyInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # guint use_gvariant : 1; 1085s # guint emits_changed_signal : 1; 1085s # } _ExtendedGDBusPropertyInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusInterfaceInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # } _ExtendedGDBusInterfaceInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # const _ExtendedGDBusPropertyInfo *info; 1085s # guint prop_id; 1085s # GValue orig_value; /* the value before the change */ 1085s # } ChangedProperty; 1085s # 1085s # static void 1085s # _changed_property_free (ChangedProperty *data) 1085s # { 1085s # g_value_unset (&data->orig_value); 1085s # g_free (data); 1085s # } 1085s # 1085s # static gboolean 1085s # _g_strv_equal0 (gchar **a, gchar **b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # guint n; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # if (g_strv_length (a) != g_strv_length (b)) 1085s # goto out; 1085s # for (n = 0; a[n] != NULL; n++) 1085s # if (g_strcmp0 (a[n], b[n]) != 0) 1085s # goto out; 1085s # ret = TRUE; 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _g_variant_equal0 (GVariant *a, GVariant *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # ret = g_variant_equal (a, b); 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # G_GNUC_UNUSED static gboolean 1085s # _g_value_equal (const GValue *a, const GValue *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1085s # switch (G_VALUE_TYPE (a)) 1085s # { 1085s # case G_TYPE_BOOLEAN: 1085s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1085s # break; 1085s # case G_TYPE_UCHAR: 1085s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1085s # break; 1085s # case G_TYPE_INT: 1085s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1085s # break; 1085s # case G_TYPE_UINT: 1085s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1085s # break; 1085s # case G_TYPE_INT64: 1085s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1085s # break; 1085s # case G_TYPE_UINT64: 1085s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1085s # break; 1085s # case G_TYPE_DOUBLE: 1085s # { 1085s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1085s # gdouble da = g_value_get_double (a); 1085s # gdouble db = g_value_get_double (b); 1085s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1085s # } 1085s # break; 1085s # case G_TYPE_STRING: 1085s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1085s # break; 1085s # case G_TYPE_VARIANT: 1085s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1085s # break; 1085s # default: 1085s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1085s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1085s # else 1085s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1085s # break; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static void 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint G_GNUC_UNUSED, 1085s # void *marshal_data) 1085s # { 1085s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1085s # (void *data1, 1085s # GDBusMethodInvocation *arg_method_invocation, 1085s # gint64 arg_arg_x, 1085s # void *data2); 1085s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 1085s # GCClosure *cc = (GCClosure*) closure; 1085s # void *data1, *data2; 1085s # gboolean v_return; 1085s # 1085s # g_return_if_fail (return_value != NULL); 1085s # g_return_if_fail (n_param_values == 3); 1085s # 1085s # if (G_CCLOSURE_SWAP_DATA (closure)) 1085s # { 1085s # data1 = closure->data; 1085s # data2 = g_value_peek_pointer (param_values + 0); 1085s # } 1085s # else 1085s # { 1085s # data1 = g_value_peek_pointer (param_values + 0); 1085s # data2 = closure->data; 1085s # } 1085s # 1085s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1085s # (marshal_data ? marshal_data : cc->callback); 1085s # 1085s # v_return = 1085s # callback (data1, 1085s # g_marshal_value_peek_object (param_values + 1), 1085s # g_marshal_value_peek_int64 (param_values + 2), 1085s # data2); 1085s # 1085s # g_value_set_boolean (return_value, v_return); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ 1085s # * Code for interface org.project.UsefulInterface 1085s # * ------------------------------------------------------------------------ 1085s # */ 1085s # 1085s # /** 1085s # * SECTION:OrgProjectUsefulInterface 1085s # * @title: OrgProjectUsefulInterface 1085s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1085s # * 1085s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1085s # */ 1085s # 1085s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1085s # 1085s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "arg_x", 1085s # (gchar *) "x", 1085s # NULL 1085s # }, 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "SingleArgMethodX", 1085s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "handle-single-arg-method-x", 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "org.project.UsefulInterface", 1085s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1085s # NULL, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "org-project-useful-interface", 1085s # }; 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_interface_info: 1085s # * 1085s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1085s # * 1085s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1085s # */ 1085s # GDBusInterfaceInfo * 1085s # org_project_useful_interface_interface_info (void) 1085s # { 1085s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_override_properties: 1085s # * @klass: The class structure for a #GObject derived class. 1085s # * @property_id_begin: The property id to assign to the first overridden property. 1085s # * 1085s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1085s # * The properties are overridden in the order they are defined. 1085s # * 1085s # * Returns: The last property id. 1085s # */ 1085s # guint 1085s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1085s # { 1085s # return property_id_begin - 1; 1085s # } 1085s # 1085s # 1085s # inline static void 1085s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint, 1085s # void *marshal_data) 1085s # { 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 1085s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1085s # } 1085s # 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterface: 1085s # * 1085s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceIface: 1085s # * @parent_iface: The parent interface. 1085s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1085s # * 1085s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1085s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1085s # 1085s # static void 1085s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1085s # { 1085s # /* GObject signals for incoming D-Bus method calls: */ 1085s # /** 1085s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: A #GDBusMethodInvocation. 1085s # * @arg_arg_x: Argument passed by remote caller. 1085s # * 1085s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1085s # * 1085s # * 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. 1085s # * 1085s # * 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. 1085s # */ 1085s # g_signal_new ("handle-single-arg-method-x", 1085s # G_TYPE_FROM_INTERFACE (iface), 1085s # G_SIGNAL_RUN_LAST, 1085s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1085s # g_signal_accumulator_true_handled, 1085s # NULL, 1085s # org_project_useful_interface_method_marshal_single_arg_method_x, 1085s # G_TYPE_BOOLEAN, 1085s # 2, 1085s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 1085s # 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_x: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_x: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1085s # */ 1085s # void 1085s # org_project_useful_interface_call_single_arg_method_x ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # gint64 arg_arg_x, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodX", 1085s # g_variant_new ("(x)", 1085s # arg_arg_x), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # callback, 1085s # user_data); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_x_finish: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_x_finish ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_x_sync: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_x: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_x_sync ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # gint64 arg_arg_x, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodX", 1085s # g_variant_new ("(x)", 1085s # arg_arg_x), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_complete_single_arg_method_x: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1085s # * 1085s # * 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. 1085s # * 1085s # * This method will free @invocation, you cannot use it afterwards. 1085s # */ 1085s # void 1085s # org_project_useful_interface_complete_single_arg_method_x ( 1085s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1085s # GDBusMethodInvocation *invocation) 1085s # { 1085s # g_dbus_method_invocation_return_value (invocation, 1085s # g_variant_new ("()")); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxy: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxyClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceProxyPrivate 1085s # { 1085s # GData *qdata; 1085s # }; 1085s # 1085s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_proxy_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1085s # g_datalist_clear (&proxy->priv->qdata); 1085s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # const GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1085s # const gchar *sender_name G_GNUC_UNUSED, 1085s # const gchar *signal_name, 1085s # GVariant *parameters) 1085s # { 1085s # _ExtendedGDBusSignalInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # gsize n; 1085s # guint signal_id; 1085s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1085s # if (info == NULL) 1085s # return; 1085s # num_params = g_variant_n_children (parameters); 1085s # paramv = g_new0 (GValue, num_params + 1); 1085s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[0], proxy); 1085s # g_variant_iter_init (&iter, parameters); 1085s # n = 1; 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_signal_emitv (paramv, signal_id, 0, NULL); 1085s # for (n = 0; n < num_params + 1; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1085s # GVariant *changed_properties, 1085s # const gchar *const *invalidated_properties) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1085s # guint n; 1085s # const gchar *key; 1085s # GVariantIter *iter; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # g_variant_get (changed_properties, "a{sv}", &iter); 1085s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1085s # g_datalist_remove_data (&proxy->priv->qdata, key); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # g_variant_iter_free (iter); 1085s # for (n = 0; invalidated_properties[n] != NULL; n++) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1085s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1085s # #else 1085s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1085s # #endif 1085s # 1085s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusProxyClass *proxy_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1085s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1085s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1085s # 1085s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1085s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1085s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_sync: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_sync ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new_for_bus ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_sync: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_sync ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeleton: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeletonClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1085s # { 1085s # GValue *properties; 1085s # GList *changed_properties; 1085s # GSource *changed_properties_idle_source; 1085s # GMainContext *context; 1085s # GMutex lock; 1085s # }; 1085s # 1085s # static void 1085s # _org_project_useful_interface_skeleton_handle_method_call ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name, 1085s # const gchar *method_name, 1085s # GVariant *parameters, 1085s # GDBusMethodInvocation *invocation, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # _ExtendedGDBusMethodInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # guint num_extra; 1085s # gsize n; 1085s # guint signal_id; 1085s # GValue return_value = G_VALUE_INIT; 1085s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1085s # g_assert (info != NULL); 1085s # num_params = g_variant_n_children (parameters); 1085s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1085s # n = 0; 1085s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[n++], skeleton); 1085s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1085s # g_value_set_object (¶mv[n++], invocation); 1085s # if (info->pass_fdlist) 1085s # { 1085s # #ifdef G_OS_UNIX 1085s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1085s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1085s # #else 1085s # g_assert_not_reached (); 1085s # #endif 1085s # } 1085s # g_variant_iter_init (&iter, parameters); 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1085s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1085s # if (!g_value_get_boolean (&return_value)) 1085s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1085s # g_value_unset (&return_value); 1085s # for (n = 0; n < num_params + num_extra; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static GVariant * 1085s # _org_project_useful_interface_skeleton_handle_get_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # GVariant *ret; 1085s # ret = NULL; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # g_value_init (&value, pspec->value_type); 1085s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1085s # g_value_unset (&value); 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _org_project_useful_interface_skeleton_handle_set_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GVariant *variant, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # gboolean ret; 1085s # ret = FALSE; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # if (info->use_gvariant) 1085s # g_value_set_variant (&value, variant); 1085s # else 1085s # g_dbus_gvariant_to_gvalue (variant, &value); 1085s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # g_value_unset (&value); 1085s # ret = TRUE; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1085s # { 1085s # _org_project_useful_interface_skeleton_handle_method_call, 1085s # _org_project_useful_interface_skeleton_handle_get_property, 1085s # _org_project_useful_interface_skeleton_handle_set_property, 1085s # {NULL} 1085s # }; 1085s # 1085s # static GDBusInterfaceInfo * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return org_project_useful_interface_interface_info (); 1085s # } 1085s # 1085s # static GDBusInterfaceVTable * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1085s # } 1085s # 1085s # static GVariant * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1085s # 1085s # GVariantBuilder builder; 1085s # guint n; 1085s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1085s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1085s # goto out; 1085s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1085s # { 1085s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1085s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1085s # { 1085s # GVariant *value; 1085s # 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); 1085s # if (value != NULL) 1085s # { 1085s # g_variant_take_ref (value); 1085s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1085s # g_variant_unref (value); 1085s # } 1085s # } 1085s # } 1085s # out: 1085s # return g_variant_builder_end (&builder); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_skeleton_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1085s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1085s # if (skeleton->priv->changed_properties_idle_source != NULL) 1085s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1085s # g_main_context_unref (skeleton->priv->context); 1085s # g_mutex_clear (&skeleton->priv->lock); 1085s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1085s # #else 1085s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1085s # #endif 1085s # 1085s # g_mutex_init (&skeleton->priv->lock); 1085s # skeleton->priv->context = g_main_context_ref_thread_default (); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusInterfaceSkeletonClass *skeleton_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1085s # 1085s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1085s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1085s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1085s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1085s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_skeleton_new: 1085s # * 1085s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_skeleton_new (void) 1085s # { 1085s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1085s # } 1085s # /tmp/tmpdp4giqbp/tmpm96250bd.xml: 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdp4giqbp/tmpm96250bd.xml', '--output', '-', '--body'] 1085s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1085s # Output: /* 1085s # * This file is generated by gdbus-codegen, do not modify it. 1085s # * 1085s # * The license of this code is the same as for the D-Bus interface description 1085s # * it was derived from. Note that it links to GLib, so must comply with the 1085s # * LGPL linking clauses. 1085s # */ 1085s # 1085s # #ifdef HAVE_CONFIG_H 1085s # # include "config.h" 1085s # #endif 1085s # 1085s # #include 1085s # #ifdef G_OS_UNIX 1085s # # include 1085s # #endif 1085s # 1085s # #ifdef G_ENABLE_DEBUG 1085s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1085s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1085s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1085s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1085s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1085s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1085s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1085s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1085s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1085s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1085s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1085s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1085s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1085s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1085s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1085s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1085s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1085s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1085s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1085s # #else /* !G_ENABLE_DEBUG */ 1085s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1085s # * Do not access GValues directly in your code. Instead, use the 1085s # * g_value_get_*() functions 1085s # */ 1085s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1085s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1085s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1085s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1085s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1085s # #endif /* !G_ENABLE_DEBUG */ 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusArgInfo parent_struct; 1085s # gboolean use_gvariant; 1085s # } _ExtendedGDBusArgInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusMethodInfo parent_struct; 1085s # const gchar *signal_name; 1085s # gboolean pass_fdlist; 1085s # } _ExtendedGDBusMethodInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusSignalInfo parent_struct; 1085s # const gchar *signal_name; 1085s # } _ExtendedGDBusSignalInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusPropertyInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # guint use_gvariant : 1; 1085s # guint emits_changed_signal : 1; 1085s # } _ExtendedGDBusPropertyInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusInterfaceInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # } _ExtendedGDBusInterfaceInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # const _ExtendedGDBusPropertyInfo *info; 1085s # guint prop_id; 1085s # GValue orig_value; /* the value before the change */ 1085s # } ChangedProperty; 1085s # 1085s # static void 1085s # _changed_property_free (ChangedProperty *data) 1085s # { 1085s # g_value_unset (&data->orig_value); 1085s # g_free (data); 1085s # } 1085s # 1085s # static gboolean 1085s # _g_strv_equal0 (gchar **a, gchar **b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # guint n; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # if (g_strv_length (a) != g_strv_length (b)) 1085s # goto out; 1085s # for (n = 0; a[n] != NULL; n++) 1085s # if (g_strcmp0 (a[n], b[n]) != 0) 1085s # goto out; 1085s # ret = TRUE; 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _g_variant_equal0 (GVariant *a, GVariant *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # ret = g_variant_equal (a, b); 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # G_GNUC_UNUSED static gboolean 1085s # _g_value_equal (const GValue *a, const GValue *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1085s # switch (G_VALUE_TYPE (a)) 1085s # { 1085s # case G_TYPE_BOOLEAN: 1085s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1085s # break; 1085s # case G_TYPE_UCHAR: 1085s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1085s # break; 1085s # case G_TYPE_INT: 1085s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1085s # break; 1085s # case G_TYPE_UINT: 1085s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1085s # break; 1085s # case G_TYPE_INT64: 1085s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1085s # break; 1085s # case G_TYPE_UINT64: 1085s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1085s # break; 1085s # case G_TYPE_DOUBLE: 1085s # { 1085s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1085s # gdouble da = g_value_get_double (a); 1085s # gdouble db = g_value_get_double (b); 1085s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1085s # } 1085s # break; 1085s # case G_TYPE_STRING: 1085s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1085s # break; 1085s # case G_TYPE_VARIANT: 1085s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1085s # break; 1085s # default: 1085s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1085s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1085s # else 1085s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1085s # break; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static void 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint G_GNUC_UNUSED, 1085s # void *marshal_data) 1085s # { 1085s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1085s # (void *data1, 1085s # GDBusMethodInvocation *arg_method_invocation, 1085s # guint64 arg_arg_t, 1085s # void *data2); 1085s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 1085s # GCClosure *cc = (GCClosure*) closure; 1085s # void *data1, *data2; 1085s # gboolean v_return; 1085s # 1085s # g_return_if_fail (return_value != NULL); 1085s # g_return_if_fail (n_param_values == 3); 1085s # 1085s # if (G_CCLOSURE_SWAP_DATA (closure)) 1085s # { 1085s # data1 = closure->data; 1085s # data2 = g_value_peek_pointer (param_values + 0); 1085s # } 1085s # else 1085s # { 1085s # data1 = g_value_peek_pointer (param_values + 0); 1085s # data2 = closure->data; 1085s # } 1085s # 1085s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1085s # (marshal_data ? marshal_data : cc->callback); 1085s # 1085s # v_return = 1085s # callback (data1, 1085s # g_marshal_value_peek_object (param_values + 1), 1085s # g_marshal_value_peek_uint64 (param_values + 2), 1085s # data2); 1085s # 1085s # g_value_set_boolean (return_value, v_return); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ 1085s # * Code for interface org.project.UsefulInterface 1085s # * ------------------------------------------------------------------------ 1085s # */ 1085s # 1085s # /** 1085s # * SECTION:OrgProjectUsefulInterface 1085s # * @title: OrgProjectUsefulInterface 1085s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1085s # * 1085s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1085s # */ 1085s # 1085s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1085s # 1085s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "arg_t", 1085s # (gchar *) "t", 1085s # NULL 1085s # }, 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "SingleArgMethodT", 1085s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "handle-single-arg-method-t", 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "org.project.UsefulInterface", 1085s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1085s # NULL, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "org-project-useful-interface", 1085s # }; 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_interface_info: 1085s # * 1085s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1085s # * 1085s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1085s # */ 1085s # GDBusInterfaceInfo * 1085s # org_project_useful_interface_interface_info (void) 1085s # { 1085s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_override_properties: 1085s # * @klass: The class structure for a #GObject derived class. 1085s # * @property_id_begin: The property id to assign to the first overridden property. 1085s # * 1085s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1085s # * The properties are overridden in the order they are defined. 1085s # * 1085s # * Returns: The last property id. 1085s # */ 1085s # guint 1085s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1085s # { 1085s # return property_id_begin - 1; 1085s # } 1085s # 1085s # 1085s # inline static void 1085s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint, 1085s # void *marshal_data) 1085s # { 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 1085s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1085s # } 1085s # 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterface: 1085s # * 1085s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceIface: 1085s # * @parent_iface: The parent interface. 1085s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1085s # * 1085s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1085s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1085s # 1085s # static void 1085s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1085s # { 1085s # /* GObject signals for incoming D-Bus method calls: */ 1085s # /** 1085s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: A #GDBusMethodInvocation. 1085s # * @arg_arg_t: Argument passed by remote caller. 1085s # * 1085s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1085s # * 1085s # * 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. 1085s # * 1085s # * 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. 1085s # */ 1085s # g_signal_new ("handle-single-arg-method-t", 1085s # G_TYPE_FROM_INTERFACE (iface), 1085s # G_SIGNAL_RUN_LAST, 1085s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1085s # g_signal_accumulator_true_handled, 1085s # NULL, 1085s # org_project_useful_interface_method_marshal_single_arg_method_t, 1085s # G_TYPE_BOOLEAN, 1085s # 2, 1085s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 1085s # 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_t: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_t: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1085s # */ 1085s # void 1085s # org_project_useful_interface_call_single_arg_method_t ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # guint64 arg_arg_t, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodT", 1085s # g_variant_new ("(t)", 1085s # arg_arg_t), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # callback, 1085s # user_data); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_t_finish: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_t_finish ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_t_sync: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_t: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_t_sync ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # guint64 arg_arg_t, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodT", 1085s # g_variant_new ("(t)", 1085s # arg_arg_t), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_complete_single_arg_method_t: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1085s # * 1085s # * 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. 1085s # * 1085s # * This method will free @invocation, you cannot use it afterwards. 1085s # */ 1085s # void 1085s # org_project_useful_interface_complete_single_arg_method_t ( 1085s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1085s # GDBusMethodInvocation *invocation) 1085s # { 1085s # g_dbus_method_invocation_return_value (invocation, 1085s # g_variant_new ("()")); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxy: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxyClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceProxyPrivate 1085s # { 1085s # GData *qdata; 1085s # }; 1085s # 1085s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_proxy_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1085s # g_datalist_clear (&proxy->priv->qdata); 1085s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # const GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1085s # const gchar *sender_name G_GNUC_UNUSED, 1085s # const gchar *signal_name, 1085s # GVariant *parameters) 1085s # { 1085s # _ExtendedGDBusSignalInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # gsize n; 1085s # guint signal_id; 1085s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1085s # if (info == NULL) 1085s # return; 1085s # num_params = g_variant_n_children (parameters); 1085s # paramv = g_new0 (GValue, num_params + 1); 1085s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[0], proxy); 1085s # g_variant_iter_init (&iter, parameters); 1085s # n = 1; 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_signal_emitv (paramv, signal_id, 0, NULL); 1085s # for (n = 0; n < num_params + 1; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1085s # GVariant *changed_properties, 1085s # const gchar *const *invalidated_properties) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1085s # guint n; 1085s # const gchar *key; 1085s # GVariantIter *iter; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # g_variant_get (changed_properties, "a{sv}", &iter); 1085s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1085s # g_datalist_remove_data (&proxy->priv->qdata, key); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # g_variant_iter_free (iter); 1085s # for (n = 0; invalidated_properties[n] != NULL; n++) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1085s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1085s # #else 1085s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1085s # #endif 1085s # 1085s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusProxyClass *proxy_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1085s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1085s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1085s # 1085s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1085s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1085s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_sync: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_sync ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new_for_bus ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_sync: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_sync ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeleton: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeletonClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1085s # { 1085s # GValue *properties; 1085s # GList *changed_properties; 1085s # GSource *changed_properties_idle_source; 1085s # GMainContext *context; 1085s # GMutex lock; 1085s # }; 1085s # 1085s # static void 1085s # _org_project_useful_interface_skeleton_handle_method_call ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name, 1085s # const gchar *method_name, 1085s # GVariant *parameters, 1085s # GDBusMethodInvocation *invocation, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # _ExtendedGDBusMethodInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # guint num_extra; 1085s # gsize n; 1085s # guint signal_id; 1085s # GValue return_value = G_VALUE_INIT; 1085s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1085s # g_assert (info != NULL); 1085s # num_params = g_variant_n_children (parameters); 1085s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1085s # n = 0; 1085s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[n++], skeleton); 1085s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1085s # g_value_set_object (¶mv[n++], invocation); 1085s # if (info->pass_fdlist) 1085s # { 1085s # #ifdef G_OS_UNIX 1085s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1085s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1085s # #else 1085s # g_assert_not_reached (); 1085s # #endif 1085s # } 1085s # g_variant_iter_init (&iter, parameters); 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1085s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1085s # if (!g_value_get_boolean (&return_value)) 1085s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1085s # g_value_unset (&return_value); 1085s # for (n = 0; n < num_params + num_extra; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static GVariant * 1085s # _org_project_useful_interface_skeleton_handle_get_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # GVariant *ret; 1085s # ret = NULL; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # g_value_init (&value, pspec->value_type); 1085s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1085s # g_value_unset (&value); 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _org_project_useful_interface_skeleton_handle_set_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GVariant *variant, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # gboolean ret; 1085s # ret = FALSE; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # if (info->use_gvariant) 1085s # g_value_set_variant (&value, variant); 1085s # else 1085s # g_dbus_gvariant_to_gvalue (variant, &value); 1085s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # g_value_unset (&value); 1085s # ret = TRUE; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1085s # { 1085s # _org_project_useful_interface_skeleton_handle_method_call, 1085s # _org_project_useful_interface_skeleton_handle_get_property, 1085s # _org_project_useful_interface_skeleton_handle_set_property, 1085s # {NULL} 1085s # }; 1085s # 1085s # static GDBusInterfaceInfo * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return org_project_useful_interface_interface_info (); 1085s # } 1085s # 1085s # static GDBusInterfaceVTable * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1085s # } 1085s # 1085s # static GVariant * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1085s # 1085s # GVariantBuilder builder; 1085s # guint n; 1085s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1085s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1085s # goto out; 1085s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1085s # { 1085s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1085s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1085s # { 1085s # GVariant *value; 1085s # 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); 1085s # if (value != NULL) 1085s # { 1085s # g_variant_take_ref (value); 1085s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1085s # g_variant_unref (value); 1085s # } 1085s # } 1085s # } 1085s # out: 1085s # return g_variant_builder_end (&builder); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_skeleton_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1085s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1085s # if (skeleton->priv->changed_properties_idle_source != NULL) 1085s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1085s # g_main_context_unref (skeleton->priv->context); 1085s # g_mutex_clear (&skeleton->priv->lock); 1085s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1085s # #else 1085s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1085s # #endif 1085s # 1085s # g_mutex_init (&skeleton->priv->lock); 1085s # skeleton->priv->context = g_main_context_ref_thread_default (); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusInterfaceSkeletonClass *skeleton_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1085s # 1085s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1085s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1085s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1085s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1085s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_skeleton_new: 1085s # * 1085s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_skeleton_new (void) 1085s # { 1085s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1085s # } 1085s # /tmp/tmpdp4giqbp/tmp448urgty.xml: 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdp4giqbp/tmp448urgty.xml', '--output', '-', '--body'] 1085s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1085s # Output: /* 1085s # * This file is generated by gdbus-codegen, do not modify it. 1085s # * 1085s # * The license of this code is the same as for the D-Bus interface description 1085s # * it was derived from. Note that it links to GLib, so must comply with the 1085s # * LGPL linking clauses. 1085s # */ 1085s # 1085s # #ifdef HAVE_CONFIG_H 1085s # # include "config.h" 1085s # #endif 1085s # 1085s # #include 1085s # #ifdef G_OS_UNIX 1085s # # include 1085s # #endif 1085s # 1085s # #ifdef G_ENABLE_DEBUG 1085s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1085s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1085s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1085s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1085s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1085s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1085s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1085s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1085s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1085s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1085s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1085s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1085s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1085s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1085s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1085s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1085s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1085s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1085s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1085s # #else /* !G_ENABLE_DEBUG */ 1085s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1085s # * Do not access GValues directly in your code. Instead, use the 1085s # * g_value_get_*() functions 1085s # */ 1085s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1085s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1085s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1085s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1085s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1085s # #endif /* !G_ENABLE_DEBUG */ 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusArgInfo parent_struct; 1085s # gboolean use_gvariant; 1085s # } _ExtendedGDBusArgInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusMethodInfo parent_struct; 1085s # const gchar *signal_name; 1085s # gboolean pass_fdlist; 1085s # } _ExtendedGDBusMethodInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusSignalInfo parent_struct; 1085s # const gchar *signal_name; 1085s # } _ExtendedGDBusSignalInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusPropertyInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # guint use_gvariant : 1; 1085s # guint emits_changed_signal : 1; 1085s # } _ExtendedGDBusPropertyInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusInterfaceInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # } _ExtendedGDBusInterfaceInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # const _ExtendedGDBusPropertyInfo *info; 1085s # guint prop_id; 1085s # GValue orig_value; /* the value before the change */ 1085s # } ChangedProperty; 1085s # 1085s # static void 1085s # _changed_property_free (ChangedProperty *data) 1085s # { 1085s # g_value_unset (&data->orig_value); 1085s # g_free (data); 1085s # } 1085s # 1085s # static gboolean 1085s # _g_strv_equal0 (gchar **a, gchar **b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # guint n; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # if (g_strv_length (a) != g_strv_length (b)) 1085s # goto out; 1085s # for (n = 0; a[n] != NULL; n++) 1085s # if (g_strcmp0 (a[n], b[n]) != 0) 1085s # goto out; 1085s # ret = TRUE; 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _g_variant_equal0 (GVariant *a, GVariant *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # ret = g_variant_equal (a, b); 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # G_GNUC_UNUSED static gboolean 1085s # _g_value_equal (const GValue *a, const GValue *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1085s # switch (G_VALUE_TYPE (a)) 1085s # { 1085s # case G_TYPE_BOOLEAN: 1085s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1085s # break; 1085s # case G_TYPE_UCHAR: 1085s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1085s # break; 1085s # case G_TYPE_INT: 1085s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1085s # break; 1085s # case G_TYPE_UINT: 1085s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1085s # break; 1085s # case G_TYPE_INT64: 1085s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1085s # break; 1085s # case G_TYPE_UINT64: 1085s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1085s # break; 1085s # case G_TYPE_DOUBLE: 1085s # { 1085s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1085s # gdouble da = g_value_get_double (a); 1085s # gdouble db = g_value_get_double (b); 1085s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1085s # } 1085s # break; 1085s # case G_TYPE_STRING: 1085s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1085s # break; 1085s # case G_TYPE_VARIANT: 1085s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1085s # break; 1085s # default: 1085s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1085s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1085s # else 1085s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1085s # break; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static void 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint G_GNUC_UNUSED, 1085s # void *marshal_data) 1085s # { 1085s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1085s # (void *data1, 1085s # GDBusMethodInvocation *arg_method_invocation, 1085s # gdouble arg_arg_d, 1085s # void *data2); 1085s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 1085s # GCClosure *cc = (GCClosure*) closure; 1085s # void *data1, *data2; 1085s # gboolean v_return; 1085s # 1085s # g_return_if_fail (return_value != NULL); 1085s # g_return_if_fail (n_param_values == 3); 1085s # 1085s # if (G_CCLOSURE_SWAP_DATA (closure)) 1085s # { 1085s # data1 = closure->data; 1085s # data2 = g_value_peek_pointer (param_values + 0); 1085s # } 1085s # else 1085s # { 1085s # data1 = g_value_peek_pointer (param_values + 0); 1085s # data2 = closure->data; 1085s # } 1085s # 1085s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1085s # (marshal_data ? marshal_data : cc->callback); 1085s # 1085s # v_return = 1085s # callback (data1, 1085s # g_marshal_value_peek_object (param_values + 1), 1085s # g_marshal_value_peek_double (param_values + 2), 1085s # data2); 1085s # 1085s # g_value_set_boolean (return_value, v_return); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ 1085s # * Code for interface org.project.UsefulInterface 1085s # * ------------------------------------------------------------------------ 1085s # */ 1085s # 1085s # /** 1085s # * SECTION:OrgProjectUsefulInterface 1085s # * @title: OrgProjectUsefulInterface 1085s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1085s # * 1085s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1085s # */ 1085s # 1085s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1085s # 1085s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "arg_d", 1085s # (gchar *) "d", 1085s # NULL 1085s # }, 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "SingleArgMethodD", 1085s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "handle-single-arg-method-d", 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "org.project.UsefulInterface", 1085s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1085s # NULL, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "org-project-useful-interface", 1085s # }; 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_interface_info: 1085s # * 1085s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1085s # * 1085s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1085s # */ 1085s # GDBusInterfaceInfo * 1085s # org_project_useful_interface_interface_info (void) 1085s # { 1085s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_override_properties: 1085s # * @klass: The class structure for a #GObject derived class. 1085s # * @property_id_begin: The property id to assign to the first overridden property. 1085s # * 1085s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1085s # * The properties are overridden in the order they are defined. 1085s # * 1085s # * Returns: The last property id. 1085s # */ 1085s # guint 1085s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1085s # { 1085s # return property_id_begin - 1; 1085s # } 1085s # 1085s # 1085s # inline static void 1085s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint, 1085s # void *marshal_data) 1085s # { 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 1085s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1085s # } 1085s # 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterface: 1085s # * 1085s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceIface: 1085s # * @parent_iface: The parent interface. 1085s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1085s # * 1085s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1085s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1085s # 1085s # static void 1085s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1085s # { 1085s # /* GObject signals for incoming D-Bus method calls: */ 1085s # /** 1085s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: A #GDBusMethodInvocation. 1085s # * @arg_arg_d: Argument passed by remote caller. 1085s # * 1085s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1085s # * 1085s # * 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. 1085s # * 1085s # * 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. 1085s # */ 1085s # g_signal_new ("handle-single-arg-method-d", 1085s # G_TYPE_FROM_INTERFACE (iface), 1085s # G_SIGNAL_RUN_LAST, 1085s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1085s # g_signal_accumulator_true_handled, 1085s # NULL, 1085s # org_project_useful_interface_method_marshal_single_arg_method_d, 1085s # G_TYPE_BOOLEAN, 1085s # 2, 1085s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 1085s # 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_d: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_d: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1085s # */ 1085s # void 1085s # org_project_useful_interface_call_single_arg_method_d ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # gdouble arg_arg_d, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodD", 1085s # g_variant_new ("(d)", 1085s # arg_arg_d), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # callback, 1085s # user_data); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_d_finish: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_d_finish ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_d_sync: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_d: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_d_sync ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # gdouble arg_arg_d, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodD", 1085s # g_variant_new ("(d)", 1085s # arg_arg_d), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_complete_single_arg_method_d: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1085s # * 1085s # * 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. 1085s # * 1085s # * This method will free @invocation, you cannot use it afterwards. 1085s # */ 1085s # void 1085s # org_project_useful_interface_complete_single_arg_method_d ( 1085s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1085s # GDBusMethodInvocation *invocation) 1085s # { 1085s # g_dbus_method_invocation_return_value (invocation, 1085s # g_variant_new ("()")); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxy: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxyClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceProxyPrivate 1085s # { 1085s # GData *qdata; 1085s # }; 1085s # 1085s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_proxy_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1085s # g_datalist_clear (&proxy->priv->qdata); 1085s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # const GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1085s # const gchar *sender_name G_GNUC_UNUSED, 1085s # const gchar *signal_name, 1085s # GVariant *parameters) 1085s # { 1085s # _ExtendedGDBusSignalInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # gsize n; 1085s # guint signal_id; 1085s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1085s # if (info == NULL) 1085s # return; 1085s # num_params = g_variant_n_children (parameters); 1085s # paramv = g_new0 (GValue, num_params + 1); 1085s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[0], proxy); 1085s # g_variant_iter_init (&iter, parameters); 1085s # n = 1; 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_signal_emitv (paramv, signal_id, 0, NULL); 1085s # for (n = 0; n < num_params + 1; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1085s # GVariant *changed_properties, 1085s # const gchar *const *invalidated_properties) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1085s # guint n; 1085s # const gchar *key; 1085s # GVariantIter *iter; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # g_variant_get (changed_properties, "a{sv}", &iter); 1085s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1085s # g_datalist_remove_data (&proxy->priv->qdata, key); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # g_variant_iter_free (iter); 1085s # for (n = 0; invalidated_properties[n] != NULL; n++) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1085s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1085s # #else 1085s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1085s # #endif 1085s # 1085s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusProxyClass *proxy_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1085s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1085s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1085s # 1085s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1085s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1085s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_sync: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_sync ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new_for_bus ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_sync: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_sync ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeleton: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeletonClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1085s # { 1085s # GValue *properties; 1085s # GList *changed_properties; 1085s # GSource *changed_properties_idle_source; 1085s # GMainContext *context; 1085s # GMutex lock; 1085s # }; 1085s # 1085s # static void 1085s # _org_project_useful_interface_skeleton_handle_method_call ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name, 1085s # const gchar *method_name, 1085s # GVariant *parameters, 1085s # GDBusMethodInvocation *invocation, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # _ExtendedGDBusMethodInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # guint num_extra; 1085s # gsize n; 1085s # guint signal_id; 1085s # GValue return_value = G_VALUE_INIT; 1085s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1085s # g_assert (info != NULL); 1085s # num_params = g_variant_n_children (parameters); 1085s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1085s # n = 0; 1085s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[n++], skeleton); 1085s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1085s # g_value_set_object (¶mv[n++], invocation); 1085s # if (info->pass_fdlist) 1085s # { 1085s # #ifdef G_OS_UNIX 1085s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1085s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1085s # #else 1085s # g_assert_not_reached (); 1085s # #endif 1085s # } 1085s # g_variant_iter_init (&iter, parameters); 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1085s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1085s # if (!g_value_get_boolean (&return_value)) 1085s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1085s # g_value_unset (&return_value); 1085s # for (n = 0; n < num_params + num_extra; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static GVariant * 1085s # _org_project_useful_interface_skeleton_handle_get_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # GVariant *ret; 1085s # ret = NULL; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # g_value_init (&value, pspec->value_type); 1085s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1085s # g_value_unset (&value); 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _org_project_useful_interface_skeleton_handle_set_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GVariant *variant, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # gboolean ret; 1085s # ret = FALSE; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # if (info->use_gvariant) 1085s # g_value_set_variant (&value, variant); 1085s # else 1085s # g_dbus_gvariant_to_gvalue (variant, &value); 1085s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # g_value_unset (&value); 1085s # ret = TRUE; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1085s # { 1085s # _org_project_useful_interface_skeleton_handle_method_call, 1085s # _org_project_useful_interface_skeleton_handle_get_property, 1085s # _org_project_useful_interface_skeleton_handle_set_property, 1085s # {NULL} 1085s # }; 1085s # 1085s # static GDBusInterfaceInfo * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return org_project_useful_interface_interface_info (); 1085s # } 1085s # 1085s # static GDBusInterfaceVTable * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1085s # } 1085s # 1085s # static GVariant * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1085s # 1085s # GVariantBuilder builder; 1085s # guint n; 1085s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1085s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1085s # goto out; 1085s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1085s # { 1085s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1085s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1085s # { 1085s # GVariant *value; 1085s # 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); 1085s # if (value != NULL) 1085s # { 1085s # g_variant_take_ref (value); 1085s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1085s # g_variant_unref (value); 1085s # } 1085s # } 1085s # } 1085s # out: 1085s # return g_variant_builder_end (&builder); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_skeleton_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1085s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1085s # if (skeleton->priv->changed_properties_idle_source != NULL) 1085s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1085s # g_main_context_unref (skeleton->priv->context); 1085s # g_mutex_clear (&skeleton->priv->lock); 1085s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1085s # #else 1085s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1085s # #endif 1085s # 1085s # g_mutex_init (&skeleton->priv->lock); 1085s # skeleton->priv->context = g_main_context_ref_thread_default (); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusInterfaceSkeletonClass *skeleton_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1085s # 1085s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1085s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1085s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1085s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1085s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_skeleton_new: 1085s # * 1085s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_skeleton_new (void) 1085s # { 1085s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1085s # } 1085s # /tmp/tmpdp4giqbp/tmpif1xb6s_.xml: 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdp4giqbp/tmpif1xb6s_.xml', '--output', '-', '--body'] 1085s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1085s # Output: /* 1085s # * This file is generated by gdbus-codegen, do not modify it. 1085s # * 1085s # * The license of this code is the same as for the D-Bus interface description 1085s # * it was derived from. Note that it links to GLib, so must comply with the 1085s # * LGPL linking clauses. 1085s # */ 1085s # 1085s # #ifdef HAVE_CONFIG_H 1085s # # include "config.h" 1085s # #endif 1085s # 1085s # #include 1085s # #ifdef G_OS_UNIX 1085s # # include 1085s # #endif 1085s # 1085s # #ifdef G_ENABLE_DEBUG 1085s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1085s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1085s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1085s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1085s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1085s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1085s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1085s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1085s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1085s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1085s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1085s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1085s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1085s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1085s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1085s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1085s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1085s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1085s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1085s # #else /* !G_ENABLE_DEBUG */ 1085s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1085s # * Do not access GValues directly in your code. Instead, use the 1085s # * g_value_get_*() functions 1085s # */ 1085s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1085s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1085s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1085s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1085s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1085s # #endif /* !G_ENABLE_DEBUG */ 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusArgInfo parent_struct; 1085s # gboolean use_gvariant; 1085s # } _ExtendedGDBusArgInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusMethodInfo parent_struct; 1085s # const gchar *signal_name; 1085s # gboolean pass_fdlist; 1085s # } _ExtendedGDBusMethodInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusSignalInfo parent_struct; 1085s # const gchar *signal_name; 1085s # } _ExtendedGDBusSignalInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusPropertyInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # guint use_gvariant : 1; 1085s # guint emits_changed_signal : 1; 1085s # } _ExtendedGDBusPropertyInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusInterfaceInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # } _ExtendedGDBusInterfaceInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # const _ExtendedGDBusPropertyInfo *info; 1085s # guint prop_id; 1085s # GValue orig_value; /* the value before the change */ 1085s # } ChangedProperty; 1085s # 1085s # static void 1085s # _changed_property_free (ChangedProperty *data) 1085s # { 1085s # g_value_unset (&data->orig_value); 1085s # g_free (data); 1085s # } 1085s # 1085s # static gboolean 1085s # _g_strv_equal0 (gchar **a, gchar **b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # guint n; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # if (g_strv_length (a) != g_strv_length (b)) 1085s # goto out; 1085s # for (n = 0; a[n] != NULL; n++) 1085s # if (g_strcmp0 (a[n], b[n]) != 0) 1085s # goto out; 1085s # ret = TRUE; 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _g_variant_equal0 (GVariant *a, GVariant *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # ret = g_variant_equal (a, b); 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # G_GNUC_UNUSED static gboolean 1085s # _g_value_equal (const GValue *a, const GValue *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1085s # switch (G_VALUE_TYPE (a)) 1085s # { 1085s # case G_TYPE_BOOLEAN: 1085s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1085s # break; 1085s # case G_TYPE_UCHAR: 1085s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1085s # break; 1085s # case G_TYPE_INT: 1085s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1085s # break; 1085s # case G_TYPE_UINT: 1085s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1085s # break; 1085s # case G_TYPE_INT64: 1085s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1085s # break; 1085s # case G_TYPE_UINT64: 1085s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1085s # break; 1085s # case G_TYPE_DOUBLE: 1085s # { 1085s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1085s # gdouble da = g_value_get_double (a); 1085s # gdouble db = g_value_get_double (b); 1085s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1085s # } 1085s # break; 1085s # case G_TYPE_STRING: 1085s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1085s # break; 1085s # case G_TYPE_VARIANT: 1085s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1085s # break; 1085s # default: 1085s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1085s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1085s # else 1085s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1085s # break; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static void 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint G_GNUC_UNUSED, 1085s # void *marshal_data) 1085s # { 1085s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1085s # (void *data1, 1085s # GDBusMethodInvocation *arg_method_invocation, 1085s # const gchar *arg_arg_s, 1085s # void *data2); 1085s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1085s # GCClosure *cc = (GCClosure*) closure; 1085s # void *data1, *data2; 1085s # gboolean v_return; 1085s # 1085s # g_return_if_fail (return_value != NULL); 1085s # g_return_if_fail (n_param_values == 3); 1085s # 1085s # if (G_CCLOSURE_SWAP_DATA (closure)) 1085s # { 1085s # data1 = closure->data; 1085s # data2 = g_value_peek_pointer (param_values + 0); 1085s # } 1085s # else 1085s # { 1085s # data1 = g_value_peek_pointer (param_values + 0); 1085s # data2 = closure->data; 1085s # } 1085s # 1085s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1085s # (marshal_data ? marshal_data : cc->callback); 1085s # 1085s # v_return = 1085s # callback (data1, 1085s # g_marshal_value_peek_object (param_values + 1), 1085s # g_marshal_value_peek_string (param_values + 2), 1085s # data2); 1085s # 1085s # g_value_set_boolean (return_value, v_return); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ 1085s # * Code for interface org.project.UsefulInterface 1085s # * ------------------------------------------------------------------------ 1085s # */ 1085s # 1085s # /** 1085s # * SECTION:OrgProjectUsefulInterface 1085s # * @title: OrgProjectUsefulInterface 1085s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1085s # * 1085s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1085s # */ 1085s # 1085s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1085s # 1085s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "arg_s", 1085s # (gchar *) "s", 1085s # NULL 1085s # }, 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "SingleArgMethodS", 1085s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "handle-single-arg-method-s", 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "org.project.UsefulInterface", 1085s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1085s # NULL, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "org-project-useful-interface", 1085s # }; 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_interface_info: 1085s # * 1085s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1085s # * 1085s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1085s # */ 1085s # GDBusInterfaceInfo * 1085s # org_project_useful_interface_interface_info (void) 1085s # { 1085s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_override_properties: 1085s # * @klass: The class structure for a #GObject derived class. 1085s # * @property_id_begin: The property id to assign to the first overridden property. 1085s # * 1085s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1085s # * The properties are overridden in the order they are defined. 1085s # * 1085s # * Returns: The last property id. 1085s # */ 1085s # guint 1085s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1085s # { 1085s # return property_id_begin - 1; 1085s # } 1085s # 1085s # 1085s # inline static void 1085s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint, 1085s # void *marshal_data) 1085s # { 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1085s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1085s # } 1085s # 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterface: 1085s # * 1085s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceIface: 1085s # * @parent_iface: The parent interface. 1085s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1085s # * 1085s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1085s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1085s # 1085s # static void 1085s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1085s # { 1085s # /* GObject signals for incoming D-Bus method calls: */ 1085s # /** 1085s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: A #GDBusMethodInvocation. 1085s # * @arg_arg_s: Argument passed by remote caller. 1085s # * 1085s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1085s # * 1085s # * 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. 1085s # * 1085s # * 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. 1085s # */ 1085s # g_signal_new ("handle-single-arg-method-s", 1085s # G_TYPE_FROM_INTERFACE (iface), 1085s # G_SIGNAL_RUN_LAST, 1085s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1085s # g_signal_accumulator_true_handled, 1085s # NULL, 1085s # org_project_useful_interface_method_marshal_single_arg_method_s, 1085s # G_TYPE_BOOLEAN, 1085s # 2, 1085s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1085s # 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_s: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_s: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1085s # */ 1085s # void 1085s # org_project_useful_interface_call_single_arg_method_s ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # const gchar *arg_arg_s, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodS", 1085s # g_variant_new ("(s)", 1085s # arg_arg_s), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # callback, 1085s # user_data); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_s_finish: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_s_finish ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_s_sync: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_s: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_s_sync ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # const gchar *arg_arg_s, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodS", 1085s # g_variant_new ("(s)", 1085s # arg_arg_s), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_complete_single_arg_method_s: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1085s # * 1085s # * 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. 1085s # * 1085s # * This method will free @invocation, you cannot use it afterwards. 1085s # */ 1085s # void 1085s # org_project_useful_interface_complete_single_arg_method_s ( 1085s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1085s # GDBusMethodInvocation *invocation) 1085s # { 1085s # g_dbus_method_invocation_return_value (invocation, 1085s # g_variant_new ("()")); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxy: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxyClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceProxyPrivate 1085s # { 1085s # GData *qdata; 1085s # }; 1085s # 1085s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_proxy_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1085s # g_datalist_clear (&proxy->priv->qdata); 1085s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # const GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1085s # const gchar *sender_name G_GNUC_UNUSED, 1085s # const gchar *signal_name, 1085s # GVariant *parameters) 1085s # { 1085s # _ExtendedGDBusSignalInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # gsize n; 1085s # guint signal_id; 1085s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1085s # if (info == NULL) 1085s # return; 1085s # num_params = g_variant_n_children (parameters); 1085s # paramv = g_new0 (GValue, num_params + 1); 1085s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[0], proxy); 1085s # g_variant_iter_init (&iter, parameters); 1085s # n = 1; 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_signal_emitv (paramv, signal_id, 0, NULL); 1085s # for (n = 0; n < num_params + 1; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1085s # GVariant *changed_properties, 1085s # const gchar *const *invalidated_properties) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1085s # guint n; 1085s # const gchar *key; 1085s # GVariantIter *iter; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # g_variant_get (changed_properties, "a{sv}", &iter); 1085s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1085s # g_datalist_remove_data (&proxy->priv->qdata, key); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # g_variant_iter_free (iter); 1085s # for (n = 0; invalidated_properties[n] != NULL; n++) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1085s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1085s # #else 1085s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1085s # #endif 1085s # 1085s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusProxyClass *proxy_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1085s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1085s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1085s # 1085s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1085s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1085s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_sync: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_sync ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new_for_bus ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_sync: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_sync ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeleton: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeletonClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1085s # { 1085s # GValue *properties; 1085s # GList *changed_properties; 1085s # GSource *changed_properties_idle_source; 1085s # GMainContext *context; 1085s # GMutex lock; 1085s # }; 1085s # 1085s # static void 1085s # _org_project_useful_interface_skeleton_handle_method_call ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name, 1085s # const gchar *method_name, 1085s # GVariant *parameters, 1085s # GDBusMethodInvocation *invocation, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # _ExtendedGDBusMethodInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # guint num_extra; 1085s # gsize n; 1085s # guint signal_id; 1085s # GValue return_value = G_VALUE_INIT; 1085s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1085s # g_assert (info != NULL); 1085s # num_params = g_variant_n_children (parameters); 1085s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1085s # n = 0; 1085s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[n++], skeleton); 1085s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1085s # g_value_set_object (¶mv[n++], invocation); 1085s # if (info->pass_fdlist) 1085s # { 1085s # #ifdef G_OS_UNIX 1085s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1085s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1085s # #else 1085s # g_assert_not_reached (); 1085s # #endif 1085s # } 1085s # g_variant_iter_init (&iter, parameters); 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1085s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1085s # if (!g_value_get_boolean (&return_value)) 1085s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1085s # g_value_unset (&return_value); 1085s # for (n = 0; n < num_params + num_extra; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static GVariant * 1085s # _org_project_useful_interface_skeleton_handle_get_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # GVariant *ret; 1085s # ret = NULL; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # g_value_init (&value, pspec->value_type); 1085s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1085s # g_value_unset (&value); 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _org_project_useful_interface_skeleton_handle_set_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GVariant *variant, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # gboolean ret; 1085s # ret = FALSE; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # if (info->use_gvariant) 1085s # g_value_set_variant (&value, variant); 1085s # else 1085s # g_dbus_gvariant_to_gvalue (variant, &value); 1085s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # g_value_unset (&value); 1085s # ret = TRUE; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1085s # { 1085s # _org_project_useful_interface_skeleton_handle_method_call, 1085s # _org_project_useful_interface_skeleton_handle_get_property, 1085s # _org_project_useful_interface_skeleton_handle_set_property, 1085s # {NULL} 1085s # }; 1085s # 1085s # static GDBusInterfaceInfo * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return org_project_useful_interface_interface_info (); 1085s # } 1085s # 1085s # static GDBusInterfaceVTable * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1085s # } 1085s # 1085s # static GVariant * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1085s # 1085s # GVariantBuilder builder; 1085s # guint n; 1085s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1085s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1085s # goto out; 1085s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1085s # { 1085s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1085s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1085s # { 1085s # GVariant *value; 1085s # 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); 1085s # if (value != NULL) 1085s # { 1085s # g_variant_take_ref (value); 1085s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1085s # g_variant_unref (value); 1085s # } 1085s # } 1085s # } 1085s # out: 1085s # return g_variant_builder_end (&builder); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_skeleton_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1085s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1085s # if (skeleton->priv->changed_properties_idle_source != NULL) 1085s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1085s # g_main_context_unref (skeleton->priv->context); 1085s # g_mutex_clear (&skeleton->priv->lock); 1085s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1085s # #else 1085s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1085s # #endif 1085s # 1085s # g_mutex_init (&skeleton->priv->lock); 1085s # skeleton->priv->context = g_main_context_ref_thread_default (); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusInterfaceSkeletonClass *skeleton_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1085s # 1085s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1085s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1085s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1085s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1085s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_skeleton_new: 1085s # * 1085s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_skeleton_new (void) 1085s # { 1085s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1085s # } 1085s # /tmp/tmpdp4giqbp/tmphybyor_z.xml: 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdp4giqbp/tmphybyor_z.xml', '--output', '-', '--body'] 1085s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1085s # Output: /* 1085s # * This file is generated by gdbus-codegen, do not modify it. 1085s # * 1085s # * The license of this code is the same as for the D-Bus interface description 1085s # * it was derived from. Note that it links to GLib, so must comply with the 1085s # * LGPL linking clauses. 1085s # */ 1085s # 1085s # #ifdef HAVE_CONFIG_H 1085s # # include "config.h" 1085s # #endif 1085s # 1085s # #include 1085s # #ifdef G_OS_UNIX 1085s # # include 1085s # #endif 1085s # 1085s # #ifdef G_ENABLE_DEBUG 1085s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1085s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1085s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1085s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1085s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1085s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1085s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1085s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1085s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1085s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1085s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1085s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1085s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1085s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1085s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1085s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1085s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1085s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1085s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1085s # #else /* !G_ENABLE_DEBUG */ 1085s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1085s # * Do not access GValues directly in your code. Instead, use the 1085s # * g_value_get_*() functions 1085s # */ 1085s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1085s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1085s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1085s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1085s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1085s # #endif /* !G_ENABLE_DEBUG */ 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusArgInfo parent_struct; 1085s # gboolean use_gvariant; 1085s # } _ExtendedGDBusArgInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusMethodInfo parent_struct; 1085s # const gchar *signal_name; 1085s # gboolean pass_fdlist; 1085s # } _ExtendedGDBusMethodInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusSignalInfo parent_struct; 1085s # const gchar *signal_name; 1085s # } _ExtendedGDBusSignalInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusPropertyInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # guint use_gvariant : 1; 1085s # guint emits_changed_signal : 1; 1085s # } _ExtendedGDBusPropertyInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusInterfaceInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # } _ExtendedGDBusInterfaceInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # const _ExtendedGDBusPropertyInfo *info; 1085s # guint prop_id; 1085s # GValue orig_value; /* the value before the change */ 1085s # } ChangedProperty; 1085s # 1085s # static void 1085s # _changed_property_free (ChangedProperty *data) 1085s # { 1085s # g_value_unset (&data->orig_value); 1085s # g_free (data); 1085s # } 1085s # 1085s # static gboolean 1085s # _g_strv_equal0 (gchar **a, gchar **b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # guint n; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # if (g_strv_length (a) != g_strv_length (b)) 1085s # goto out; 1085s # for (n = 0; a[n] != NULL; n++) 1085s # if (g_strcmp0 (a[n], b[n]) != 0) 1085s # goto out; 1085s # ret = TRUE; 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _g_variant_equal0 (GVariant *a, GVariant *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # ret = g_variant_equal (a, b); 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # G_GNUC_UNUSED static gboolean 1085s # _g_value_equal (const GValue *a, const GValue *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1085s # switch (G_VALUE_TYPE (a)) 1085s # { 1085s # case G_TYPE_BOOLEAN: 1085s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1085s # break; 1085s # case G_TYPE_UCHAR: 1085s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1085s # break; 1085s # case G_TYPE_INT: 1085s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1085s # break; 1085s # case G_TYPE_UINT: 1085s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1085s # break; 1085s # case G_TYPE_INT64: 1085s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1085s # break; 1085s # case G_TYPE_UINT64: 1085s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1085s # break; 1085s # case G_TYPE_DOUBLE: 1085s # { 1085s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1085s # gdouble da = g_value_get_double (a); 1085s # gdouble db = g_value_get_double (b); 1085s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1085s # } 1085s # break; 1085s # case G_TYPE_STRING: 1085s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1085s # break; 1085s # case G_TYPE_VARIANT: 1085s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1085s # break; 1085s # default: 1085s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1085s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1085s # else 1085s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1085s # break; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static void 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint G_GNUC_UNUSED, 1085s # void *marshal_data) 1085s # { 1085s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1085s # (void *data1, 1085s # GDBusMethodInvocation *arg_method_invocation, 1085s # const gchar *arg_arg_o, 1085s # void *data2); 1085s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1085s # GCClosure *cc = (GCClosure*) closure; 1085s # void *data1, *data2; 1085s # gboolean v_return; 1085s # 1085s # g_return_if_fail (return_value != NULL); 1085s # g_return_if_fail (n_param_values == 3); 1085s # 1085s # if (G_CCLOSURE_SWAP_DATA (closure)) 1085s # { 1085s # data1 = closure->data; 1085s # data2 = g_value_peek_pointer (param_values + 0); 1085s # } 1085s # else 1085s # { 1085s # data1 = g_value_peek_pointer (param_values + 0); 1085s # data2 = closure->data; 1085s # } 1085s # 1085s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1085s # (marshal_data ? marshal_data : cc->callback); 1085s # 1085s # v_return = 1085s # callback (data1, 1085s # g_marshal_value_peek_object (param_values + 1), 1085s # g_marshal_value_peek_string (param_values + 2), 1085s # data2); 1085s # 1085s # g_value_set_boolean (return_value, v_return); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ 1085s # * Code for interface org.project.UsefulInterface 1085s # * ------------------------------------------------------------------------ 1085s # */ 1085s # 1085s # /** 1085s # * SECTION:OrgProjectUsefulInterface 1085s # * @title: OrgProjectUsefulInterface 1085s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1085s # * 1085s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1085s # */ 1085s # 1085s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1085s # 1085s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "arg_o", 1085s # (gchar *) "o", 1085s # NULL 1085s # }, 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "SingleArgMethodO", 1085s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "handle-single-arg-method-o", 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "org.project.UsefulInterface", 1085s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1085s # NULL, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "org-project-useful-interface", 1085s # }; 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_interface_info: 1085s # * 1085s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1085s # * 1085s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1085s # */ 1085s # GDBusInterfaceInfo * 1085s # org_project_useful_interface_interface_info (void) 1085s # { 1085s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_override_properties: 1085s # * @klass: The class structure for a #GObject derived class. 1085s # * @property_id_begin: The property id to assign to the first overridden property. 1085s # * 1085s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1085s # * The properties are overridden in the order they are defined. 1085s # * 1085s # * Returns: The last property id. 1085s # */ 1085s # guint 1085s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1085s # { 1085s # return property_id_begin - 1; 1085s # } 1085s # 1085s # 1085s # inline static void 1085s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint, 1085s # void *marshal_data) 1085s # { 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1085s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1085s # } 1085s # 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterface: 1085s # * 1085s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceIface: 1085s # * @parent_iface: The parent interface. 1085s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1085s # * 1085s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1085s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1085s # 1085s # static void 1085s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1085s # { 1085s # /* GObject signals for incoming D-Bus method calls: */ 1085s # /** 1085s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: A #GDBusMethodInvocation. 1085s # * @arg_arg_o: Argument passed by remote caller. 1085s # * 1085s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1085s # * 1085s # * 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. 1085s # * 1085s # * 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. 1085s # */ 1085s # g_signal_new ("handle-single-arg-method-o", 1085s # G_TYPE_FROM_INTERFACE (iface), 1085s # G_SIGNAL_RUN_LAST, 1085s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1085s # g_signal_accumulator_true_handled, 1085s # NULL, 1085s # org_project_useful_interface_method_marshal_single_arg_method_o, 1085s # G_TYPE_BOOLEAN, 1085s # 2, 1085s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1085s # 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_o: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_o: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1085s # */ 1085s # void 1085s # org_project_useful_interface_call_single_arg_method_o ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # const gchar *arg_arg_o, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodO", 1085s # g_variant_new ("(o)", 1085s # arg_arg_o), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # callback, 1085s # user_data); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_o_finish: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_o_finish ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_o_sync: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_o: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_o_sync ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # const gchar *arg_arg_o, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodO", 1085s # g_variant_new ("(o)", 1085s # arg_arg_o), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_complete_single_arg_method_o: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1085s # * 1085s # * 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. 1085s # * 1085s # * This method will free @invocation, you cannot use it afterwards. 1085s # */ 1085s # void 1085s # org_project_useful_interface_complete_single_arg_method_o ( 1085s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1085s # GDBusMethodInvocation *invocation) 1085s # { 1085s # g_dbus_method_invocation_return_value (invocation, 1085s # g_variant_new ("()")); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxy: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxyClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceProxyPrivate 1085s # { 1085s # GData *qdata; 1085s # }; 1085s # 1085s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_proxy_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1085s # g_datalist_clear (&proxy->priv->qdata); 1085s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # const GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1085s # const gchar *sender_name G_GNUC_UNUSED, 1085s # const gchar *signal_name, 1085s # GVariant *parameters) 1085s # { 1085s # _ExtendedGDBusSignalInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # gsize n; 1085s # guint signal_id; 1085s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1085s # if (info == NULL) 1085s # return; 1085s # num_params = g_variant_n_children (parameters); 1085s # paramv = g_new0 (GValue, num_params + 1); 1085s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[0], proxy); 1085s # g_variant_iter_init (&iter, parameters); 1085s # n = 1; 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_signal_emitv (paramv, signal_id, 0, NULL); 1085s # for (n = 0; n < num_params + 1; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1085s # GVariant *changed_properties, 1085s # const gchar *const *invalidated_properties) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1085s # guint n; 1085s # const gchar *key; 1085s # GVariantIter *iter; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # g_variant_get (changed_properties, "a{sv}", &iter); 1085s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1085s # g_datalist_remove_data (&proxy->priv->qdata, key); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # g_variant_iter_free (iter); 1085s # for (n = 0; invalidated_properties[n] != NULL; n++) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1085s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1085s # #else 1085s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1085s # #endif 1085s # 1085s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusProxyClass *proxy_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1085s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1085s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1085s # 1085s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1085s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1085s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_sync: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_sync ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new_for_bus ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_sync: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_sync ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeleton: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeletonClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1085s # { 1085s # GValue *properties; 1085s # GList *changed_properties; 1085s # GSource *changed_properties_idle_source; 1085s # GMainContext *context; 1085s # GMutex lock; 1085s # }; 1085s # 1085s # static void 1085s # _org_project_useful_interface_skeleton_handle_method_call ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name, 1085s # const gchar *method_name, 1085s # GVariant *parameters, 1085s # GDBusMethodInvocation *invocation, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # _ExtendedGDBusMethodInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # guint num_extra; 1085s # gsize n; 1085s # guint signal_id; 1085s # GValue return_value = G_VALUE_INIT; 1085s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1085s # g_assert (info != NULL); 1085s # num_params = g_variant_n_children (parameters); 1085s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1085s # n = 0; 1085s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[n++], skeleton); 1085s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1085s # g_value_set_object (¶mv[n++], invocation); 1085s # if (info->pass_fdlist) 1085s # { 1085s # #ifdef G_OS_UNIX 1085s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1085s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1085s # #else 1085s # g_assert_not_reached (); 1085s # #endif 1085s # } 1085s # g_variant_iter_init (&iter, parameters); 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1085s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1085s # if (!g_value_get_boolean (&return_value)) 1085s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1085s # g_value_unset (&return_value); 1085s # for (n = 0; n < num_params + num_extra; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static GVariant * 1085s # _org_project_useful_interface_skeleton_handle_get_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # GVariant *ret; 1085s # ret = NULL; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # g_value_init (&value, pspec->value_type); 1085s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1085s # g_value_unset (&value); 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _org_project_useful_interface_skeleton_handle_set_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GVariant *variant, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # gboolean ret; 1085s # ret = FALSE; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # if (info->use_gvariant) 1085s # g_value_set_variant (&value, variant); 1085s # else 1085s # g_dbus_gvariant_to_gvalue (variant, &value); 1085s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # g_value_unset (&value); 1085s # ret = TRUE; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1085s # { 1085s # _org_project_useful_interface_skeleton_handle_method_call, 1085s # _org_project_useful_interface_skeleton_handle_get_property, 1085s # _org_project_useful_interface_skeleton_handle_set_property, 1085s # {NULL} 1085s # }; 1085s # 1085s # static GDBusInterfaceInfo * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return org_project_useful_interface_interface_info (); 1085s # } 1085s # 1085s # static GDBusInterfaceVTable * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1085s # } 1085s # 1085s # static GVariant * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1085s # 1085s # GVariantBuilder builder; 1085s # guint n; 1085s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1085s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1085s # goto out; 1085s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1085s # { 1085s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1085s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1085s # { 1085s # GVariant *value; 1085s # 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); 1085s # if (value != NULL) 1085s # { 1085s # g_variant_take_ref (value); 1085s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1085s # g_variant_unref (value); 1085s # } 1085s # } 1085s # } 1085s # out: 1085s # return g_variant_builder_end (&builder); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_skeleton_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1085s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1085s # if (skeleton->priv->changed_properties_idle_source != NULL) 1085s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1085s # g_main_context_unref (skeleton->priv->context); 1085s # g_mutex_clear (&skeleton->priv->lock); 1085s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1085s # #else 1085s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1085s # #endif 1085s # 1085s # g_mutex_init (&skeleton->priv->lock); 1085s # skeleton->priv->context = g_main_context_ref_thread_default (); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusInterfaceSkeletonClass *skeleton_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1085s # 1085s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1085s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1085s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1085s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1085s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_skeleton_new: 1085s # * 1085s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_skeleton_new (void) 1085s # { 1085s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1085s # } 1085s # /tmp/tmpdp4giqbp/tmph1wamgw6.xml: 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdp4giqbp/tmph1wamgw6.xml', '--output', '-', '--body'] 1085s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1085s # Output: /* 1085s # * This file is generated by gdbus-codegen, do not modify it. 1085s # * 1085s # * The license of this code is the same as for the D-Bus interface description 1085s # * it was derived from. Note that it links to GLib, so must comply with the 1085s # * LGPL linking clauses. 1085s # */ 1085s # 1085s # #ifdef HAVE_CONFIG_H 1085s # # include "config.h" 1085s # #endif 1085s # 1085s # #include 1085s # #ifdef G_OS_UNIX 1085s # # include 1085s # #endif 1085s # 1085s # #ifdef G_ENABLE_DEBUG 1085s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1085s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1085s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1085s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1085s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1085s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1085s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1085s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1085s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1085s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1085s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1085s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1085s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1085s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1085s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1085s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1085s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1085s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1085s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1085s # #else /* !G_ENABLE_DEBUG */ 1085s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1085s # * Do not access GValues directly in your code. Instead, use the 1085s # * g_value_get_*() functions 1085s # */ 1085s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1085s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1085s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1085s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1085s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1085s # #endif /* !G_ENABLE_DEBUG */ 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusArgInfo parent_struct; 1085s # gboolean use_gvariant; 1085s # } _ExtendedGDBusArgInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusMethodInfo parent_struct; 1085s # const gchar *signal_name; 1085s # gboolean pass_fdlist; 1085s # } _ExtendedGDBusMethodInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusSignalInfo parent_struct; 1085s # const gchar *signal_name; 1085s # } _ExtendedGDBusSignalInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusPropertyInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # guint use_gvariant : 1; 1085s # guint emits_changed_signal : 1; 1085s # } _ExtendedGDBusPropertyInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusInterfaceInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # } _ExtendedGDBusInterfaceInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # const _ExtendedGDBusPropertyInfo *info; 1085s # guint prop_id; 1085s # GValue orig_value; /* the value before the change */ 1085s # } ChangedProperty; 1085s # 1085s # static void 1085s # _changed_property_free (ChangedProperty *data) 1085s # { 1085s # g_value_unset (&data->orig_value); 1085s # g_free (data); 1085s # } 1085s # 1085s # static gboolean 1085s # _g_strv_equal0 (gchar **a, gchar **b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # guint n; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # if (g_strv_length (a) != g_strv_length (b)) 1085s # goto out; 1085s # for (n = 0; a[n] != NULL; n++) 1085s # if (g_strcmp0 (a[n], b[n]) != 0) 1085s # goto out; 1085s # ret = TRUE; 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _g_variant_equal0 (GVariant *a, GVariant *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # ret = g_variant_equal (a, b); 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # G_GNUC_UNUSED static gboolean 1085s # _g_value_equal (const GValue *a, const GValue *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1085s # switch (G_VALUE_TYPE (a)) 1085s # { 1085s # case G_TYPE_BOOLEAN: 1085s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1085s # break; 1085s # case G_TYPE_UCHAR: 1085s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1085s # break; 1085s # case G_TYPE_INT: 1085s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1085s # break; 1085s # case G_TYPE_UINT: 1085s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1085s # break; 1085s # case G_TYPE_INT64: 1085s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1085s # break; 1085s # case G_TYPE_UINT64: 1085s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1085s # break; 1085s # case G_TYPE_DOUBLE: 1085s # { 1085s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1085s # gdouble da = g_value_get_double (a); 1085s # gdouble db = g_value_get_double (b); 1085s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1085s # } 1085s # break; 1085s # case G_TYPE_STRING: 1085s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1085s # break; 1085s # case G_TYPE_VARIANT: 1085s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1085s # break; 1085s # default: 1085s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1085s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1085s # else 1085s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1085s # break; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static void 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint G_GNUC_UNUSED, 1085s # void *marshal_data) 1085s # { 1085s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1085s # (void *data1, 1085s # GDBusMethodInvocation *arg_method_invocation, 1085s # const gchar *arg_arg_g, 1085s # void *data2); 1085s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1085s # GCClosure *cc = (GCClosure*) closure; 1085s # void *data1, *data2; 1085s # gboolean v_return; 1085s # 1085s # g_return_if_fail (return_value != NULL); 1085s # g_return_if_fail (n_param_values == 3); 1085s # 1085s # if (G_CCLOSURE_SWAP_DATA (closure)) 1085s # { 1085s # data1 = closure->data; 1085s # data2 = g_value_peek_pointer (param_values + 0); 1085s # } 1085s # else 1085s # { 1085s # data1 = g_value_peek_pointer (param_values + 0); 1085s # data2 = closure->data; 1085s # } 1085s # 1085s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1085s # (marshal_data ? marshal_data : cc->callback); 1085s # 1085s # v_return = 1085s # callback (data1, 1085s # g_marshal_value_peek_object (param_values + 1), 1085s # g_marshal_value_peek_string (param_values + 2), 1085s # data2); 1085s # 1085s # g_value_set_boolean (return_value, v_return); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ 1085s # * Code for interface org.project.UsefulInterface 1085s # * ------------------------------------------------------------------------ 1085s # */ 1085s # 1085s # /** 1085s # * SECTION:OrgProjectUsefulInterface 1085s # * @title: OrgProjectUsefulInterface 1085s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1085s # * 1085s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1085s # */ 1085s # 1085s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1085s # 1085s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "arg_g", 1085s # (gchar *) "g", 1085s # NULL 1085s # }, 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "SingleArgMethodG", 1085s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "handle-single-arg-method-g", 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "org.project.UsefulInterface", 1085s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1085s # NULL, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "org-project-useful-interface", 1085s # }; 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_interface_info: 1085s # * 1085s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1085s # * 1085s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1085s # */ 1085s # GDBusInterfaceInfo * 1085s # org_project_useful_interface_interface_info (void) 1085s # { 1085s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_override_properties: 1085s # * @klass: The class structure for a #GObject derived class. 1085s # * @property_id_begin: The property id to assign to the first overridden property. 1085s # * 1085s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1085s # * The properties are overridden in the order they are defined. 1085s # * 1085s # * Returns: The last property id. 1085s # */ 1085s # guint 1085s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1085s # { 1085s # return property_id_begin - 1; 1085s # } 1085s # 1085s # 1085s # inline static void 1085s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint, 1085s # void *marshal_data) 1085s # { 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1085s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1085s # } 1085s # 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterface: 1085s # * 1085s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceIface: 1085s # * @parent_iface: The parent interface. 1085s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1085s # * 1085s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1085s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1085s # 1085s # static void 1085s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1085s # { 1085s # /* GObject signals for incoming D-Bus method calls: */ 1085s # /** 1085s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: A #GDBusMethodInvocation. 1085s # * @arg_arg_g: Argument passed by remote caller. 1085s # * 1085s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1085s # * 1085s # * 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. 1085s # * 1085s # * 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. 1085s # */ 1085s # g_signal_new ("handle-single-arg-method-g", 1085s # G_TYPE_FROM_INTERFACE (iface), 1085s # G_SIGNAL_RUN_LAST, 1085s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1085s # g_signal_accumulator_true_handled, 1085s # NULL, 1085s # org_project_useful_interface_method_marshal_single_arg_method_g, 1085s # G_TYPE_BOOLEAN, 1085s # 2, 1085s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1085s # 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_g: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_g: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1085s # */ 1085s # void 1085s # org_project_useful_interface_call_single_arg_method_g ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # const gchar *arg_arg_g, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodG", 1085s # g_variant_new ("(g)", 1085s # arg_arg_g), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # callback, 1085s # user_data); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_g_finish: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_g_finish ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_g_sync: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_g: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_g_sync ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # const gchar *arg_arg_g, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodG", 1085s # g_variant_new ("(g)", 1085s # arg_arg_g), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_complete_single_arg_method_g: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1085s # * 1085s # * 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. 1085s # * 1085s # * This method will free @invocation, you cannot use it afterwards. 1085s # */ 1085s # void 1085s # org_project_useful_interface_complete_single_arg_method_g ( 1085s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1085s # GDBusMethodInvocation *invocation) 1085s # { 1085s # g_dbus_method_invocation_return_value (invocation, 1085s # g_variant_new ("()")); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxy: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxyClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceProxyPrivate 1085s # { 1085s # GData *qdata; 1085s # }; 1085s # 1085s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_proxy_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1085s # g_datalist_clear (&proxy->priv->qdata); 1085s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # const GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1085s # const gchar *sender_name G_GNUC_UNUSED, 1085s # const gchar *signal_name, 1085s # GVariant *parameters) 1085s # { 1085s # _ExtendedGDBusSignalInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # gsize n; 1085s # guint signal_id; 1085s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1085s # if (info == NULL) 1085s # return; 1085s # num_params = g_variant_n_children (parameters); 1085s # paramv = g_new0 (GValue, num_params + 1); 1085s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[0], proxy); 1085s # g_variant_iter_init (&iter, parameters); 1085s # n = 1; 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_signal_emitv (paramv, signal_id, 0, NULL); 1085s # for (n = 0; n < num_params + 1; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1085s # GVariant *changed_properties, 1085s # const gchar *const *invalidated_properties) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1085s # guint n; 1085s # const gchar *key; 1085s # GVariantIter *iter; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # g_variant_get (changed_properties, "a{sv}", &iter); 1085s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1085s # g_datalist_remove_data (&proxy->priv->qdata, key); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # g_variant_iter_free (iter); 1085s # for (n = 0; invalidated_properties[n] != NULL; n++) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1085s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1085s # #else 1085s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1085s # #endif 1085s # 1085s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusProxyClass *proxy_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1085s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1085s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1085s # 1085s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1085s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1085s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_sync: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_sync ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new_for_bus ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_sync: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_sync ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeleton: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeletonClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1085s # { 1085s # GValue *properties; 1085s # GList *changed_properties; 1085s # GSource *changed_properties_idle_source; 1085s # GMainContext *context; 1085s # GMutex lock; 1085s # }; 1085s # 1085s # static void 1085s # _org_project_useful_interface_skeleton_handle_method_call ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name, 1085s # const gchar *method_name, 1085s # GVariant *parameters, 1085s # GDBusMethodInvocation *invocation, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # _ExtendedGDBusMethodInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # guint num_extra; 1085s # gsize n; 1085s # guint signal_id; 1085s # GValue return_value = G_VALUE_INIT; 1085s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1085s # g_assert (info != NULL); 1085s # num_params = g_variant_n_children (parameters); 1085s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1085s # n = 0; 1085s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[n++], skeleton); 1085s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1085s # g_value_set_object (¶mv[n++], invocation); 1085s # if (info->pass_fdlist) 1085s # { 1085s # #ifdef G_OS_UNIX 1085s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1085s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1085s # #else 1085s # g_assert_not_reached (); 1085s # #endif 1085s # } 1085s # g_variant_iter_init (&iter, parameters); 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1085s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1085s # if (!g_value_get_boolean (&return_value)) 1085s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1085s # g_value_unset (&return_value); 1085s # for (n = 0; n < num_params + num_extra; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static GVariant * 1085s # _org_project_useful_interface_skeleton_handle_get_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # GVariant *ret; 1085s # ret = NULL; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # g_value_init (&value, pspec->value_type); 1085s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1085s # g_value_unset (&value); 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _org_project_useful_interface_skeleton_handle_set_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GVariant *variant, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # gboolean ret; 1085s # ret = FALSE; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # if (info->use_gvariant) 1085s # g_value_set_variant (&value, variant); 1085s # else 1085s # g_dbus_gvariant_to_gvalue (variant, &value); 1085s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # g_value_unset (&value); 1085s # ret = TRUE; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1085s # { 1085s # _org_project_useful_interface_skeleton_handle_method_call, 1085s # _org_project_useful_interface_skeleton_handle_get_property, 1085s # _org_project_useful_interface_skeleton_handle_set_property, 1085s # {NULL} 1085s # }; 1085s # 1085s # static GDBusInterfaceInfo * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return org_project_useful_interface_interface_info (); 1085s # } 1085s # 1085s # static GDBusInterfaceVTable * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1085s # } 1085s # 1085s # static GVariant * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1085s # 1085s # GVariantBuilder builder; 1085s # guint n; 1085s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1085s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1085s # goto out; 1085s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1085s # { 1085s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1085s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1085s # { 1085s # GVariant *value; 1085s # 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); 1085s # if (value != NULL) 1085s # { 1085s # g_variant_take_ref (value); 1085s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1085s # g_variant_unref (value); 1085s # } 1085s # } 1085s # } 1085s # out: 1085s # return g_variant_builder_end (&builder); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_skeleton_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1085s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1085s # if (skeleton->priv->changed_properties_idle_source != NULL) 1085s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1085s # g_main_context_unref (skeleton->priv->context); 1085s # g_mutex_clear (&skeleton->priv->lock); 1085s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1085s # #else 1085s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1085s # #endif 1085s # 1085s # g_mutex_init (&skeleton->priv->lock); 1085s # skeleton->priv->context = g_main_context_ref_thread_default (); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusInterfaceSkeletonClass *skeleton_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1085s # 1085s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1085s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1085s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1085s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1085s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_skeleton_new: 1085s # * 1085s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_skeleton_new (void) 1085s # { 1085s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1085s # } 1085s # /tmp/tmpdp4giqbp/tmpfpeglryv.xml: 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdp4giqbp/tmpfpeglryv.xml', '--output', '-', '--body'] 1085s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1085s # Output: /* 1085s # * This file is generated by gdbus-codegen, do not modify it. 1085s # * 1085s # * The license of this code is the same as for the D-Bus interface description 1085s # * it was derived from. Note that it links to GLib, so must comply with the 1085s # * LGPL linking clauses. 1085s # */ 1085s # 1085s # #ifdef HAVE_CONFIG_H 1085s # # include "config.h" 1085s # #endif 1085s # 1085s # #include 1085s # #ifdef G_OS_UNIX 1085s # # include 1085s # #endif 1085s # 1085s # #ifdef G_ENABLE_DEBUG 1085s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1085s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1085s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1085s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1085s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1085s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1085s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1085s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1085s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1085s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1085s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1085s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1085s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1085s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1085s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1085s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1085s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1085s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1085s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1085s # #else /* !G_ENABLE_DEBUG */ 1085s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1085s # * Do not access GValues directly in your code. Instead, use the 1085s # * g_value_get_*() functions 1085s # */ 1085s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1085s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1085s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1085s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1085s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1085s # #endif /* !G_ENABLE_DEBUG */ 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusArgInfo parent_struct; 1085s # gboolean use_gvariant; 1085s # } _ExtendedGDBusArgInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusMethodInfo parent_struct; 1085s # const gchar *signal_name; 1085s # gboolean pass_fdlist; 1085s # } _ExtendedGDBusMethodInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusSignalInfo parent_struct; 1085s # const gchar *signal_name; 1085s # } _ExtendedGDBusSignalInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusPropertyInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # guint use_gvariant : 1; 1085s # guint emits_changed_signal : 1; 1085s # } _ExtendedGDBusPropertyInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusInterfaceInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # } _ExtendedGDBusInterfaceInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # const _ExtendedGDBusPropertyInfo *info; 1085s # guint prop_id; 1085s # GValue orig_value; /* the value before the change */ 1085s # } ChangedProperty; 1085s # 1085s # static void 1085s # _changed_property_free (ChangedProperty *data) 1085s # { 1085s # g_value_unset (&data->orig_value); 1085s # g_free (data); 1085s # } 1085s # 1085s # static gboolean 1085s # _g_strv_equal0 (gchar **a, gchar **b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # guint n; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # if (g_strv_length (a) != g_strv_length (b)) 1085s # goto out; 1085s # for (n = 0; a[n] != NULL; n++) 1085s # if (g_strcmp0 (a[n], b[n]) != 0) 1085s # goto out; 1085s # ret = TRUE; 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _g_variant_equal0 (GVariant *a, GVariant *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # ret = g_variant_equal (a, b); 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # G_GNUC_UNUSED static gboolean 1085s # _g_value_equal (const GValue *a, const GValue *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1085s # switch (G_VALUE_TYPE (a)) 1085s # { 1085s # case G_TYPE_BOOLEAN: 1085s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1085s # break; 1085s # case G_TYPE_UCHAR: 1085s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1085s # break; 1085s # case G_TYPE_INT: 1085s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1085s # break; 1085s # case G_TYPE_UINT: 1085s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1085s # break; 1085s # case G_TYPE_INT64: 1085s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1085s # break; 1085s # case G_TYPE_UINT64: 1085s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1085s # break; 1085s # case G_TYPE_DOUBLE: 1085s # { 1085s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1085s # gdouble da = g_value_get_double (a); 1085s # gdouble db = g_value_get_double (b); 1085s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1085s # } 1085s # break; 1085s # case G_TYPE_STRING: 1085s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1085s # break; 1085s # case G_TYPE_VARIANT: 1085s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1085s # break; 1085s # default: 1085s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1085s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1085s # else 1085s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1085s # break; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static void 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint G_GNUC_UNUSED, 1085s # void *marshal_data) 1085s # { 1085s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1085s # (void *data1, 1085s # GDBusMethodInvocation *arg_method_invocation, 1085s # GVariant *arg_arg_h, 1085s # void *data2); 1085s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1085s # GCClosure *cc = (GCClosure*) closure; 1085s # void *data1, *data2; 1085s # gboolean v_return; 1085s # 1085s # g_return_if_fail (return_value != NULL); 1085s # g_return_if_fail (n_param_values == 3); 1085s # 1085s # if (G_CCLOSURE_SWAP_DATA (closure)) 1085s # { 1085s # data1 = closure->data; 1085s # data2 = g_value_peek_pointer (param_values + 0); 1085s # } 1085s # else 1085s # { 1085s # data1 = g_value_peek_pointer (param_values + 0); 1085s # data2 = closure->data; 1085s # } 1085s # 1085s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1085s # (marshal_data ? marshal_data : cc->callback); 1085s # 1085s # v_return = 1085s # callback (data1, 1085s # g_marshal_value_peek_object (param_values + 1), 1085s # g_marshal_value_peek_variant (param_values + 2), 1085s # data2); 1085s # 1085s # g_value_set_boolean (return_value, v_return); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ 1085s # * Code for interface org.project.UsefulInterface 1085s # * ------------------------------------------------------------------------ 1085s # */ 1085s # 1085s # /** 1085s # * SECTION:OrgProjectUsefulInterface 1085s # * @title: OrgProjectUsefulInterface 1085s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1085s # * 1085s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1085s # */ 1085s # 1085s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1085s # 1085s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "arg_h", 1085s # (gchar *) "h", 1085s # NULL 1085s # }, 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "SingleArgMethodH", 1085s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "handle-single-arg-method-h", 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "org.project.UsefulInterface", 1085s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1085s # NULL, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "org-project-useful-interface", 1085s # }; 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_interface_info: 1085s # * 1085s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1085s # * 1085s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1085s # */ 1085s # GDBusInterfaceInfo * 1085s # org_project_useful_interface_interface_info (void) 1085s # { 1085s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_override_properties: 1085s # * @klass: The class structure for a #GObject derived class. 1085s # * @property_id_begin: The property id to assign to the first overridden property. 1085s # * 1085s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1085s # * The properties are overridden in the order they are defined. 1085s # * 1085s # * Returns: The last property id. 1085s # */ 1085s # guint 1085s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1085s # { 1085s # return property_id_begin - 1; 1085s # } 1085s # 1085s # 1085s # inline static void 1085s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint, 1085s # void *marshal_data) 1085s # { 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1085s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1085s # } 1085s # 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterface: 1085s # * 1085s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceIface: 1085s # * @parent_iface: The parent interface. 1085s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1085s # * 1085s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1085s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1085s # 1085s # static void 1085s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1085s # { 1085s # /* GObject signals for incoming D-Bus method calls: */ 1085s # /** 1085s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: A #GDBusMethodInvocation. 1085s # * @arg_arg_h: Argument passed by remote caller. 1085s # * 1085s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1085s # * 1085s # * 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. 1085s # * 1085s # * 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. 1085s # */ 1085s # g_signal_new ("handle-single-arg-method-h", 1085s # G_TYPE_FROM_INTERFACE (iface), 1085s # G_SIGNAL_RUN_LAST, 1085s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1085s # g_signal_accumulator_true_handled, 1085s # NULL, 1085s # org_project_useful_interface_method_marshal_single_arg_method_h, 1085s # G_TYPE_BOOLEAN, 1085s # 2, 1085s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1085s # 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_h: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_h: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1085s # */ 1085s # void 1085s # org_project_useful_interface_call_single_arg_method_h ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GVariant *arg_arg_h, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodH", 1085s # g_variant_new ("(@h)", 1085s # arg_arg_h), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # callback, 1085s # user_data); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_h_finish: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_h_finish ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_h_sync: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_h: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_h_sync ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GVariant *arg_arg_h, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodH", 1085s # g_variant_new ("(@h)", 1085s # arg_arg_h), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_complete_single_arg_method_h: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1085s # * 1085s # * 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. 1085s # * 1085s # * This method will free @invocation, you cannot use it afterwards. 1085s # */ 1085s # void 1085s # org_project_useful_interface_complete_single_arg_method_h ( 1085s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1085s # GDBusMethodInvocation *invocation) 1085s # { 1085s # g_dbus_method_invocation_return_value (invocation, 1085s # g_variant_new ("()")); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxy: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxyClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceProxyPrivate 1085s # { 1085s # GData *qdata; 1085s # }; 1085s # 1085s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_proxy_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1085s # g_datalist_clear (&proxy->priv->qdata); 1085s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # const GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1085s # const gchar *sender_name G_GNUC_UNUSED, 1085s # const gchar *signal_name, 1085s # GVariant *parameters) 1085s # { 1085s # _ExtendedGDBusSignalInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # gsize n; 1085s # guint signal_id; 1085s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1085s # if (info == NULL) 1085s # return; 1085s # num_params = g_variant_n_children (parameters); 1085s # paramv = g_new0 (GValue, num_params + 1); 1085s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[0], proxy); 1085s # g_variant_iter_init (&iter, parameters); 1085s # n = 1; 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_signal_emitv (paramv, signal_id, 0, NULL); 1085s # for (n = 0; n < num_params + 1; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1085s # GVariant *changed_properties, 1085s # const gchar *const *invalidated_properties) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1085s # guint n; 1085s # const gchar *key; 1085s # GVariantIter *iter; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # g_variant_get (changed_properties, "a{sv}", &iter); 1085s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1085s # g_datalist_remove_data (&proxy->priv->qdata, key); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # g_variant_iter_free (iter); 1085s # for (n = 0; invalidated_properties[n] != NULL; n++) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1085s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1085s # #else 1085s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1085s # #endif 1085s # 1085s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusProxyClass *proxy_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1085s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1085s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1085s # 1085s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1085s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1085s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_sync: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_sync ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new_for_bus ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_sync: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_sync ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeleton: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeletonClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1085s # { 1085s # GValue *properties; 1085s # GList *changed_properties; 1085s # GSource *changed_properties_idle_source; 1085s # GMainContext *context; 1085s # GMutex lock; 1085s # }; 1085s # 1085s # static void 1085s # _org_project_useful_interface_skeleton_handle_method_call ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name, 1085s # const gchar *method_name, 1085s # GVariant *parameters, 1085s # GDBusMethodInvocation *invocation, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # _ExtendedGDBusMethodInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # guint num_extra; 1085s # gsize n; 1085s # guint signal_id; 1085s # GValue return_value = G_VALUE_INIT; 1085s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1085s # g_assert (info != NULL); 1085s # num_params = g_variant_n_children (parameters); 1085s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1085s # n = 0; 1085s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[n++], skeleton); 1085s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1085s # g_value_set_object (¶mv[n++], invocation); 1085s # if (info->pass_fdlist) 1085s # { 1085s # #ifdef G_OS_UNIX 1085s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1085s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1085s # #else 1085s # g_assert_not_reached (); 1085s # #endif 1085s # } 1085s # g_variant_iter_init (&iter, parameters); 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1085s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1085s # if (!g_value_get_boolean (&return_value)) 1085s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1085s # g_value_unset (&return_value); 1085s # for (n = 0; n < num_params + num_extra; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static GVariant * 1085s # _org_project_useful_interface_skeleton_handle_get_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # GVariant *ret; 1085s # ret = NULL; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # g_value_init (&value, pspec->value_type); 1085s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1085s # g_value_unset (&value); 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _org_project_useful_interface_skeleton_handle_set_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GVariant *variant, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # gboolean ret; 1085s # ret = FALSE; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # if (info->use_gvariant) 1085s # g_value_set_variant (&value, variant); 1085s # else 1085s # g_dbus_gvariant_to_gvalue (variant, &value); 1085s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # g_value_unset (&value); 1085s # ret = TRUE; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1085s # { 1085s # _org_project_useful_interface_skeleton_handle_method_call, 1085s # _org_project_useful_interface_skeleton_handle_get_property, 1085s # _org_project_useful_interface_skeleton_handle_set_property, 1085s # {NULL} 1085s # }; 1085s # 1085s # static GDBusInterfaceInfo * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return org_project_useful_interface_interface_info (); 1085s # } 1085s # 1085s # static GDBusInterfaceVTable * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1085s # } 1085s # 1085s # static GVariant * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1085s # 1085s # GVariantBuilder builder; 1085s # guint n; 1085s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1085s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1085s # goto out; 1085s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1085s # { 1085s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1085s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1085s # { 1085s # GVariant *value; 1085s # 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); 1085s # if (value != NULL) 1085s # { 1085s # g_variant_take_ref (value); 1085s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1085s # g_variant_unref (value); 1085s # } 1085s # } 1085s # } 1085s # out: 1085s # return g_variant_builder_end (&builder); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_skeleton_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1085s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1085s # if (skeleton->priv->changed_properties_idle_source != NULL) 1085s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1085s # g_main_context_unref (skeleton->priv->context); 1085s # g_mutex_clear (&skeleton->priv->lock); 1085s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1085s # #else 1085s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1085s # #endif 1085s # 1085s # g_mutex_init (&skeleton->priv->lock); 1085s # skeleton->priv->context = g_main_context_ref_thread_default (); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusInterfaceSkeletonClass *skeleton_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1085s # 1085s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1085s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1085s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1085s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1085s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_skeleton_new: 1085s # * 1085s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_skeleton_new (void) 1085s # { 1085s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1085s # } 1085s # /tmp/tmpdp4giqbp/tmpu488qq28.xml: 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdp4giqbp/tmpu488qq28.xml', '--output', '-', '--body'] 1085s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1085s # Output: /* 1085s # * This file is generated by gdbus-codegen, do not modify it. 1085s # * 1085s # * The license of this code is the same as for the D-Bus interface description 1085s # * it was derived from. Note that it links to GLib, so must comply with the 1085s # * LGPL linking clauses. 1085s # */ 1085s # 1085s # #ifdef HAVE_CONFIG_H 1085s # # include "config.h" 1085s # #endif 1085s # 1085s # #include 1085s # #ifdef G_OS_UNIX 1085s # # include 1085s # #endif 1085s # 1085s # #ifdef G_ENABLE_DEBUG 1085s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1085s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1085s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1085s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1085s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1085s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1085s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1085s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1085s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1085s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1085s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1085s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1085s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1085s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1085s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1085s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1085s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1085s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1085s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1085s # #else /* !G_ENABLE_DEBUG */ 1085s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1085s # * Do not access GValues directly in your code. Instead, use the 1085s # * g_value_get_*() functions 1085s # */ 1085s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1085s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1085s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1085s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1085s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1085s # #endif /* !G_ENABLE_DEBUG */ 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusArgInfo parent_struct; 1085s # gboolean use_gvariant; 1085s # } _ExtendedGDBusArgInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusMethodInfo parent_struct; 1085s # const gchar *signal_name; 1085s # gboolean pass_fdlist; 1085s # } _ExtendedGDBusMethodInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusSignalInfo parent_struct; 1085s # const gchar *signal_name; 1085s # } _ExtendedGDBusSignalInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusPropertyInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # guint use_gvariant : 1; 1085s # guint emits_changed_signal : 1; 1085s # } _ExtendedGDBusPropertyInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusInterfaceInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # } _ExtendedGDBusInterfaceInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # const _ExtendedGDBusPropertyInfo *info; 1085s # guint prop_id; 1085s # GValue orig_value; /* the value before the change */ 1085s # } ChangedProperty; 1085s # 1085s # static void 1085s # _changed_property_free (ChangedProperty *data) 1085s # { 1085s # g_value_unset (&data->orig_value); 1085s # g_free (data); 1085s # } 1085s # 1085s # static gboolean 1085s # _g_strv_equal0 (gchar **a, gchar **b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # guint n; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # if (g_strv_length (a) != g_strv_length (b)) 1085s # goto out; 1085s # for (n = 0; a[n] != NULL; n++) 1085s # if (g_strcmp0 (a[n], b[n]) != 0) 1085s # goto out; 1085s # ret = TRUE; 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _g_variant_equal0 (GVariant *a, GVariant *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # ret = g_variant_equal (a, b); 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # G_GNUC_UNUSED static gboolean 1085s # _g_value_equal (const GValue *a, const GValue *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1085s # switch (G_VALUE_TYPE (a)) 1085s # { 1085s # case G_TYPE_BOOLEAN: 1085s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1085s # break; 1085s # case G_TYPE_UCHAR: 1085s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1085s # break; 1085s # case G_TYPE_INT: 1085s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1085s # break; 1085s # case G_TYPE_UINT: 1085s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1085s # break; 1085s # case G_TYPE_INT64: 1085s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1085s # break; 1085s # case G_TYPE_UINT64: 1085s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1085s # break; 1085s # case G_TYPE_DOUBLE: 1085s # { 1085s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1085s # gdouble da = g_value_get_double (a); 1085s # gdouble db = g_value_get_double (b); 1085s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1085s # } 1085s # break; 1085s # case G_TYPE_STRING: 1085s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1085s # break; 1085s # case G_TYPE_VARIANT: 1085s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1085s # break; 1085s # default: 1085s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1085s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1085s # else 1085s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1085s # break; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static void 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint G_GNUC_UNUSED, 1085s # void *marshal_data) 1085s # { 1085s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1085s # (void *data1, 1085s # GDBusMethodInvocation *arg_method_invocation, 1085s # const gchar *arg_arg_ay, 1085s # void *data2); 1085s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1085s # GCClosure *cc = (GCClosure*) closure; 1085s # void *data1, *data2; 1085s # gboolean v_return; 1085s # 1085s # g_return_if_fail (return_value != NULL); 1085s # g_return_if_fail (n_param_values == 3); 1085s # 1085s # if (G_CCLOSURE_SWAP_DATA (closure)) 1085s # { 1085s # data1 = closure->data; 1085s # data2 = g_value_peek_pointer (param_values + 0); 1085s # } 1085s # else 1085s # { 1085s # data1 = g_value_peek_pointer (param_values + 0); 1085s # data2 = closure->data; 1085s # } 1085s # 1085s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1085s # (marshal_data ? marshal_data : cc->callback); 1085s # 1085s # v_return = 1085s # callback (data1, 1085s # g_marshal_value_peek_object (param_values + 1), 1085s # g_marshal_value_peek_string (param_values + 2), 1085s # data2); 1085s # 1085s # g_value_set_boolean (return_value, v_return); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ 1085s # * Code for interface org.project.UsefulInterface 1085s # * ------------------------------------------------------------------------ 1085s # */ 1085s # 1085s # /** 1085s # * SECTION:OrgProjectUsefulInterface 1085s # * @title: OrgProjectUsefulInterface 1085s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1085s # * 1085s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1085s # */ 1085s # 1085s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1085s # 1085s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "arg_ay", 1085s # (gchar *) "ay", 1085s # NULL 1085s # }, 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "SingleArgMethodAy", 1085s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "handle-single-arg-method-ay", 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "org.project.UsefulInterface", 1085s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1085s # NULL, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "org-project-useful-interface", 1085s # }; 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_interface_info: 1085s # * 1085s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1085s # * 1085s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1085s # */ 1085s # GDBusInterfaceInfo * 1085s # org_project_useful_interface_interface_info (void) 1085s # { 1085s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_override_properties: 1085s # * @klass: The class structure for a #GObject derived class. 1085s # * @property_id_begin: The property id to assign to the first overridden property. 1085s # * 1085s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1085s # * The properties are overridden in the order they are defined. 1085s # * 1085s # * Returns: The last property id. 1085s # */ 1085s # guint 1085s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1085s # { 1085s # return property_id_begin - 1; 1085s # } 1085s # 1085s # 1085s # inline static void 1085s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint, 1085s # void *marshal_data) 1085s # { 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1085s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1085s # } 1085s # 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterface: 1085s # * 1085s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceIface: 1085s # * @parent_iface: The parent interface. 1085s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1085s # * 1085s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1085s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1085s # 1085s # static void 1085s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1085s # { 1085s # /* GObject signals for incoming D-Bus method calls: */ 1085s # /** 1085s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: A #GDBusMethodInvocation. 1085s # * @arg_arg_ay: Argument passed by remote caller. 1085s # * 1085s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1085s # * 1085s # * 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. 1085s # * 1085s # * 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. 1085s # */ 1085s # g_signal_new ("handle-single-arg-method-ay", 1085s # G_TYPE_FROM_INTERFACE (iface), 1085s # G_SIGNAL_RUN_LAST, 1085s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1085s # g_signal_accumulator_true_handled, 1085s # NULL, 1085s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1085s # G_TYPE_BOOLEAN, 1085s # 2, 1085s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1085s # 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_ay: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_ay: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1085s # */ 1085s # void 1085s # org_project_useful_interface_call_single_arg_method_ay ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # const gchar *arg_arg_ay, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodAy", 1085s # g_variant_new ("(^ay)", 1085s # arg_arg_ay), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # callback, 1085s # user_data); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_ay: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # const gchar *arg_arg_ay, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodAy", 1085s # g_variant_new ("(^ay)", 1085s # arg_arg_ay), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_complete_single_arg_method_ay: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1085s # * 1085s # * 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. 1085s # * 1085s # * This method will free @invocation, you cannot use it afterwards. 1085s # */ 1085s # void 1085s # org_project_useful_interface_complete_single_arg_method_ay ( 1085s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1085s # GDBusMethodInvocation *invocation) 1085s # { 1085s # g_dbus_method_invocation_return_value (invocation, 1085s # g_variant_new ("()")); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxy: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxyClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceProxyPrivate 1085s # { 1085s # GData *qdata; 1085s # }; 1085s # 1085s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_proxy_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1085s # g_datalist_clear (&proxy->priv->qdata); 1085s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # const GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1085s # const gchar *sender_name G_GNUC_UNUSED, 1085s # const gchar *signal_name, 1085s # GVariant *parameters) 1085s # { 1085s # _ExtendedGDBusSignalInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # gsize n; 1085s # guint signal_id; 1085s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1085s # if (info == NULL) 1085s # return; 1085s # num_params = g_variant_n_children (parameters); 1085s # paramv = g_new0 (GValue, num_params + 1); 1085s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[0], proxy); 1085s # g_variant_iter_init (&iter, parameters); 1085s # n = 1; 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_signal_emitv (paramv, signal_id, 0, NULL); 1085s # for (n = 0; n < num_params + 1; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1085s # GVariant *changed_properties, 1085s # const gchar *const *invalidated_properties) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1085s # guint n; 1085s # const gchar *key; 1085s # GVariantIter *iter; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # g_variant_get (changed_properties, "a{sv}", &iter); 1085s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1085s # g_datalist_remove_data (&proxy->priv->qdata, key); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # g_variant_iter_free (iter); 1085s # for (n = 0; invalidated_properties[n] != NULL; n++) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1085s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1085s # #else 1085s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1085s # #endif 1085s # 1085s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusProxyClass *proxy_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1085s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1085s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1085s # 1085s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1085s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1085s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_sync: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_sync ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new_for_bus ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_sync: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_sync ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeleton: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeletonClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1085s # { 1085s # GValue *properties; 1085s # GList *changed_properties; 1085s # GSource *changed_properties_idle_source; 1085s # GMainContext *context; 1085s # GMutex lock; 1085s # }; 1085s # 1085s # static void 1085s # _org_project_useful_interface_skeleton_handle_method_call ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name, 1085s # const gchar *method_name, 1085s # GVariant *parameters, 1085s # GDBusMethodInvocation *invocation, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # _ExtendedGDBusMethodInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # guint num_extra; 1085s # gsize n; 1085s # guint signal_id; 1085s # GValue return_value = G_VALUE_INIT; 1085s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1085s # g_assert (info != NULL); 1085s # num_params = g_variant_n_children (parameters); 1085s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1085s # n = 0; 1085s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[n++], skeleton); 1085s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1085s # g_value_set_object (¶mv[n++], invocation); 1085s # if (info->pass_fdlist) 1085s # { 1085s # #ifdef G_OS_UNIX 1085s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1085s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1085s # #else 1085s # g_assert_not_reached (); 1085s # #endif 1085s # } 1085s # g_variant_iter_init (&iter, parameters); 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1085s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1085s # if (!g_value_get_boolean (&return_value)) 1085s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1085s # g_value_unset (&return_value); 1085s # for (n = 0; n < num_params + num_extra; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static GVariant * 1085s # _org_project_useful_interface_skeleton_handle_get_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # GVariant *ret; 1085s # ret = NULL; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # g_value_init (&value, pspec->value_type); 1085s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1085s # g_value_unset (&value); 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _org_project_useful_interface_skeleton_handle_set_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GVariant *variant, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # gboolean ret; 1085s # ret = FALSE; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # if (info->use_gvariant) 1085s # g_value_set_variant (&value, variant); 1085s # else 1085s # g_dbus_gvariant_to_gvalue (variant, &value); 1085s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # g_value_unset (&value); 1085s # ret = TRUE; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1085s # { 1085s # _org_project_useful_interface_skeleton_handle_method_call, 1085s # _org_project_useful_interface_skeleton_handle_get_property, 1085s # _org_project_useful_interface_skeleton_handle_set_property, 1085s # {NULL} 1085s # }; 1085s # 1085s # static GDBusInterfaceInfo * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return org_project_useful_interface_interface_info (); 1085s # } 1085s # 1085s # static GDBusInterfaceVTable * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1085s # } 1085s # 1085s # static GVariant * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1085s # 1085s # GVariantBuilder builder; 1085s # guint n; 1085s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1085s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1085s # goto out; 1085s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1085s # { 1085s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1085s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1085s # { 1085s # GVariant *value; 1085s # 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); 1085s # if (value != NULL) 1085s # { 1085s # g_variant_take_ref (value); 1085s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1085s # g_variant_unref (value); 1085s # } 1085s # } 1085s # } 1085s # out: 1085s # return g_variant_builder_end (&builder); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_skeleton_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1085s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1085s # if (skeleton->priv->changed_properties_idle_source != NULL) 1085s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1085s # g_main_context_unref (skeleton->priv->context); 1085s # g_mutex_clear (&skeleton->priv->lock); 1085s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1085s # #else 1085s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1085s # #endif 1085s # 1085s # g_mutex_init (&skeleton->priv->lock); 1085s # skeleton->priv->context = g_main_context_ref_thread_default (); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusInterfaceSkeletonClass *skeleton_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1085s # 1085s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1085s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1085s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1085s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1085s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_skeleton_new: 1085s # * 1085s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_skeleton_new (void) 1085s # { 1085s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1085s # } 1085s # /tmp/tmpdp4giqbp/tmpza38nz5n.xml: 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdp4giqbp/tmpza38nz5n.xml', '--output', '-', '--body'] 1085s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1085s # Output: /* 1085s # * This file is generated by gdbus-codegen, do not modify it. 1085s # * 1085s # * The license of this code is the same as for the D-Bus interface description 1085s # * it was derived from. Note that it links to GLib, so must comply with the 1085s # * LGPL linking clauses. 1085s # */ 1085s # 1085s # #ifdef HAVE_CONFIG_H 1085s # # include "config.h" 1085s # #endif 1085s # 1085s # #include 1085s # #ifdef G_OS_UNIX 1085s # # include 1085s # #endif 1085s # 1085s # #ifdef G_ENABLE_DEBUG 1085s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1085s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1085s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1085s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1085s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1085s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1085s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1085s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1085s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1085s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1085s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1085s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1085s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1085s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1085s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1085s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1085s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1085s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1085s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1085s # #else /* !G_ENABLE_DEBUG */ 1085s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1085s # * Do not access GValues directly in your code. Instead, use the 1085s # * g_value_get_*() functions 1085s # */ 1085s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1085s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1085s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1085s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1085s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1085s # #endif /* !G_ENABLE_DEBUG */ 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusArgInfo parent_struct; 1085s # gboolean use_gvariant; 1085s # } _ExtendedGDBusArgInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusMethodInfo parent_struct; 1085s # const gchar *signal_name; 1085s # gboolean pass_fdlist; 1085s # } _ExtendedGDBusMethodInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusSignalInfo parent_struct; 1085s # const gchar *signal_name; 1085s # } _ExtendedGDBusSignalInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusPropertyInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # guint use_gvariant : 1; 1085s # guint emits_changed_signal : 1; 1085s # } _ExtendedGDBusPropertyInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusInterfaceInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # } _ExtendedGDBusInterfaceInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # const _ExtendedGDBusPropertyInfo *info; 1085s # guint prop_id; 1085s # GValue orig_value; /* the value before the change */ 1085s # } ChangedProperty; 1085s # 1085s # static void 1085s # _changed_property_free (ChangedProperty *data) 1085s # { 1085s # g_value_unset (&data->orig_value); 1085s # g_free (data); 1085s # } 1085s # 1085s # static gboolean 1085s # _g_strv_equal0 (gchar **a, gchar **b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # guint n; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # if (g_strv_length (a) != g_strv_length (b)) 1085s # goto out; 1085s # for (n = 0; a[n] != NULL; n++) 1085s # if (g_strcmp0 (a[n], b[n]) != 0) 1085s # goto out; 1085s # ret = TRUE; 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _g_variant_equal0 (GVariant *a, GVariant *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # ret = g_variant_equal (a, b); 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # G_GNUC_UNUSED static gboolean 1085s # _g_value_equal (const GValue *a, const GValue *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1085s # switch (G_VALUE_TYPE (a)) 1085s # { 1085s # case G_TYPE_BOOLEAN: 1085s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1085s # break; 1085s # case G_TYPE_UCHAR: 1085s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1085s # break; 1085s # case G_TYPE_INT: 1085s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1085s # break; 1085s # case G_TYPE_UINT: 1085s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1085s # break; 1085s # case G_TYPE_INT64: 1085s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1085s # break; 1085s # case G_TYPE_UINT64: 1085s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1085s # break; 1085s # case G_TYPE_DOUBLE: 1085s # { 1085s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1085s # gdouble da = g_value_get_double (a); 1085s # gdouble db = g_value_get_double (b); 1085s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1085s # } 1085s # break; 1085s # case G_TYPE_STRING: 1085s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1085s # break; 1085s # case G_TYPE_VARIANT: 1085s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1085s # break; 1085s # default: 1085s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1085s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1085s # else 1085s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1085s # break; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static void 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint G_GNUC_UNUSED, 1085s # void *marshal_data) 1085s # { 1085s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1085s # (void *data1, 1085s # GDBusMethodInvocation *arg_method_invocation, 1085s # const gchar *const *arg_arg_as, 1085s # void *data2); 1085s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1085s # GCClosure *cc = (GCClosure*) closure; 1085s # void *data1, *data2; 1085s # gboolean v_return; 1085s # 1085s # g_return_if_fail (return_value != NULL); 1085s # g_return_if_fail (n_param_values == 3); 1085s # 1085s # if (G_CCLOSURE_SWAP_DATA (closure)) 1085s # { 1085s # data1 = closure->data; 1085s # data2 = g_value_peek_pointer (param_values + 0); 1085s # } 1085s # else 1085s # { 1085s # data1 = g_value_peek_pointer (param_values + 0); 1085s # data2 = closure->data; 1085s # } 1085s # 1085s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1085s # (marshal_data ? marshal_data : cc->callback); 1085s # 1085s # v_return = 1085s # callback (data1, 1085s # g_marshal_value_peek_object (param_values + 1), 1085s # g_marshal_value_peek_boxed (param_values + 2), 1085s # data2); 1085s # 1085s # g_value_set_boolean (return_value, v_return); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ 1085s # * Code for interface org.project.UsefulInterface 1085s # * ------------------------------------------------------------------------ 1085s # */ 1085s # 1085s # /** 1085s # * SECTION:OrgProjectUsefulInterface 1085s # * @title: OrgProjectUsefulInterface 1085s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1085s # * 1085s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1085s # */ 1085s # 1085s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1085s # 1085s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "arg_as", 1085s # (gchar *) "as", 1085s # NULL 1085s # }, 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "SingleArgMethodAs", 1085s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "handle-single-arg-method-as", 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "org.project.UsefulInterface", 1085s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1085s # NULL, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "org-project-useful-interface", 1085s # }; 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_interface_info: 1085s # * 1085s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1085s # * 1085s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1085s # */ 1085s # GDBusInterfaceInfo * 1085s # org_project_useful_interface_interface_info (void) 1085s # { 1085s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_override_properties: 1085s # * @klass: The class structure for a #GObject derived class. 1085s # * @property_id_begin: The property id to assign to the first overridden property. 1085s # * 1085s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1085s # * The properties are overridden in the order they are defined. 1085s # * 1085s # * Returns: The last property id. 1085s # */ 1085s # guint 1085s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1085s # { 1085s # return property_id_begin - 1; 1085s # } 1085s # 1085s # 1085s # inline static void 1085s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint, 1085s # void *marshal_data) 1085s # { 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1085s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1085s # } 1085s # 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterface: 1085s # * 1085s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceIface: 1085s # * @parent_iface: The parent interface. 1085s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1085s # * 1085s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1085s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1085s # 1085s # static void 1085s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1085s # { 1085s # /* GObject signals for incoming D-Bus method calls: */ 1085s # /** 1085s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: A #GDBusMethodInvocation. 1085s # * @arg_arg_as: Argument passed by remote caller. 1085s # * 1085s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1085s # * 1085s # * 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. 1085s # * 1085s # * 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. 1085s # */ 1085s # g_signal_new ("handle-single-arg-method-as", 1085s # G_TYPE_FROM_INTERFACE (iface), 1085s # G_SIGNAL_RUN_LAST, 1085s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1085s # g_signal_accumulator_true_handled, 1085s # NULL, 1085s # org_project_useful_interface_method_marshal_single_arg_method_as, 1085s # G_TYPE_BOOLEAN, 1085s # 2, 1085s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1085s # 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_as: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_as: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1085s # */ 1085s # void 1085s # org_project_useful_interface_call_single_arg_method_as ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # const gchar *const *arg_arg_as, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodAs", 1085s # g_variant_new ("(^as)", 1085s # arg_arg_as), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # callback, 1085s # user_data); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_as_finish: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_as_finish ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_as_sync: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_as: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_as_sync ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # const gchar *const *arg_arg_as, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodAs", 1085s # g_variant_new ("(^as)", 1085s # arg_arg_as), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_complete_single_arg_method_as: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1085s # * 1085s # * 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. 1085s # * 1085s # * This method will free @invocation, you cannot use it afterwards. 1085s # */ 1085s # void 1085s # org_project_useful_interface_complete_single_arg_method_as ( 1085s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1085s # GDBusMethodInvocation *invocation) 1085s # { 1085s # g_dbus_method_invocation_return_value (invocation, 1085s # g_variant_new ("()")); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxy: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxyClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceProxyPrivate 1085s # { 1085s # GData *qdata; 1085s # }; 1085s # 1085s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_proxy_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1085s # g_datalist_clear (&proxy->priv->qdata); 1085s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # const GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1085s # const gchar *sender_name G_GNUC_UNUSED, 1085s # const gchar *signal_name, 1085s # GVariant *parameters) 1085s # { 1085s # _ExtendedGDBusSignalInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # gsize n; 1085s # guint signal_id; 1085s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1085s # if (info == NULL) 1085s # return; 1085s # num_params = g_variant_n_children (parameters); 1085s # paramv = g_new0 (GValue, num_params + 1); 1085s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[0], proxy); 1085s # g_variant_iter_init (&iter, parameters); 1085s # n = 1; 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_signal_emitv (paramv, signal_id, 0, NULL); 1085s # for (n = 0; n < num_params + 1; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1085s # GVariant *changed_properties, 1085s # const gchar *const *invalidated_properties) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1085s # guint n; 1085s # const gchar *key; 1085s # GVariantIter *iter; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # g_variant_get (changed_properties, "a{sv}", &iter); 1085s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1085s # g_datalist_remove_data (&proxy->priv->qdata, key); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # g_variant_iter_free (iter); 1085s # for (n = 0; invalidated_properties[n] != NULL; n++) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1085s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1085s # #else 1085s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1085s # #endif 1085s # 1085s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusProxyClass *proxy_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1085s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1085s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1085s # 1085s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1085s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1085s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_sync: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_sync ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new_for_bus ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_sync: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_sync ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeleton: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeletonClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1085s # { 1085s # GValue *properties; 1085s # GList *changed_properties; 1085s # GSource *changed_properties_idle_source; 1085s # GMainContext *context; 1085s # GMutex lock; 1085s # }; 1085s # 1085s # static void 1085s # _org_project_useful_interface_skeleton_handle_method_call ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name, 1085s # const gchar *method_name, 1085s # GVariant *parameters, 1085s # GDBusMethodInvocation *invocation, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # _ExtendedGDBusMethodInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # guint num_extra; 1085s # gsize n; 1085s # guint signal_id; 1085s # GValue return_value = G_VALUE_INIT; 1085s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1085s # g_assert (info != NULL); 1085s # num_params = g_variant_n_children (parameters); 1085s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1085s # n = 0; 1085s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[n++], skeleton); 1085s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1085s # g_value_set_object (¶mv[n++], invocation); 1085s # if (info->pass_fdlist) 1085s # { 1085s # #ifdef G_OS_UNIX 1085s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1085s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1085s # #else 1085s # g_assert_not_reached (); 1085s # #endif 1085s # } 1085s # g_variant_iter_init (&iter, parameters); 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1085s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1085s # if (!g_value_get_boolean (&return_value)) 1085s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1085s # g_value_unset (&return_value); 1085s # for (n = 0; n < num_params + num_extra; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static GVariant * 1085s # _org_project_useful_interface_skeleton_handle_get_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # GVariant *ret; 1085s # ret = NULL; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # g_value_init (&value, pspec->value_type); 1085s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1085s # g_value_unset (&value); 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _org_project_useful_interface_skeleton_handle_set_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GVariant *variant, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # gboolean ret; 1085s # ret = FALSE; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # if (info->use_gvariant) 1085s # g_value_set_variant (&value, variant); 1085s # else 1085s # g_dbus_gvariant_to_gvalue (variant, &value); 1085s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # g_value_unset (&value); 1085s # ret = TRUE; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1085s # { 1085s # _org_project_useful_interface_skeleton_handle_method_call, 1085s # _org_project_useful_interface_skeleton_handle_get_property, 1085s # _org_project_useful_interface_skeleton_handle_set_property, 1085s # {NULL} 1085s # }; 1085s # 1085s # static GDBusInterfaceInfo * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return org_project_useful_interface_interface_info (); 1085s # } 1085s # 1085s # static GDBusInterfaceVTable * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1085s # } 1085s # 1085s # static GVariant * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1085s # 1085s # GVariantBuilder builder; 1085s # guint n; 1085s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1085s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1085s # goto out; 1085s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1085s # { 1085s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1085s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1085s # { 1085s # GVariant *value; 1085s # 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); 1085s # if (value != NULL) 1085s # { 1085s # g_variant_take_ref (value); 1085s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1085s # g_variant_unref (value); 1085s # } 1085s # } 1085s # } 1085s # out: 1085s # return g_variant_builder_end (&builder); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_skeleton_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1085s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1085s # if (skeleton->priv->changed_properties_idle_source != NULL) 1085s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1085s # g_main_context_unref (skeleton->priv->context); 1085s # g_mutex_clear (&skeleton->priv->lock); 1085s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1085s # #else 1085s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1085s # #endif 1085s # 1085s # g_mutex_init (&skeleton->priv->lock); 1085s # skeleton->priv->context = g_main_context_ref_thread_default (); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusInterfaceSkeletonClass *skeleton_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1085s # 1085s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1085s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1085s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1085s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1085s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_skeleton_new: 1085s # * 1085s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_skeleton_new (void) 1085s # { 1085s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1085s # } 1085s # /tmp/tmpdp4giqbp/tmpwbkqh1s4.xml: 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdp4giqbp/tmpwbkqh1s4.xml', '--output', '-', '--body'] 1085s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1085s # Output: /* 1085s # * This file is generated by gdbus-codegen, do not modify it. 1085s # * 1085s # * The license of this code is the same as for the D-Bus interface description 1085s # * it was derived from. Note that it links to GLib, so must comply with the 1085s # * LGPL linking clauses. 1085s # */ 1085s # 1085s # #ifdef HAVE_CONFIG_H 1085s # # include "config.h" 1085s # #endif 1085s # 1085s # #include 1085s # #ifdef G_OS_UNIX 1085s # # include 1085s # #endif 1085s # 1085s # #ifdef G_ENABLE_DEBUG 1085s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1085s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1085s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1085s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1085s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1085s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1085s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1085s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1085s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1085s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1085s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1085s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1085s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1085s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1085s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1085s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1085s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1085s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1085s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1085s # #else /* !G_ENABLE_DEBUG */ 1085s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1085s # * Do not access GValues directly in your code. Instead, use the 1085s # * g_value_get_*() functions 1085s # */ 1085s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1085s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1085s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1085s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1085s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1085s # #endif /* !G_ENABLE_DEBUG */ 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusArgInfo parent_struct; 1085s # gboolean use_gvariant; 1085s # } _ExtendedGDBusArgInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusMethodInfo parent_struct; 1085s # const gchar *signal_name; 1085s # gboolean pass_fdlist; 1085s # } _ExtendedGDBusMethodInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusSignalInfo parent_struct; 1085s # const gchar *signal_name; 1085s # } _ExtendedGDBusSignalInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusPropertyInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # guint use_gvariant : 1; 1085s # guint emits_changed_signal : 1; 1085s # } _ExtendedGDBusPropertyInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusInterfaceInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # } _ExtendedGDBusInterfaceInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # const _ExtendedGDBusPropertyInfo *info; 1085s # guint prop_id; 1085s # GValue orig_value; /* the value before the change */ 1085s # } ChangedProperty; 1085s # 1085s # static void 1085s # _changed_property_free (ChangedProperty *data) 1085s # { 1085s # g_value_unset (&data->orig_value); 1085s # g_free (data); 1085s # } 1085s # 1085s # static gboolean 1085s # _g_strv_equal0 (gchar **a, gchar **b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # guint n; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # if (g_strv_length (a) != g_strv_length (b)) 1085s # goto out; 1085s # for (n = 0; a[n] != NULL; n++) 1085s # if (g_strcmp0 (a[n], b[n]) != 0) 1085s # goto out; 1085s # ret = TRUE; 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _g_variant_equal0 (GVariant *a, GVariant *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # ret = g_variant_equal (a, b); 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # G_GNUC_UNUSED static gboolean 1085s # _g_value_equal (const GValue *a, const GValue *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1085s # switch (G_VALUE_TYPE (a)) 1085s # { 1085s # case G_TYPE_BOOLEAN: 1085s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1085s # break; 1085s # case G_TYPE_UCHAR: 1085s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1085s # break; 1085s # case G_TYPE_INT: 1085s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1085s # break; 1085s # case G_TYPE_UINT: 1085s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1085s # break; 1085s # case G_TYPE_INT64: 1085s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1085s # break; 1085s # case G_TYPE_UINT64: 1085s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1085s # break; 1085s # case G_TYPE_DOUBLE: 1085s # { 1085s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1085s # gdouble da = g_value_get_double (a); 1085s # gdouble db = g_value_get_double (b); 1085s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1085s # } 1085s # break; 1085s # case G_TYPE_STRING: 1085s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1085s # break; 1085s # case G_TYPE_VARIANT: 1085s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1085s # break; 1085s # default: 1085s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1085s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1085s # else 1085s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1085s # break; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static void 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint G_GNUC_UNUSED, 1085s # void *marshal_data) 1085s # { 1085s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1085s # (void *data1, 1085s # GDBusMethodInvocation *arg_method_invocation, 1085s # const gchar *const *arg_arg_ao, 1085s # void *data2); 1085s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1085s # GCClosure *cc = (GCClosure*) closure; 1085s # void *data1, *data2; 1085s # gboolean v_return; 1085s # 1085s # g_return_if_fail (return_value != NULL); 1085s # g_return_if_fail (n_param_values == 3); 1085s # 1085s # if (G_CCLOSURE_SWAP_DATA (closure)) 1085s # { 1085s # data1 = closure->data; 1085s # data2 = g_value_peek_pointer (param_values + 0); 1085s # } 1085s # else 1085s # { 1085s # data1 = g_value_peek_pointer (param_values + 0); 1085s # data2 = closure->data; 1085s # } 1085s # 1085s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1085s # (marshal_data ? marshal_data : cc->callback); 1085s # 1085s # v_return = 1085s # callback (data1, 1085s # g_marshal_value_peek_object (param_values + 1), 1085s # g_marshal_value_peek_boxed (param_values + 2), 1085s # data2); 1085s # 1085s # g_value_set_boolean (return_value, v_return); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ 1085s # * Code for interface org.project.UsefulInterface 1085s # * ------------------------------------------------------------------------ 1085s # */ 1085s # 1085s # /** 1085s # * SECTION:OrgProjectUsefulInterface 1085s # * @title: OrgProjectUsefulInterface 1085s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1085s # * 1085s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1085s # */ 1085s # 1085s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1085s # 1085s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "arg_ao", 1085s # (gchar *) "ao", 1085s # NULL 1085s # }, 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "SingleArgMethodAo", 1085s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "handle-single-arg-method-ao", 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "org.project.UsefulInterface", 1085s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1085s # NULL, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "org-project-useful-interface", 1085s # }; 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_interface_info: 1085s # * 1085s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1085s # * 1085s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1085s # */ 1085s # GDBusInterfaceInfo * 1085s # org_project_useful_interface_interface_info (void) 1085s # { 1085s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_override_properties: 1085s # * @klass: The class structure for a #GObject derived class. 1085s # * @property_id_begin: The property id to assign to the first overridden property. 1085s # * 1085s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1085s # * The properties are overridden in the order they are defined. 1085s # * 1085s # * Returns: The last property id. 1085s # */ 1085s # guint 1085s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1085s # { 1085s # return property_id_begin - 1; 1085s # } 1085s # 1085s # 1085s # inline static void 1085s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint, 1085s # void *marshal_data) 1085s # { 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1085s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1085s # } 1085s # 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterface: 1085s # * 1085s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceIface: 1085s # * @parent_iface: The parent interface. 1085s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1085s # * 1085s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1085s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1085s # 1085s # static void 1085s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1085s # { 1085s # /* GObject signals for incoming D-Bus method calls: */ 1085s # /** 1085s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: A #GDBusMethodInvocation. 1085s # * @arg_arg_ao: Argument passed by remote caller. 1085s # * 1085s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1085s # * 1085s # * 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. 1085s # * 1085s # * 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. 1085s # */ 1085s # g_signal_new ("handle-single-arg-method-ao", 1085s # G_TYPE_FROM_INTERFACE (iface), 1085s # G_SIGNAL_RUN_LAST, 1085s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1085s # g_signal_accumulator_true_handled, 1085s # NULL, 1085s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1085s # G_TYPE_BOOLEAN, 1085s # 2, 1085s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1085s # 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_ao: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_ao: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1085s # */ 1085s # void 1085s # org_project_useful_interface_call_single_arg_method_ao ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # const gchar *const *arg_arg_ao, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodAo", 1085s # g_variant_new ("(^ao)", 1085s # arg_arg_ao), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # callback, 1085s # user_data); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_ao: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # const gchar *const *arg_arg_ao, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodAo", 1085s # g_variant_new ("(^ao)", 1085s # arg_arg_ao), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_complete_single_arg_method_ao: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1085s # * 1085s # * 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. 1085s # * 1085s # * This method will free @invocation, you cannot use it afterwards. 1085s # */ 1085s # void 1085s # org_project_useful_interface_complete_single_arg_method_ao ( 1085s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1085s # GDBusMethodInvocation *invocation) 1085s # { 1085s # g_dbus_method_invocation_return_value (invocation, 1085s # g_variant_new ("()")); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxy: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxyClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceProxyPrivate 1085s # { 1085s # GData *qdata; 1085s # }; 1085s # 1085s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_proxy_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1085s # g_datalist_clear (&proxy->priv->qdata); 1085s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # const GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1085s # const gchar *sender_name G_GNUC_UNUSED, 1085s # const gchar *signal_name, 1085s # GVariant *parameters) 1085s # { 1085s # _ExtendedGDBusSignalInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # gsize n; 1085s # guint signal_id; 1085s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1085s # if (info == NULL) 1085s # return; 1085s # num_params = g_variant_n_children (parameters); 1085s # paramv = g_new0 (GValue, num_params + 1); 1085s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[0], proxy); 1085s # g_variant_iter_init (&iter, parameters); 1085s # n = 1; 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_signal_emitv (paramv, signal_id, 0, NULL); 1085s # for (n = 0; n < num_params + 1; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1085s # GVariant *changed_properties, 1085s # const gchar *const *invalidated_properties) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1085s # guint n; 1085s # const gchar *key; 1085s # GVariantIter *iter; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # g_variant_get (changed_properties, "a{sv}", &iter); 1085s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1085s # g_datalist_remove_data (&proxy->priv->qdata, key); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # g_variant_iter_free (iter); 1085s # for (n = 0; invalidated_properties[n] != NULL; n++) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1085s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1085s # #else 1085s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1085s # #endif 1085s # 1085s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusProxyClass *proxy_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1085s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1085s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1085s # 1085s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1085s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1085s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_sync: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_sync ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new_for_bus ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_sync: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_sync ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeleton: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeletonClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1085s # { 1085s # GValue *properties; 1085s # GList *changed_properties; 1085s # GSource *changed_properties_idle_source; 1085s # GMainContext *context; 1085s # GMutex lock; 1085s # }; 1085s # 1085s # static void 1085s # _org_project_useful_interface_skeleton_handle_method_call ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name, 1085s # const gchar *method_name, 1085s # GVariant *parameters, 1085s # GDBusMethodInvocation *invocation, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # _ExtendedGDBusMethodInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # guint num_extra; 1085s # gsize n; 1085s # guint signal_id; 1085s # GValue return_value = G_VALUE_INIT; 1085s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1085s # g_assert (info != NULL); 1085s # num_params = g_variant_n_children (parameters); 1085s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1085s # n = 0; 1085s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[n++], skeleton); 1085s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1085s # g_value_set_object (¶mv[n++], invocation); 1085s # if (info->pass_fdlist) 1085s # { 1085s # #ifdef G_OS_UNIX 1085s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1085s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1085s # #else 1085s # g_assert_not_reached (); 1085s # #endif 1085s # } 1085s # g_variant_iter_init (&iter, parameters); 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1085s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1085s # if (!g_value_get_boolean (&return_value)) 1085s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1085s # g_value_unset (&return_value); 1085s # for (n = 0; n < num_params + num_extra; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static GVariant * 1085s # _org_project_useful_interface_skeleton_handle_get_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # GVariant *ret; 1085s # ret = NULL; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # g_value_init (&value, pspec->value_type); 1085s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1085s # g_value_unset (&value); 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _org_project_useful_interface_skeleton_handle_set_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GVariant *variant, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # gboolean ret; 1085s # ret = FALSE; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # if (info->use_gvariant) 1085s # g_value_set_variant (&value, variant); 1085s # else 1085s # g_dbus_gvariant_to_gvalue (variant, &value); 1085s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # g_value_unset (&value); 1085s # ret = TRUE; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1085s # { 1085s # _org_project_useful_interface_skeleton_handle_method_call, 1085s # _org_project_useful_interface_skeleton_handle_get_property, 1085s # _org_project_useful_interface_skeleton_handle_set_property, 1085s # {NULL} 1085s # }; 1085s # 1085s # static GDBusInterfaceInfo * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return org_project_useful_interface_interface_info (); 1085s # } 1085s # 1085s # static GDBusInterfaceVTable * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1085s # } 1085s # 1085s # static GVariant * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1085s # 1085s # GVariantBuilder builder; 1085s # guint n; 1085s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1085s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1085s # goto out; 1085s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1085s # { 1085s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1085s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1085s # { 1085s # GVariant *value; 1085s # 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); 1085s # if (value != NULL) 1085s # { 1085s # g_variant_take_ref (value); 1085s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1085s # g_variant_unref (value); 1085s # } 1085s # } 1085s # } 1085s # out: 1085s # return g_variant_builder_end (&builder); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_skeleton_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1085s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1085s # if (skeleton->priv->changed_properties_idle_source != NULL) 1085s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1085s # g_main_context_unref (skeleton->priv->context); 1085s # g_mutex_clear (&skeleton->priv->lock); 1085s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1085s # #else 1085s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1085s # #endif 1085s # 1085s # g_mutex_init (&skeleton->priv->lock); 1085s # skeleton->priv->context = g_main_context_ref_thread_default (); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusInterfaceSkeletonClass *skeleton_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1085s # 1085s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1085s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1085s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1085s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1085s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_skeleton_new: 1085s # * 1085s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_skeleton_new (void) 1085s # { 1085s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1085s # } 1085s # /tmp/tmpdp4giqbp/tmpf2lx_lhi.xml: 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdp4giqbp/tmpf2lx_lhi.xml', '--output', '-', '--body'] 1085s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1085s # Output: /* 1085s # * This file is generated by gdbus-codegen, do not modify it. 1085s # * 1085s # * The license of this code is the same as for the D-Bus interface description 1085s # * it was derived from. Note that it links to GLib, so must comply with the 1085s # * LGPL linking clauses. 1085s # */ 1085s # 1085s # #ifdef HAVE_CONFIG_H 1085s # # include "config.h" 1085s # #endif 1085s # 1085s # #include 1085s # #ifdef G_OS_UNIX 1085s # # include 1085s # #endif 1085s # 1085s # #ifdef G_ENABLE_DEBUG 1085s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1085s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1085s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1085s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1085s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1085s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1085s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1085s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1085s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1085s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1085s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1085s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1085s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1085s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1085s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1085s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1085s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1085s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1085s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1085s # #else /* !G_ENABLE_DEBUG */ 1085s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1085s # * Do not access GValues directly in your code. Instead, use the 1085s # * g_value_get_*() functions 1085s # */ 1085s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1085s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1085s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1085s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1085s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1085s # #endif /* !G_ENABLE_DEBUG */ 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusArgInfo parent_struct; 1085s # gboolean use_gvariant; 1085s # } _ExtendedGDBusArgInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusMethodInfo parent_struct; 1085s # const gchar *signal_name; 1085s # gboolean pass_fdlist; 1085s # } _ExtendedGDBusMethodInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusSignalInfo parent_struct; 1085s # const gchar *signal_name; 1085s # } _ExtendedGDBusSignalInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusPropertyInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # guint use_gvariant : 1; 1085s # guint emits_changed_signal : 1; 1085s # } _ExtendedGDBusPropertyInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusInterfaceInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # } _ExtendedGDBusInterfaceInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # const _ExtendedGDBusPropertyInfo *info; 1085s # guint prop_id; 1085s # GValue orig_value; /* the value before the change */ 1085s # } ChangedProperty; 1085s # 1085s # static void 1085s # _changed_property_free (ChangedProperty *data) 1085s # { 1085s # g_value_unset (&data->orig_value); 1085s # g_free (data); 1085s # } 1085s # 1085s # static gboolean 1085s # _g_strv_equal0 (gchar **a, gchar **b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # guint n; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # if (g_strv_length (a) != g_strv_length (b)) 1085s # goto out; 1085s # for (n = 0; a[n] != NULL; n++) 1085s # if (g_strcmp0 (a[n], b[n]) != 0) 1085s # goto out; 1085s # ret = TRUE; 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _g_variant_equal0 (GVariant *a, GVariant *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # ret = g_variant_equal (a, b); 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # G_GNUC_UNUSED static gboolean 1085s # _g_value_equal (const GValue *a, const GValue *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1085s # switch (G_VALUE_TYPE (a)) 1085s # { 1085s # case G_TYPE_BOOLEAN: 1085s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1085s # break; 1085s # case G_TYPE_UCHAR: 1085s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1085s # break; 1085s # case G_TYPE_INT: 1085s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1085s # break; 1085s # case G_TYPE_UINT: 1085s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1085s # break; 1085s # case G_TYPE_INT64: 1085s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1085s # break; 1085s # case G_TYPE_UINT64: 1085s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1085s # break; 1085s # case G_TYPE_DOUBLE: 1085s # { 1085s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1085s # gdouble da = g_value_get_double (a); 1085s # gdouble db = g_value_get_double (b); 1085s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1085s # } 1085s # break; 1085s # case G_TYPE_STRING: 1085s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1085s # break; 1085s # case G_TYPE_VARIANT: 1085s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1085s # break; 1085s # default: 1085s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1085s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1085s # else 1085s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1085s # break; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static void 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint G_GNUC_UNUSED, 1085s # void *marshal_data) 1085s # { 1085s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1085s # (void *data1, 1085s # GDBusMethodInvocation *arg_method_invocation, 1085s # const gchar *const *arg_arg_aay, 1085s # void *data2); 1085s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1085s # GCClosure *cc = (GCClosure*) closure; 1085s # void *data1, *data2; 1085s # gboolean v_return; 1085s # 1085s # g_return_if_fail (return_value != NULL); 1085s # g_return_if_fail (n_param_values == 3); 1085s # 1085s # if (G_CCLOSURE_SWAP_DATA (closure)) 1085s # { 1085s # data1 = closure->data; 1085s # data2 = g_value_peek_pointer (param_values + 0); 1085s # } 1085s # else 1085s # { 1085s # data1 = g_value_peek_pointer (param_values + 0); 1085s # data2 = closure->data; 1085s # } 1085s # 1085s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1085s # (marshal_data ? marshal_data : cc->callback); 1085s # 1085s # v_return = 1085s # callback (data1, 1085s # g_marshal_value_peek_object (param_values + 1), 1085s # g_marshal_value_peek_boxed (param_values + 2), 1085s # data2); 1085s # 1085s # g_value_set_boolean (return_value, v_return); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ 1085s # * Code for interface org.project.UsefulInterface 1085s # * ------------------------------------------------------------------------ 1085s # */ 1085s # 1085s # /** 1085s # * SECTION:OrgProjectUsefulInterface 1085s # * @title: OrgProjectUsefulInterface 1085s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1085s # * 1085s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1085s # */ 1085s # 1085s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1085s # 1085s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "arg_aay", 1085s # (gchar *) "aay", 1085s # NULL 1085s # }, 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "SingleArgMethodAay", 1085s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "handle-single-arg-method-aay", 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "org.project.UsefulInterface", 1085s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1085s # NULL, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "org-project-useful-interface", 1085s # }; 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_interface_info: 1085s # * 1085s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1085s # * 1085s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1085s # */ 1085s # GDBusInterfaceInfo * 1085s # org_project_useful_interface_interface_info (void) 1085s # { 1085s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_override_properties: 1085s # * @klass: The class structure for a #GObject derived class. 1085s # * @property_id_begin: The property id to assign to the first overridden property. 1085s # * 1085s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1085s # * The properties are overridden in the order they are defined. 1085s # * 1085s # * Returns: The last property id. 1085s # */ 1085s # guint 1085s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1085s # { 1085s # return property_id_begin - 1; 1085s # } 1085s # 1085s # 1085s # inline static void 1085s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint, 1085s # void *marshal_data) 1085s # { 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1085s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1085s # } 1085s # 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterface: 1085s # * 1085s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceIface: 1085s # * @parent_iface: The parent interface. 1085s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1085s # * 1085s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1085s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1085s # 1085s # static void 1085s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1085s # { 1085s # /* GObject signals for incoming D-Bus method calls: */ 1085s # /** 1085s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: A #GDBusMethodInvocation. 1085s # * @arg_arg_aay: Argument passed by remote caller. 1085s # * 1085s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1085s # * 1085s # * 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. 1085s # * 1085s # * 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. 1085s # */ 1085s # g_signal_new ("handle-single-arg-method-aay", 1085s # G_TYPE_FROM_INTERFACE (iface), 1085s # G_SIGNAL_RUN_LAST, 1085s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1085s # g_signal_accumulator_true_handled, 1085s # NULL, 1085s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1085s # G_TYPE_BOOLEAN, 1085s # 2, 1085s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1085s # 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_aay: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_aay: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1085s # */ 1085s # void 1085s # org_project_useful_interface_call_single_arg_method_aay ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # const gchar *const *arg_arg_aay, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodAay", 1085s # g_variant_new ("(^aay)", 1085s # arg_arg_aay), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # callback, 1085s # user_data); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_aay: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # const gchar *const *arg_arg_aay, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodAay", 1085s # g_variant_new ("(^aay)", 1085s # arg_arg_aay), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_complete_single_arg_method_aay: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1085s # * 1085s # * 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. 1085s # * 1085s # * This method will free @invocation, you cannot use it afterwards. 1085s # */ 1085s # void 1085s # org_project_useful_interface_complete_single_arg_method_aay ( 1085s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1085s # GDBusMethodInvocation *invocation) 1085s # { 1085s # g_dbus_method_invocation_return_value (invocation, 1085s # g_variant_new ("()")); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxy: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxyClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceProxyPrivate 1085s # { 1085s # GData *qdata; 1085s # }; 1085s # 1085s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_proxy_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1085s # g_datalist_clear (&proxy->priv->qdata); 1085s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # const GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1085s # const gchar *sender_name G_GNUC_UNUSED, 1085s # const gchar *signal_name, 1085s # GVariant *parameters) 1085s # { 1085s # _ExtendedGDBusSignalInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # gsize n; 1085s # guint signal_id; 1085s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1085s # if (info == NULL) 1085s # return; 1085s # num_params = g_variant_n_children (parameters); 1085s # paramv = g_new0 (GValue, num_params + 1); 1085s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[0], proxy); 1085s # g_variant_iter_init (&iter, parameters); 1085s # n = 1; 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_signal_emitv (paramv, signal_id, 0, NULL); 1085s # for (n = 0; n < num_params + 1; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1085s # GVariant *changed_properties, 1085s # const gchar *const *invalidated_properties) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1085s # guint n; 1085s # const gchar *key; 1085s # GVariantIter *iter; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # g_variant_get (changed_properties, "a{sv}", &iter); 1085s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1085s # g_datalist_remove_data (&proxy->priv->qdata, key); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # g_variant_iter_free (iter); 1085s # for (n = 0; invalidated_properties[n] != NULL; n++) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1085s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1085s # #else 1085s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1085s # #endif 1085s # 1085s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusProxyClass *proxy_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1085s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1085s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1085s # 1085s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1085s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1085s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_sync: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_sync ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new_for_bus ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_sync: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_sync ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeleton: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeletonClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1085s # { 1085s # GValue *properties; 1085s # GList *changed_properties; 1085s # GSource *changed_properties_idle_source; 1085s # GMainContext *context; 1085s # GMutex lock; 1085s # }; 1085s # 1085s # static void 1085s # _org_project_useful_interface_skeleton_handle_method_call ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name, 1085s # const gchar *method_name, 1085s # GVariant *parameters, 1085s # GDBusMethodInvocation *invocation, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # _ExtendedGDBusMethodInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # guint num_extra; 1085s # gsize n; 1085s # guint signal_id; 1085s # GValue return_value = G_VALUE_INIT; 1085s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1085s # g_assert (info != NULL); 1085s # num_params = g_variant_n_children (parameters); 1085s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1085s # n = 0; 1085s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[n++], skeleton); 1085s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1085s # g_value_set_object (¶mv[n++], invocation); 1085s # if (info->pass_fdlist) 1085s # { 1085s # #ifdef G_OS_UNIX 1085s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1085s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1085s # #else 1085s # g_assert_not_reached (); 1085s # #endif 1085s # } 1085s # g_variant_iter_init (&iter, parameters); 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1085s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1085s # if (!g_value_get_boolean (&return_value)) 1085s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1085s # g_value_unset (&return_value); 1085s # for (n = 0; n < num_params + num_extra; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static GVariant * 1085s # _org_project_useful_interface_skeleton_handle_get_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # GVariant *ret; 1085s # ret = NULL; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # g_value_init (&value, pspec->value_type); 1085s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1085s # g_value_unset (&value); 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _org_project_useful_interface_skeleton_handle_set_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GVariant *variant, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # gboolean ret; 1085s # ret = FALSE; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # if (info->use_gvariant) 1085s # g_value_set_variant (&value, variant); 1085s # else 1085s # g_dbus_gvariant_to_gvalue (variant, &value); 1085s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # g_value_unset (&value); 1085s # ret = TRUE; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1085s # { 1085s # _org_project_useful_interface_skeleton_handle_method_call, 1085s # _org_project_useful_interface_skeleton_handle_get_property, 1085s # _org_project_useful_interface_skeleton_handle_set_property, 1085s # {NULL} 1085s # }; 1085s # 1085s # static GDBusInterfaceInfo * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return org_project_useful_interface_interface_info (); 1085s # } 1085s # 1085s # static GDBusInterfaceVTable * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1085s # } 1085s # 1085s # static GVariant * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1085s # 1085s # GVariantBuilder builder; 1085s # guint n; 1085s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1085s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1085s # goto out; 1085s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1085s # { 1085s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1085s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1085s # { 1085s # GVariant *value; 1085s # 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); 1085s # if (value != NULL) 1085s # { 1085s # g_variant_take_ref (value); 1085s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1085s # g_variant_unref (value); 1085s # } 1085s # } 1085s # } 1085s # out: 1085s # return g_variant_builder_end (&builder); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_skeleton_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1085s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1085s # if (skeleton->priv->changed_properties_idle_source != NULL) 1085s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1085s # g_main_context_unref (skeleton->priv->context); 1085s # g_mutex_clear (&skeleton->priv->lock); 1085s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1085s # #else 1085s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1085s # #endif 1085s # 1085s # g_mutex_init (&skeleton->priv->lock); 1085s # skeleton->priv->context = g_main_context_ref_thread_default (); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusInterfaceSkeletonClass *skeleton_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1085s # 1085s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1085s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1085s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1085s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1085s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_skeleton_new: 1085s # * 1085s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_skeleton_new (void) 1085s # { 1085s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1085s # } 1085s # /tmp/tmpdp4giqbp/tmpbyweepzq.xml: 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # 1085s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdp4giqbp/tmpbyweepzq.xml', '--output', '-', '--body'] 1085s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1085s # Output: /* 1085s # * This file is generated by gdbus-codegen, do not modify it. 1085s # * 1085s # * The license of this code is the same as for the D-Bus interface description 1085s # * it was derived from. Note that it links to GLib, so must comply with the 1085s # * LGPL linking clauses. 1085s # */ 1085s # 1085s # #ifdef HAVE_CONFIG_H 1085s # # include "config.h" 1085s # #endif 1085s # 1085s # #include 1085s # #ifdef G_OS_UNIX 1085s # # include 1085s # #endif 1085s # 1085s # #ifdef G_ENABLE_DEBUG 1085s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1085s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1085s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1085s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1085s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1085s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1085s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1085s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1085s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1085s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1085s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1085s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1085s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1085s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1085s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1085s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1085s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1085s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1085s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1085s # #else /* !G_ENABLE_DEBUG */ 1085s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1085s # * Do not access GValues directly in your code. Instead, use the 1085s # * g_value_get_*() functions 1085s # */ 1085s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1085s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1085s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1085s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1085s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1085s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1085s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1085s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1085s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1085s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1085s # #endif /* !G_ENABLE_DEBUG */ 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusArgInfo parent_struct; 1085s # gboolean use_gvariant; 1085s # } _ExtendedGDBusArgInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusMethodInfo parent_struct; 1085s # const gchar *signal_name; 1085s # gboolean pass_fdlist; 1085s # } _ExtendedGDBusMethodInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusSignalInfo parent_struct; 1085s # const gchar *signal_name; 1085s # } _ExtendedGDBusSignalInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusPropertyInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # guint use_gvariant : 1; 1085s # guint emits_changed_signal : 1; 1085s # } _ExtendedGDBusPropertyInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # GDBusInterfaceInfo parent_struct; 1085s # const gchar *hyphen_name; 1085s # } _ExtendedGDBusInterfaceInfo; 1085s # 1085s # typedef struct 1085s # { 1085s # const _ExtendedGDBusPropertyInfo *info; 1085s # guint prop_id; 1085s # GValue orig_value; /* the value before the change */ 1085s # } ChangedProperty; 1085s # 1085s # static void 1085s # _changed_property_free (ChangedProperty *data) 1085s # { 1085s # g_value_unset (&data->orig_value); 1085s # g_free (data); 1085s # } 1085s # 1085s # static gboolean 1085s # _g_strv_equal0 (gchar **a, gchar **b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # guint n; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # if (g_strv_length (a) != g_strv_length (b)) 1085s # goto out; 1085s # for (n = 0; a[n] != NULL; n++) 1085s # if (g_strcmp0 (a[n], b[n]) != 0) 1085s # goto out; 1085s # ret = TRUE; 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _g_variant_equal0 (GVariant *a, GVariant *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # if (a == NULL && b == NULL) 1085s # { 1085s # ret = TRUE; 1085s # goto out; 1085s # } 1085s # if (a == NULL || b == NULL) 1085s # goto out; 1085s # ret = g_variant_equal (a, b); 1085s # out: 1085s # return ret; 1085s # } 1085s # 1085s # G_GNUC_UNUSED static gboolean 1085s # _g_value_equal (const GValue *a, const GValue *b) 1085s # { 1085s # gboolean ret = FALSE; 1085s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1085s # switch (G_VALUE_TYPE (a)) 1085s # { 1085s # case G_TYPE_BOOLEAN: 1085s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1085s # break; 1085s # case G_TYPE_UCHAR: 1085s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1085s # break; 1085s # case G_TYPE_INT: 1085s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1085s # break; 1085s # case G_TYPE_UINT: 1085s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1085s # break; 1085s # case G_TYPE_INT64: 1085s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1085s # break; 1085s # case G_TYPE_UINT64: 1085s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1085s # break; 1085s # case G_TYPE_DOUBLE: 1085s # { 1085s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1085s # gdouble da = g_value_get_double (a); 1085s # gdouble db = g_value_get_double (b); 1085s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1085s # } 1085s # break; 1085s # case G_TYPE_STRING: 1085s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1085s # break; 1085s # case G_TYPE_VARIANT: 1085s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1085s # break; 1085s # default: 1085s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1085s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1085s # else 1085s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1085s # break; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static void 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint G_GNUC_UNUSED, 1085s # void *marshal_data) 1085s # { 1085s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1085s # (void *data1, 1085s # GDBusMethodInvocation *arg_method_invocation, 1085s # GVariant *arg_arg_asv, 1085s # void *data2); 1085s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1085s # GCClosure *cc = (GCClosure*) closure; 1085s # void *data1, *data2; 1085s # gboolean v_return; 1085s # 1085s # g_return_if_fail (return_value != NULL); 1085s # g_return_if_fail (n_param_values == 3); 1085s # 1085s # if (G_CCLOSURE_SWAP_DATA (closure)) 1085s # { 1085s # data1 = closure->data; 1085s # data2 = g_value_peek_pointer (param_values + 0); 1085s # } 1085s # else 1085s # { 1085s # data1 = g_value_peek_pointer (param_values + 0); 1085s # data2 = closure->data; 1085s # } 1085s # 1085s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1085s # (marshal_data ? marshal_data : cc->callback); 1085s # 1085s # v_return = 1085s # callback (data1, 1085s # g_marshal_value_peek_object (param_values + 1), 1085s # g_marshal_value_peek_variant (param_values + 2), 1085s # data2); 1085s # 1085s # g_value_set_boolean (return_value, v_return); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ 1085s # * Code for interface org.project.UsefulInterface 1085s # * ------------------------------------------------------------------------ 1085s # */ 1085s # 1085s # /** 1085s # * SECTION:OrgProjectUsefulInterface 1085s # * @title: OrgProjectUsefulInterface 1085s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1085s # * 1085s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1085s # */ 1085s # 1085s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1085s # 1085s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "arg_asv", 1085s # (gchar *) "a{sv}", 1085s # NULL 1085s # }, 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "SingleArgMethodAsv", 1085s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "handle-single-arg-method-asv", 1085s # FALSE 1085s # }; 1085s # 1085s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1085s # { 1085s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1085s # NULL 1085s # }; 1085s # 1085s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1085s # { 1085s # { 1085s # -1, 1085s # (gchar *) "org.project.UsefulInterface", 1085s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1085s # NULL, 1085s # NULL, 1085s # NULL 1085s # }, 1085s # "org-project-useful-interface", 1085s # }; 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_interface_info: 1085s # * 1085s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1085s # * 1085s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1085s # */ 1085s # GDBusInterfaceInfo * 1085s # org_project_useful_interface_interface_info (void) 1085s # { 1085s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_override_properties: 1085s # * @klass: The class structure for a #GObject derived class. 1085s # * @property_id_begin: The property id to assign to the first overridden property. 1085s # * 1085s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1085s # * The properties are overridden in the order they are defined. 1085s # * 1085s # * Returns: The last property id. 1085s # */ 1085s # guint 1085s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1085s # { 1085s # return property_id_begin - 1; 1085s # } 1085s # 1085s # 1085s # inline static void 1085s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1085s # GClosure *closure, 1085s # GValue *return_value, 1085s # unsigned int n_param_values, 1085s # const GValue *param_values, 1085s # void *invocation_hint, 1085s # void *marshal_data) 1085s # { 1085s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1085s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1085s # } 1085s # 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterface: 1085s # * 1085s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceIface: 1085s # * @parent_iface: The parent interface. 1085s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1085s # * 1085s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1085s # */ 1085s # 1085s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1085s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1085s # 1085s # static void 1085s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1085s # { 1085s # /* GObject signals for incoming D-Bus method calls: */ 1085s # /** 1085s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: A #GDBusMethodInvocation. 1085s # * @arg_arg_asv: Argument passed by remote caller. 1085s # * 1085s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1085s # * 1085s # * 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. 1085s # * 1085s # * 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. 1085s # */ 1085s # g_signal_new ("handle-single-arg-method-asv", 1085s # G_TYPE_FROM_INTERFACE (iface), 1085s # G_SIGNAL_RUN_LAST, 1085s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1085s # g_signal_accumulator_true_handled, 1085s # NULL, 1085s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1085s # G_TYPE_BOOLEAN, 1085s # 2, 1085s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1085s # 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_asv: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_asv: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1085s # */ 1085s # void 1085s # org_project_useful_interface_call_single_arg_method_asv ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GVariant *arg_arg_asv, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodAsv", 1085s # g_variant_new ("(@a{sv})", 1085s # arg_arg_asv), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # callback, 1085s # user_data); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1085s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1085s # * @arg_arg_asv: Argument to pass with the method invocation. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL. 1085s # * 1085s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1085s # * 1085s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1085s # */ 1085s # gboolean 1085s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1085s # OrgProjectUsefulInterface *proxy, 1085s # GVariant *arg_arg_asv, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GVariant *_ret; 1085s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1085s # "SingleArgMethodAsv", 1085s # g_variant_new ("(@a{sv})", 1085s # arg_arg_asv), 1085s # G_DBUS_CALL_FLAGS_NONE, 1085s # -1, 1085s # cancellable, 1085s # error); 1085s # if (_ret == NULL) 1085s # goto _out; 1085s # g_variant_get (_ret, 1085s # "()"); 1085s # g_variant_unref (_ret); 1085s # _out: 1085s # return _ret != NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_complete_single_arg_method_asv: 1085s # * @object: A #OrgProjectUsefulInterface. 1085s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1085s # * 1085s # * 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. 1085s # * 1085s # * This method will free @invocation, you cannot use it afterwards. 1085s # */ 1085s # void 1085s # org_project_useful_interface_complete_single_arg_method_asv ( 1085s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1085s # GDBusMethodInvocation *invocation) 1085s # { 1085s # g_dbus_method_invocation_return_value (invocation, 1085s # g_variant_new ("()")); 1085s # } 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxy: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceProxyClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceProxyPrivate 1085s # { 1085s # GData *qdata; 1085s # }; 1085s # 1085s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_proxy_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1085s # g_datalist_clear (&proxy->priv->qdata); 1085s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1085s # guint prop_id G_GNUC_UNUSED, 1085s # const GValue *value G_GNUC_UNUSED, 1085s # GParamSpec *pspec G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1085s # const gchar *sender_name G_GNUC_UNUSED, 1085s # const gchar *signal_name, 1085s # GVariant *parameters) 1085s # { 1085s # _ExtendedGDBusSignalInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # gsize n; 1085s # guint signal_id; 1085s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1085s # if (info == NULL) 1085s # return; 1085s # num_params = g_variant_n_children (parameters); 1085s # paramv = g_new0 (GValue, num_params + 1); 1085s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[0], proxy); 1085s # g_variant_iter_init (&iter, parameters); 1085s # n = 1; 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_signal_emitv (paramv, signal_id, 0, NULL); 1085s # for (n = 0; n < num_params + 1; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1085s # GVariant *changed_properties, 1085s # const gchar *const *invalidated_properties) 1085s # { 1085s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1085s # guint n; 1085s # const gchar *key; 1085s # GVariantIter *iter; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # g_variant_get (changed_properties, "a{sv}", &iter); 1085s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1085s # g_datalist_remove_data (&proxy->priv->qdata, key); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # g_variant_iter_free (iter); 1085s # for (n = 0; invalidated_properties[n] != NULL; n++) 1085s # { 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1085s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1085s # if (info != NULL) 1085s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1085s # } 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1085s # #else 1085s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1085s # #endif 1085s # 1085s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusProxyClass *proxy_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1085s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1085s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1085s # 1085s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1085s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1085s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_sync: 1085s # * @connection: A #GDBusConnection. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_sync ( 1085s # GDBusConnection *connection, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1085s # * @user_data: User data to pass to @callback. 1085s # * 1085s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1085s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1085s # */ 1085s # void 1085s # org_project_useful_interface_proxy_new_for_bus ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GAsyncReadyCallback callback, 1085s # gpointer user_data) 1085s # { 1085s # g_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); 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_finish: 1085s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_finish ( 1085s # GAsyncResult *res, 1085s # GError **error) 1085s # { 1085s # GObject *ret; 1085s # GObject *source_object; 1085s # source_object = g_async_result_get_source_object (res); 1085s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1085s # g_object_unref (source_object); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_proxy_new_for_bus_sync: 1085s # * @bus_type: A #GBusType. 1085s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1085s # * @name: A bus name (well-known or unique). 1085s # * @object_path: An object path. 1085s # * @cancellable: (nullable): A #GCancellable or %NULL. 1085s # * @error: Return location for error or %NULL 1085s # * 1085s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1085s # * 1085s # * The calling thread is blocked until a reply is received. 1085s # * 1085s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_proxy_new_for_bus_sync ( 1085s # GBusType bus_type, 1085s # GDBusProxyFlags flags, 1085s # const gchar *name, 1085s # const gchar *object_path, 1085s # GCancellable *cancellable, 1085s # GError **error) 1085s # { 1085s # GInitable *ret; 1085s # 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); 1085s # if (ret != NULL) 1085s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1085s # else 1085s # return NULL; 1085s # } 1085s # 1085s # 1085s # /* ------------------------------------------------------------------------ */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeleton: 1085s # * 1085s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1085s # */ 1085s # 1085s # /** 1085s # * OrgProjectUsefulInterfaceSkeletonClass: 1085s # * @parent_class: The parent class. 1085s # * 1085s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1085s # */ 1085s # 1085s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1085s # { 1085s # GValue *properties; 1085s # GList *changed_properties; 1085s # GSource *changed_properties_idle_source; 1085s # GMainContext *context; 1085s # GMutex lock; 1085s # }; 1085s # 1085s # static void 1085s # _org_project_useful_interface_skeleton_handle_method_call ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name, 1085s # const gchar *method_name, 1085s # GVariant *parameters, 1085s # GDBusMethodInvocation *invocation, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # _ExtendedGDBusMethodInfo *info; 1085s # GVariantIter iter; 1085s # GVariant *child; 1085s # GValue *paramv; 1085s # gsize num_params; 1085s # guint num_extra; 1085s # gsize n; 1085s # guint signal_id; 1085s # GValue return_value = G_VALUE_INIT; 1085s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1085s # g_assert (info != NULL); 1085s # num_params = g_variant_n_children (parameters); 1085s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1085s # n = 0; 1085s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_set_object (¶mv[n++], skeleton); 1085s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1085s # g_value_set_object (¶mv[n++], invocation); 1085s # if (info->pass_fdlist) 1085s # { 1085s # #ifdef G_OS_UNIX 1085s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1085s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1085s # #else 1085s # g_assert_not_reached (); 1085s # #endif 1085s # } 1085s # g_variant_iter_init (&iter, parameters); 1085s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1085s # { 1085s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1085s # if (arg_info->use_gvariant) 1085s # { 1085s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1085s # g_value_set_variant (¶mv[n], child); 1085s # n++; 1085s # } 1085s # else 1085s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1085s # g_variant_unref (child); 1085s # } 1085s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1085s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1085s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1085s # if (!g_value_get_boolean (&return_value)) 1085s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1085s # g_value_unset (&return_value); 1085s # for (n = 0; n < num_params + num_extra; n++) 1085s # g_value_unset (¶mv[n]); 1085s # g_free (paramv); 1085s # } 1085s # 1085s # static GVariant * 1085s # _org_project_useful_interface_skeleton_handle_get_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # GVariant *ret; 1085s # ret = NULL; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # g_value_init (&value, pspec->value_type); 1085s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1085s # g_value_unset (&value); 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static gboolean 1085s # _org_project_useful_interface_skeleton_handle_set_property ( 1085s # GDBusConnection *connection G_GNUC_UNUSED, 1085s # const gchar *sender G_GNUC_UNUSED, 1085s # const gchar *object_path G_GNUC_UNUSED, 1085s # const gchar *interface_name G_GNUC_UNUSED, 1085s # const gchar *property_name, 1085s # GVariant *variant, 1085s # GError **error, 1085s # gpointer user_data) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1085s # GValue value = G_VALUE_INIT; 1085s # GParamSpec *pspec; 1085s # _ExtendedGDBusPropertyInfo *info; 1085s # gboolean ret; 1085s # ret = FALSE; 1085s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1085s # g_assert (info != NULL); 1085s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1085s # if (pspec == NULL) 1085s # { 1085s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1085s # } 1085s # else 1085s # { 1085s # if (info->use_gvariant) 1085s # g_value_set_variant (&value, variant); 1085s # else 1085s # g_dbus_gvariant_to_gvalue (variant, &value); 1085s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1085s # g_value_unset (&value); 1085s # ret = TRUE; 1085s # } 1085s # return ret; 1085s # } 1085s # 1085s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1085s # { 1085s # _org_project_useful_interface_skeleton_handle_method_call, 1085s # _org_project_useful_interface_skeleton_handle_get_property, 1085s # _org_project_useful_interface_skeleton_handle_set_property, 1085s # {NULL} 1085s # }; 1085s # 1085s # static GDBusInterfaceInfo * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return org_project_useful_interface_interface_info (); 1085s # } 1085s # 1085s # static GDBusInterfaceVTable * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1085s # { 1085s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1085s # } 1085s # 1085s # static GVariant * 1085s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1085s # 1085s # GVariantBuilder builder; 1085s # guint n; 1085s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1085s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1085s # goto out; 1085s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1085s # { 1085s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1085s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1085s # { 1085s # GVariant *value; 1085s # 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); 1085s # if (value != NULL) 1085s # { 1085s # g_variant_take_ref (value); 1085s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1085s # g_variant_unref (value); 1085s # } 1085s # } 1085s # } 1085s # out: 1085s # return g_variant_builder_end (&builder); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #else 1085s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1085s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1085s # 1085s # #endif 1085s # static void 1085s # org_project_useful_interface_skeleton_finalize (GObject *object) 1085s # { 1085s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1085s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1085s # if (skeleton->priv->changed_properties_idle_source != NULL) 1085s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1085s # g_main_context_unref (skeleton->priv->context); 1085s # g_mutex_clear (&skeleton->priv->lock); 1085s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1085s # { 1085s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1085s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1085s # #else 1085s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1085s # #endif 1085s # 1085s # g_mutex_init (&skeleton->priv->lock); 1085s # skeleton->priv->context = g_main_context_ref_thread_default (); 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1085s # { 1085s # GObjectClass *gobject_class; 1085s # GDBusInterfaceSkeletonClass *skeleton_class; 1085s # 1085s # gobject_class = G_OBJECT_CLASS (klass); 1085s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1085s # 1085s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1085s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1085s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1085s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1085s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1085s # 1085s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1085s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1085s # #endif 1085s # } 1085s # 1085s # static void 1085s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1085s # { 1085s # } 1085s # 1085s # /** 1085s # * org_project_useful_interface_skeleton_new: 1085s # * 1085s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1085s # * 1085s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1085s # */ 1085s # OrgProjectUsefulInterface * 1085s # org_project_useful_interface_skeleton_new (void) 1085s # { 1085s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1085s # } 1086s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 1086s # tmpdir: /tmp/tmp2a8key32 1086s # codegen: /usr/bin/gdbus-codegen 1086s # /tmp/tmp2a8key32/tmp4p6_djqy.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2a8key32/tmp4p6_djqy.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifdef HAVE_CONFIG_H 1086s # # include "config.h" 1086s # #endif 1086s # 1086s # #include 1086s # #ifdef G_OS_UNIX 1086s # # include 1086s # #endif 1086s # 1086s # #ifdef G_ENABLE_DEBUG 1086s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1086s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1086s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1086s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1086s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1086s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1086s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1086s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1086s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1086s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1086s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1086s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1086s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1086s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1086s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1086s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1086s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1086s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1086s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1086s # #else /* !G_ENABLE_DEBUG */ 1086s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1086s # * Do not access GValues directly in your code. Instead, use the 1086s # * g_value_get_*() functions 1086s # */ 1086s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1086s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1086s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1086s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1086s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1086s # #endif /* !G_ENABLE_DEBUG */ 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusArgInfo parent_struct; 1086s # gboolean use_gvariant; 1086s # } _ExtendedGDBusArgInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusMethodInfo parent_struct; 1086s # const gchar *signal_name; 1086s # gboolean pass_fdlist; 1086s # } _ExtendedGDBusMethodInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusSignalInfo parent_struct; 1086s # const gchar *signal_name; 1086s # } _ExtendedGDBusSignalInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusPropertyInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # guint use_gvariant : 1; 1086s # guint emits_changed_signal : 1; 1086s # } _ExtendedGDBusPropertyInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusInterfaceInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # } _ExtendedGDBusInterfaceInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # guint prop_id; 1086s # GValue orig_value; /* the value before the change */ 1086s # } ChangedProperty; 1086s # 1086s # static void 1086s # _changed_property_free (ChangedProperty *data) 1086s # { 1086s # g_value_unset (&data->orig_value); 1086s # g_free (data); 1086s # } 1086s # 1086s # static gboolean 1086s # _g_strv_equal0 (gchar **a, gchar **b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # guint n; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # if (g_strv_length (a) != g_strv_length (b)) 1086s # goto out; 1086s # for (n = 0; a[n] != NULL; n++) 1086s # if (g_strcmp0 (a[n], b[n]) != 0) 1086s # goto out; 1086s # ret = TRUE; 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _g_variant_equal0 (GVariant *a, GVariant *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # ret = g_variant_equal (a, b); 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # G_GNUC_UNUSED static gboolean 1086s # _g_value_equal (const GValue *a, const GValue *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1086s # switch (G_VALUE_TYPE (a)) 1086s # { 1086s # case G_TYPE_BOOLEAN: 1086s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1086s # break; 1086s # case G_TYPE_UCHAR: 1086s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1086s # break; 1086s # case G_TYPE_INT: 1086s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1086s # break; 1086s # case G_TYPE_UINT: 1086s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1086s # break; 1086s # case G_TYPE_INT64: 1086s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1086s # break; 1086s # case G_TYPE_UINT64: 1086s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1086s # break; 1086s # case G_TYPE_DOUBLE: 1086s # { 1086s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1086s # gdouble da = g_value_get_double (a); 1086s # gdouble db = g_value_get_double (b); 1086s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1086s # } 1086s # break; 1086s # case G_TYPE_STRING: 1086s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1086s # break; 1086s # case G_TYPE_VARIANT: 1086s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1086s # break; 1086s # default: 1086s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1086s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1086s # else 1086s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1086s # break; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static void 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint G_GNUC_UNUSED, 1086s # void *marshal_data) 1086s # { 1086s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (void *data1, 1086s # GDBusMethodInvocation *arg_method_invocation, 1086s # void *data2); 1086s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1086s # GCClosure *cc = (GCClosure*) closure; 1086s # void *data1, *data2; 1086s # gboolean v_return; 1086s # 1086s # g_return_if_fail (return_value != NULL); 1086s # g_return_if_fail (n_param_values == 2); 1086s # 1086s # if (G_CCLOSURE_SWAP_DATA (closure)) 1086s # { 1086s # data1 = closure->data; 1086s # data2 = g_value_peek_pointer (param_values + 0); 1086s # } 1086s # else 1086s # { 1086s # data1 = g_value_peek_pointer (param_values + 0); 1086s # data2 = closure->data; 1086s # } 1086s # 1086s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (marshal_data ? marshal_data : cc->callback); 1086s # 1086s # v_return = 1086s # callback (data1, 1086s # g_marshal_value_peek_object (param_values + 1), 1086s # data2); 1086s # 1086s # g_value_set_boolean (return_value, v_return); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ 1086s # * Code for interface org.project.UsefulInterface 1086s # * ------------------------------------------------------------------------ 1086s # */ 1086s # 1086s # /** 1086s # * SECTION:OrgProjectUsefulInterface 1086s # * @title: OrgProjectUsefulInterface 1086s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1086s # * 1086s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1086s # */ 1086s # 1086s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "arg_b", 1086s # (gchar *) "b", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "SingleArgMethodB", 1086s # NULL, 1086s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 1086s # NULL 1086s # }, 1086s # "handle-single-arg-method-b", 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "org.project.UsefulInterface", 1086s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1086s # NULL, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "org-project-useful-interface", 1086s # }; 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_interface_info: 1086s # * 1086s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1086s # * 1086s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1086s # */ 1086s # GDBusInterfaceInfo * 1086s # org_project_useful_interface_interface_info (void) 1086s # { 1086s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_override_properties: 1086s # * @klass: The class structure for a #GObject derived class. 1086s # * @property_id_begin: The property id to assign to the first overridden property. 1086s # * 1086s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1086s # * The properties are overridden in the order they are defined. 1086s # * 1086s # * Returns: The last property id. 1086s # */ 1086s # guint 1086s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1086s # { 1086s # return property_id_begin - 1; 1086s # } 1086s # 1086s # 1086s # inline static void 1086s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint, 1086s # void *marshal_data) 1086s # { 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1086s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1086s # } 1086s # 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterface: 1086s # * 1086s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceIface: 1086s # * @parent_iface: The parent interface. 1086s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1086s # * 1086s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1086s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1086s # 1086s # static void 1086s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1086s # { 1086s # /* GObject signals for incoming D-Bus method calls: */ 1086s # /** 1086s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: A #GDBusMethodInvocation. 1086s # * 1086s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1086s # * 1086s # * 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. 1086s # * 1086s # * 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. 1086s # */ 1086s # g_signal_new ("handle-single-arg-method-b", 1086s # G_TYPE_FROM_INTERFACE (iface), 1086s # G_SIGNAL_RUN_LAST, 1086s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1086s # g_signal_accumulator_true_handled, 1086s # NULL, 1086s # org_project_useful_interface_method_marshal_single_arg_method_b, 1086s # G_TYPE_BOOLEAN, 1086s # 1, 1086s # G_TYPE_DBUS_METHOD_INVOCATION); 1086s # 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_b: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1086s # */ 1086s # void 1086s # org_project_useful_interface_call_single_arg_method_b ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodB", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # callback, 1086s # user_data); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_b_finish: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_b_finish ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # gboolean *out_arg_b, 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(b)", 1086s # out_arg_b); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_b_sync: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_b_sync ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # gboolean *out_arg_b, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodB", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(b)", 1086s # out_arg_b); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_complete_single_arg_method_b: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1086s # * @arg_b: Parameter to return. 1086s # * 1086s # * 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. 1086s # * 1086s # * This method will free @invocation, you cannot use it afterwards. 1086s # */ 1086s # void 1086s # org_project_useful_interface_complete_single_arg_method_b ( 1086s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1086s # GDBusMethodInvocation *invocation, 1086s # gboolean arg_b) 1086s # { 1086s # g_dbus_method_invocation_return_value (invocation, 1086s # g_variant_new ("(b)", 1086s # arg_b)); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxy: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxyClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceProxyPrivate 1086s # { 1086s # GData *qdata; 1086s # }; 1086s # 1086s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_proxy_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1086s # g_datalist_clear (&proxy->priv->qdata); 1086s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # const GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1086s # const gchar *sender_name G_GNUC_UNUSED, 1086s # const gchar *signal_name, 1086s # GVariant *parameters) 1086s # { 1086s # _ExtendedGDBusSignalInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # gsize n; 1086s # guint signal_id; 1086s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1086s # if (info == NULL) 1086s # return; 1086s # num_params = g_variant_n_children (parameters); 1086s # paramv = g_new0 (GValue, num_params + 1); 1086s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[0], proxy); 1086s # g_variant_iter_init (&iter, parameters); 1086s # n = 1; 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_signal_emitv (paramv, signal_id, 0, NULL); 1086s # for (n = 0; n < num_params + 1; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1086s # GVariant *changed_properties, 1086s # const gchar *const *invalidated_properties) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1086s # guint n; 1086s # const gchar *key; 1086s # GVariantIter *iter; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # g_variant_get (changed_properties, "a{sv}", &iter); 1086s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1086s # g_datalist_remove_data (&proxy->priv->qdata, key); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # g_variant_iter_free (iter); 1086s # for (n = 0; invalidated_properties[n] != NULL; n++) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1086s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1086s # #else 1086s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1086s # #endif 1086s # 1086s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusProxyClass *proxy_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1086s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1086s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1086s # 1086s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1086s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1086s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_sync: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_sync ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new_for_bus ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_sync: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_sync ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeleton: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeletonClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1086s # { 1086s # GValue *properties; 1086s # GList *changed_properties; 1086s # GSource *changed_properties_idle_source; 1086s # GMainContext *context; 1086s # GMutex lock; 1086s # }; 1086s # 1086s # static void 1086s # _org_project_useful_interface_skeleton_handle_method_call ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name, 1086s # const gchar *method_name, 1086s # GVariant *parameters, 1086s # GDBusMethodInvocation *invocation, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # _ExtendedGDBusMethodInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # guint num_extra; 1086s # gsize n; 1086s # guint signal_id; 1086s # GValue return_value = G_VALUE_INIT; 1086s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1086s # g_assert (info != NULL); 1086s # num_params = g_variant_n_children (parameters); 1086s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1086s # n = 0; 1086s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[n++], skeleton); 1086s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1086s # g_value_set_object (¶mv[n++], invocation); 1086s # if (info->pass_fdlist) 1086s # { 1086s # #ifdef G_OS_UNIX 1086s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1086s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1086s # #else 1086s # g_assert_not_reached (); 1086s # #endif 1086s # } 1086s # g_variant_iter_init (&iter, parameters); 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1086s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1086s # if (!g_value_get_boolean (&return_value)) 1086s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1086s # g_value_unset (&return_value); 1086s # for (n = 0; n < num_params + num_extra; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static GVariant * 1086s # _org_project_useful_interface_skeleton_handle_get_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *ret; 1086s # ret = NULL; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # g_value_init (&value, pspec->value_type); 1086s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_value_unset (&value); 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _org_project_useful_interface_skeleton_handle_set_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GVariant *variant, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # gboolean ret; 1086s # ret = FALSE; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # if (info->use_gvariant) 1086s # g_value_set_variant (&value, variant); 1086s # else 1086s # g_dbus_gvariant_to_gvalue (variant, &value); 1086s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # g_value_unset (&value); 1086s # ret = TRUE; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1086s # { 1086s # _org_project_useful_interface_skeleton_handle_method_call, 1086s # _org_project_useful_interface_skeleton_handle_get_property, 1086s # _org_project_useful_interface_skeleton_handle_set_property, 1086s # {NULL} 1086s # }; 1086s # 1086s # static GDBusInterfaceInfo * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return org_project_useful_interface_interface_info (); 1086s # } 1086s # 1086s # static GDBusInterfaceVTable * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1086s # } 1086s # 1086s # static GVariant * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1086s # 1086s # GVariantBuilder builder; 1086s # guint n; 1086s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1086s # goto out; 1086s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1086s # { 1086s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1086s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1086s # { 1086s # GVariant *value; 1086s # 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); 1086s # if (value != NULL) 1086s # { 1086s # g_variant_take_ref (value); 1086s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1086s # g_variant_unref (value); 1086s # } 1086s # } 1086s # } 1086s # out: 1086s # return g_variant_builder_end (&builder); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_skeleton_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # g_main_context_unref (skeleton->priv->context); 1086s # g_mutex_clear (&skeleton->priv->lock); 1086s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1086s # #else 1086s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1086s # #endif 1086s # 1086s # g_mutex_init (&skeleton->priv->lock); 1086s # skeleton->priv->context = g_main_context_ref_thread_default (); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusInterfaceSkeletonClass *skeleton_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1086s # 1086s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1086s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1086s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1086s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1086s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_skeleton_new: 1086s # * 1086s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_skeleton_new (void) 1086s # { 1086s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1086s # } 1086s # /tmp/tmp2a8key32/tmpgoixgm53.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2a8key32/tmpgoixgm53.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifdef HAVE_CONFIG_H 1086s # # include "config.h" 1086s # #endif 1086s # 1086s # #include 1086s # #ifdef G_OS_UNIX 1086s # # include 1086s # #endif 1086s # 1086s # #ifdef G_ENABLE_DEBUG 1086s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1086s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1086s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1086s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1086s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1086s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1086s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1086s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1086s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1086s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1086s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1086s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1086s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1086s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1086s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1086s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1086s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1086s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1086s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1086s # #else /* !G_ENABLE_DEBUG */ 1086s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1086s # * Do not access GValues directly in your code. Instead, use the 1086s # * g_value_get_*() functions 1086s # */ 1086s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1086s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1086s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1086s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1086s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1086s # #endif /* !G_ENABLE_DEBUG */ 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusArgInfo parent_struct; 1086s # gboolean use_gvariant; 1086s # } _ExtendedGDBusArgInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusMethodInfo parent_struct; 1086s # const gchar *signal_name; 1086s # gboolean pass_fdlist; 1086s # } _ExtendedGDBusMethodInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusSignalInfo parent_struct; 1086s # const gchar *signal_name; 1086s # } _ExtendedGDBusSignalInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusPropertyInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # guint use_gvariant : 1; 1086s # guint emits_changed_signal : 1; 1086s # } _ExtendedGDBusPropertyInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusInterfaceInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # } _ExtendedGDBusInterfaceInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # guint prop_id; 1086s # GValue orig_value; /* the value before the change */ 1086s # } ChangedProperty; 1086s # 1086s # static void 1086s # _changed_property_free (ChangedProperty *data) 1086s # { 1086s # g_value_unset (&data->orig_value); 1086s # g_free (data); 1086s # } 1086s # 1086s # static gboolean 1086s # _g_strv_equal0 (gchar **a, gchar **b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # guint n; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # if (g_strv_length (a) != g_strv_length (b)) 1086s # goto out; 1086s # for (n = 0; a[n] != NULL; n++) 1086s # if (g_strcmp0 (a[n], b[n]) != 0) 1086s # goto out; 1086s # ret = TRUE; 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _g_variant_equal0 (GVariant *a, GVariant *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # ret = g_variant_equal (a, b); 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # G_GNUC_UNUSED static gboolean 1086s # _g_value_equal (const GValue *a, const GValue *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1086s # switch (G_VALUE_TYPE (a)) 1086s # { 1086s # case G_TYPE_BOOLEAN: 1086s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1086s # break; 1086s # case G_TYPE_UCHAR: 1086s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1086s # break; 1086s # case G_TYPE_INT: 1086s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1086s # break; 1086s # case G_TYPE_UINT: 1086s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1086s # break; 1086s # case G_TYPE_INT64: 1086s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1086s # break; 1086s # case G_TYPE_UINT64: 1086s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1086s # break; 1086s # case G_TYPE_DOUBLE: 1086s # { 1086s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1086s # gdouble da = g_value_get_double (a); 1086s # gdouble db = g_value_get_double (b); 1086s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1086s # } 1086s # break; 1086s # case G_TYPE_STRING: 1086s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1086s # break; 1086s # case G_TYPE_VARIANT: 1086s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1086s # break; 1086s # default: 1086s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1086s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1086s # else 1086s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1086s # break; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static void 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint G_GNUC_UNUSED, 1086s # void *marshal_data) 1086s # { 1086s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (void *data1, 1086s # GDBusMethodInvocation *arg_method_invocation, 1086s # void *data2); 1086s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1086s # GCClosure *cc = (GCClosure*) closure; 1086s # void *data1, *data2; 1086s # gboolean v_return; 1086s # 1086s # g_return_if_fail (return_value != NULL); 1086s # g_return_if_fail (n_param_values == 2); 1086s # 1086s # if (G_CCLOSURE_SWAP_DATA (closure)) 1086s # { 1086s # data1 = closure->data; 1086s # data2 = g_value_peek_pointer (param_values + 0); 1086s # } 1086s # else 1086s # { 1086s # data1 = g_value_peek_pointer (param_values + 0); 1086s # data2 = closure->data; 1086s # } 1086s # 1086s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (marshal_data ? marshal_data : cc->callback); 1086s # 1086s # v_return = 1086s # callback (data1, 1086s # g_marshal_value_peek_object (param_values + 1), 1086s # data2); 1086s # 1086s # g_value_set_boolean (return_value, v_return); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ 1086s # * Code for interface org.project.UsefulInterface 1086s # * ------------------------------------------------------------------------ 1086s # */ 1086s # 1086s # /** 1086s # * SECTION:OrgProjectUsefulInterface 1086s # * @title: OrgProjectUsefulInterface 1086s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1086s # * 1086s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1086s # */ 1086s # 1086s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "arg_y", 1086s # (gchar *) "y", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "SingleArgMethodY", 1086s # NULL, 1086s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 1086s # NULL 1086s # }, 1086s # "handle-single-arg-method-y", 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "org.project.UsefulInterface", 1086s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1086s # NULL, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "org-project-useful-interface", 1086s # }; 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_interface_info: 1086s # * 1086s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1086s # * 1086s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1086s # */ 1086s # GDBusInterfaceInfo * 1086s # org_project_useful_interface_interface_info (void) 1086s # { 1086s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_override_properties: 1086s # * @klass: The class structure for a #GObject derived class. 1086s # * @property_id_begin: The property id to assign to the first overridden property. 1086s # * 1086s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1086s # * The properties are overridden in the order they are defined. 1086s # * 1086s # * Returns: The last property id. 1086s # */ 1086s # guint 1086s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1086s # { 1086s # return property_id_begin - 1; 1086s # } 1086s # 1086s # 1086s # inline static void 1086s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint, 1086s # void *marshal_data) 1086s # { 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1086s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1086s # } 1086s # 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterface: 1086s # * 1086s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceIface: 1086s # * @parent_iface: The parent interface. 1086s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1086s # * 1086s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1086s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1086s # 1086s # static void 1086s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1086s # { 1086s # /* GObject signals for incoming D-Bus method calls: */ 1086s # /** 1086s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: A #GDBusMethodInvocation. 1086s # * 1086s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1086s # * 1086s # * 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. 1086s # * 1086s # * 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. 1086s # */ 1086s # g_signal_new ("handle-single-arg-method-y", 1086s # G_TYPE_FROM_INTERFACE (iface), 1086s # G_SIGNAL_RUN_LAST, 1086s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1086s # g_signal_accumulator_true_handled, 1086s # NULL, 1086s # org_project_useful_interface_method_marshal_single_arg_method_y, 1086s # G_TYPE_BOOLEAN, 1086s # 1, 1086s # G_TYPE_DBUS_METHOD_INVOCATION); 1086s # 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_y: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1086s # */ 1086s # void 1086s # org_project_useful_interface_call_single_arg_method_y ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodY", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # callback, 1086s # user_data); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_y_finish: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_y_finish ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # guchar *out_arg_y, 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(y)", 1086s # out_arg_y); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_y_sync: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_y_sync ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # guchar *out_arg_y, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodY", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(y)", 1086s # out_arg_y); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_complete_single_arg_method_y: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1086s # * @arg_y: Parameter to return. 1086s # * 1086s # * 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. 1086s # * 1086s # * This method will free @invocation, you cannot use it afterwards. 1086s # */ 1086s # void 1086s # org_project_useful_interface_complete_single_arg_method_y ( 1086s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1086s # GDBusMethodInvocation *invocation, 1086s # guchar arg_y) 1086s # { 1086s # g_dbus_method_invocation_return_value (invocation, 1086s # g_variant_new ("(y)", 1086s # arg_y)); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxy: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxyClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceProxyPrivate 1086s # { 1086s # GData *qdata; 1086s # }; 1086s # 1086s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_proxy_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1086s # g_datalist_clear (&proxy->priv->qdata); 1086s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # const GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1086s # const gchar *sender_name G_GNUC_UNUSED, 1086s # const gchar *signal_name, 1086s # GVariant *parameters) 1086s # { 1086s # _ExtendedGDBusSignalInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # gsize n; 1086s # guint signal_id; 1086s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1086s # if (info == NULL) 1086s # return; 1086s # num_params = g_variant_n_children (parameters); 1086s # paramv = g_new0 (GValue, num_params + 1); 1086s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[0], proxy); 1086s # g_variant_iter_init (&iter, parameters); 1086s # n = 1; 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_signal_emitv (paramv, signal_id, 0, NULL); 1086s # for (n = 0; n < num_params + 1; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1086s # GVariant *changed_properties, 1086s # const gchar *const *invalidated_properties) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1086s # guint n; 1086s # const gchar *key; 1086s # GVariantIter *iter; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # g_variant_get (changed_properties, "a{sv}", &iter); 1086s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1086s # g_datalist_remove_data (&proxy->priv->qdata, key); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # g_variant_iter_free (iter); 1086s # for (n = 0; invalidated_properties[n] != NULL; n++) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1086s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1086s # #else 1086s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1086s # #endif 1086s # 1086s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusProxyClass *proxy_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1086s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1086s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1086s # 1086s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1086s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1086s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_sync: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_sync ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new_for_bus ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_sync: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_sync ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeleton: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeletonClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1086s # { 1086s # GValue *properties; 1086s # GList *changed_properties; 1086s # GSource *changed_properties_idle_source; 1086s # GMainContext *context; 1086s # GMutex lock; 1086s # }; 1086s # 1086s # static void 1086s # _org_project_useful_interface_skeleton_handle_method_call ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name, 1086s # const gchar *method_name, 1086s # GVariant *parameters, 1086s # GDBusMethodInvocation *invocation, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # _ExtendedGDBusMethodInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # guint num_extra; 1086s # gsize n; 1086s # guint signal_id; 1086s # GValue return_value = G_VALUE_INIT; 1086s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1086s # g_assert (info != NULL); 1086s # num_params = g_variant_n_children (parameters); 1086s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1086s # n = 0; 1086s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[n++], skeleton); 1086s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1086s # g_value_set_object (¶mv[n++], invocation); 1086s # if (info->pass_fdlist) 1086s # { 1086s # #ifdef G_OS_UNIX 1086s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1086s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1086s # #else 1086s # g_assert_not_reached (); 1086s # #endif 1086s # } 1086s # g_variant_iter_init (&iter, parameters); 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1086s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1086s # if (!g_value_get_boolean (&return_value)) 1086s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1086s # g_value_unset (&return_value); 1086s # for (n = 0; n < num_params + num_extra; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static GVariant * 1086s # _org_project_useful_interface_skeleton_handle_get_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *ret; 1086s # ret = NULL; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # g_value_init (&value, pspec->value_type); 1086s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_value_unset (&value); 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _org_project_useful_interface_skeleton_handle_set_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GVariant *variant, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # gboolean ret; 1086s # ret = FALSE; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # if (info->use_gvariant) 1086s # g_value_set_variant (&value, variant); 1086s # else 1086s # g_dbus_gvariant_to_gvalue (variant, &value); 1086s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # g_value_unset (&value); 1086s # ret = TRUE; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1086s # { 1086s # _org_project_useful_interface_skeleton_handle_method_call, 1086s # _org_project_useful_interface_skeleton_handle_get_property, 1086s # _org_project_useful_interface_skeleton_handle_set_property, 1086s # {NULL} 1086s # }; 1086s # 1086s # static GDBusInterfaceInfo * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return org_project_useful_interface_interface_info (); 1086s # } 1086s # 1086s # static GDBusInterfaceVTable * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1086s # } 1086s # 1086s # static GVariant * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1086s # 1086s # GVariantBuilder builder; 1086s # guint n; 1086s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1086s # goto out; 1086s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1086s # { 1086s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1086s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1086s # { 1086s # GVariant *value; 1086s # 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); 1086s # if (value != NULL) 1086s # { 1086s # g_variant_take_ref (value); 1086s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1086s # g_variant_unref (value); 1086s # } 1086s # } 1086s # } 1086s # out: 1086s # return g_variant_builder_end (&builder); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_skeleton_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # g_main_context_unref (skeleton->priv->context); 1086s # g_mutex_clear (&skeleton->priv->lock); 1086s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1086s # #else 1086s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1086s # #endif 1086s # 1086s # g_mutex_init (&skeleton->priv->lock); 1086s # skeleton->priv->context = g_main_context_ref_thread_default (); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusInterfaceSkeletonClass *skeleton_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1086s # 1086s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1086s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1086s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1086s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1086s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_skeleton_new: 1086s # * 1086s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_skeleton_new (void) 1086s # { 1086s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1086s # } 1086s # /tmp/tmp2a8key32/tmp6z5dv3ln.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2a8key32/tmp6z5dv3ln.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifdef HAVE_CONFIG_H 1086s # # include "config.h" 1086s # #endif 1086s # 1086s # #include 1086s # #ifdef G_OS_UNIX 1086s # # include 1086s # #endif 1086s # 1086s # #ifdef G_ENABLE_DEBUG 1086s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1086s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1086s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1086s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1086s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1086s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1086s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1086s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1086s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1086s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1086s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1086s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1086s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1086s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1086s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1086s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1086s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1086s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1086s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1086s # #else /* !G_ENABLE_DEBUG */ 1086s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1086s # * Do not access GValues directly in your code. Instead, use the 1086s # * g_value_get_*() functions 1086s # */ 1086s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1086s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1086s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1086s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1086s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1086s # #endif /* !G_ENABLE_DEBUG */ 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusArgInfo parent_struct; 1086s # gboolean use_gvariant; 1086s # } _ExtendedGDBusArgInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusMethodInfo parent_struct; 1086s # const gchar *signal_name; 1086s # gboolean pass_fdlist; 1086s # } _ExtendedGDBusMethodInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusSignalInfo parent_struct; 1086s # const gchar *signal_name; 1086s # } _ExtendedGDBusSignalInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusPropertyInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # guint use_gvariant : 1; 1086s # guint emits_changed_signal : 1; 1086s # } _ExtendedGDBusPropertyInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusInterfaceInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # } _ExtendedGDBusInterfaceInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # guint prop_id; 1086s # GValue orig_value; /* the value before the change */ 1086s # } ChangedProperty; 1086s # 1086s # static void 1086s # _changed_property_free (ChangedProperty *data) 1086s # { 1086s # g_value_unset (&data->orig_value); 1086s # g_free (data); 1086s # } 1086s # 1086s # static gboolean 1086s # _g_strv_equal0 (gchar **a, gchar **b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # guint n; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # if (g_strv_length (a) != g_strv_length (b)) 1086s # goto out; 1086s # for (n = 0; a[n] != NULL; n++) 1086s # if (g_strcmp0 (a[n], b[n]) != 0) 1086s # goto out; 1086s # ret = TRUE; 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _g_variant_equal0 (GVariant *a, GVariant *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # ret = g_variant_equal (a, b); 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # G_GNUC_UNUSED static gboolean 1086s # _g_value_equal (const GValue *a, const GValue *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1086s # switch (G_VALUE_TYPE (a)) 1086s # { 1086s # case G_TYPE_BOOLEAN: 1086s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1086s # break; 1086s # case G_TYPE_UCHAR: 1086s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1086s # break; 1086s # case G_TYPE_INT: 1086s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1086s # break; 1086s # case G_TYPE_UINT: 1086s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1086s # break; 1086s # case G_TYPE_INT64: 1086s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1086s # break; 1086s # case G_TYPE_UINT64: 1086s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1086s # break; 1086s # case G_TYPE_DOUBLE: 1086s # { 1086s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1086s # gdouble da = g_value_get_double (a); 1086s # gdouble db = g_value_get_double (b); 1086s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1086s # } 1086s # break; 1086s # case G_TYPE_STRING: 1086s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1086s # break; 1086s # case G_TYPE_VARIANT: 1086s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1086s # break; 1086s # default: 1086s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1086s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1086s # else 1086s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1086s # break; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static void 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint G_GNUC_UNUSED, 1086s # void *marshal_data) 1086s # { 1086s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (void *data1, 1086s # GDBusMethodInvocation *arg_method_invocation, 1086s # void *data2); 1086s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1086s # GCClosure *cc = (GCClosure*) closure; 1086s # void *data1, *data2; 1086s # gboolean v_return; 1086s # 1086s # g_return_if_fail (return_value != NULL); 1086s # g_return_if_fail (n_param_values == 2); 1086s # 1086s # if (G_CCLOSURE_SWAP_DATA (closure)) 1086s # { 1086s # data1 = closure->data; 1086s # data2 = g_value_peek_pointer (param_values + 0); 1086s # } 1086s # else 1086s # { 1086s # data1 = g_value_peek_pointer (param_values + 0); 1086s # data2 = closure->data; 1086s # } 1086s # 1086s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (marshal_data ? marshal_data : cc->callback); 1086s # 1086s # v_return = 1086s # callback (data1, 1086s # g_marshal_value_peek_object (param_values + 1), 1086s # data2); 1086s # 1086s # g_value_set_boolean (return_value, v_return); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ 1086s # * Code for interface org.project.UsefulInterface 1086s # * ------------------------------------------------------------------------ 1086s # */ 1086s # 1086s # /** 1086s # * SECTION:OrgProjectUsefulInterface 1086s # * @title: OrgProjectUsefulInterface 1086s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1086s # * 1086s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1086s # */ 1086s # 1086s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "arg_n", 1086s # (gchar *) "n", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "SingleArgMethodN", 1086s # NULL, 1086s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 1086s # NULL 1086s # }, 1086s # "handle-single-arg-method-n", 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "org.project.UsefulInterface", 1086s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1086s # NULL, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "org-project-useful-interface", 1086s # }; 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_interface_info: 1086s # * 1086s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1086s # * 1086s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1086s # */ 1086s # GDBusInterfaceInfo * 1086s # org_project_useful_interface_interface_info (void) 1086s # { 1086s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_override_properties: 1086s # * @klass: The class structure for a #GObject derived class. 1086s # * @property_id_begin: The property id to assign to the first overridden property. 1086s # * 1086s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1086s # * The properties are overridden in the order they are defined. 1086s # * 1086s # * Returns: The last property id. 1086s # */ 1086s # guint 1086s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1086s # { 1086s # return property_id_begin - 1; 1086s # } 1086s # 1086s # 1086s # inline static void 1086s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint, 1086s # void *marshal_data) 1086s # { 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1086s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1086s # } 1086s # 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterface: 1086s # * 1086s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceIface: 1086s # * @parent_iface: The parent interface. 1086s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1086s # * 1086s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1086s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1086s # 1086s # static void 1086s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1086s # { 1086s # /* GObject signals for incoming D-Bus method calls: */ 1086s # /** 1086s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: A #GDBusMethodInvocation. 1086s # * 1086s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1086s # * 1086s # * 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. 1086s # * 1086s # * 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. 1086s # */ 1086s # g_signal_new ("handle-single-arg-method-n", 1086s # G_TYPE_FROM_INTERFACE (iface), 1086s # G_SIGNAL_RUN_LAST, 1086s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1086s # g_signal_accumulator_true_handled, 1086s # NULL, 1086s # org_project_useful_interface_method_marshal_single_arg_method_n, 1086s # G_TYPE_BOOLEAN, 1086s # 1, 1086s # G_TYPE_DBUS_METHOD_INVOCATION); 1086s # 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_n: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1086s # */ 1086s # void 1086s # org_project_useful_interface_call_single_arg_method_n ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodN", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # callback, 1086s # user_data); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_n_finish: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_n_finish ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # gint16 *out_arg_n, 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(n)", 1086s # out_arg_n); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_n_sync: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_n_sync ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # gint16 *out_arg_n, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodN", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(n)", 1086s # out_arg_n); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_complete_single_arg_method_n: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1086s # * @arg_n: Parameter to return. 1086s # * 1086s # * 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. 1086s # * 1086s # * This method will free @invocation, you cannot use it afterwards. 1086s # */ 1086s # void 1086s # org_project_useful_interface_complete_single_arg_method_n ( 1086s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1086s # GDBusMethodInvocation *invocation, 1086s # gint16 arg_n) 1086s # { 1086s # g_dbus_method_invocation_return_value (invocation, 1086s # g_variant_new ("(n)", 1086s # arg_n)); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxy: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxyClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceProxyPrivate 1086s # { 1086s # GData *qdata; 1086s # }; 1086s # 1086s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_proxy_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1086s # g_datalist_clear (&proxy->priv->qdata); 1086s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # const GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1086s # const gchar *sender_name G_GNUC_UNUSED, 1086s # const gchar *signal_name, 1086s # GVariant *parameters) 1086s # { 1086s # _ExtendedGDBusSignalInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # gsize n; 1086s # guint signal_id; 1086s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1086s # if (info == NULL) 1086s # return; 1086s # num_params = g_variant_n_children (parameters); 1086s # paramv = g_new0 (GValue, num_params + 1); 1086s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[0], proxy); 1086s # g_variant_iter_init (&iter, parameters); 1086s # n = 1; 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_signal_emitv (paramv, signal_id, 0, NULL); 1086s # for (n = 0; n < num_params + 1; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1086s # GVariant *changed_properties, 1086s # const gchar *const *invalidated_properties) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1086s # guint n; 1086s # const gchar *key; 1086s # GVariantIter *iter; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # g_variant_get (changed_properties, "a{sv}", &iter); 1086s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1086s # g_datalist_remove_data (&proxy->priv->qdata, key); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # g_variant_iter_free (iter); 1086s # for (n = 0; invalidated_properties[n] != NULL; n++) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1086s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1086s # #else 1086s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1086s # #endif 1086s # 1086s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusProxyClass *proxy_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1086s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1086s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1086s # 1086s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1086s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1086s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_sync: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_sync ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new_for_bus ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_sync: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_sync ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeleton: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeletonClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1086s # { 1086s # GValue *properties; 1086s # GList *changed_properties; 1086s # GSource *changed_properties_idle_source; 1086s # GMainContext *context; 1086s # GMutex lock; 1086s # }; 1086s # 1086s # static void 1086s # _org_project_useful_interface_skeleton_handle_method_call ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name, 1086s # const gchar *method_name, 1086s # GVariant *parameters, 1086s # GDBusMethodInvocation *invocation, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # _ExtendedGDBusMethodInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # guint num_extra; 1086s # gsize n; 1086s # guint signal_id; 1086s # GValue return_value = G_VALUE_INIT; 1086s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1086s # g_assert (info != NULL); 1086s # num_params = g_variant_n_children (parameters); 1086s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1086s # n = 0; 1086s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[n++], skeleton); 1086s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1086s # g_value_set_object (¶mv[n++], invocation); 1086s # if (info->pass_fdlist) 1086s # { 1086s # #ifdef G_OS_UNIX 1086s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1086s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1086s # #else 1086s # g_assert_not_reached (); 1086s # #endif 1086s # } 1086s # g_variant_iter_init (&iter, parameters); 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1086s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1086s # if (!g_value_get_boolean (&return_value)) 1086s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1086s # g_value_unset (&return_value); 1086s # for (n = 0; n < num_params + num_extra; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static GVariant * 1086s # _org_project_useful_interface_skeleton_handle_get_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *ret; 1086s # ret = NULL; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # g_value_init (&value, pspec->value_type); 1086s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_value_unset (&value); 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _org_project_useful_interface_skeleton_handle_set_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GVariant *variant, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # gboolean ret; 1086s # ret = FALSE; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # if (info->use_gvariant) 1086s # g_value_set_variant (&value, variant); 1086s # else 1086s # g_dbus_gvariant_to_gvalue (variant, &value); 1086s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # g_value_unset (&value); 1086s # ret = TRUE; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1086s # { 1086s # _org_project_useful_interface_skeleton_handle_method_call, 1086s # _org_project_useful_interface_skeleton_handle_get_property, 1086s # _org_project_useful_interface_skeleton_handle_set_property, 1086s # {NULL} 1086s # }; 1086s # 1086s # static GDBusInterfaceInfo * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return org_project_useful_interface_interface_info (); 1086s # } 1086s # 1086s # static GDBusInterfaceVTable * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1086s # } 1086s # 1086s # static GVariant * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1086s # 1086s # GVariantBuilder builder; 1086s # guint n; 1086s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1086s # goto out; 1086s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1086s # { 1086s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1086s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1086s # { 1086s # GVariant *value; 1086s # 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); 1086s # if (value != NULL) 1086s # { 1086s # g_variant_take_ref (value); 1086s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1086s # g_variant_unref (value); 1086s # } 1086s # } 1086s # } 1086s # out: 1086s # return g_variant_builder_end (&builder); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_skeleton_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # g_main_context_unref (skeleton->priv->context); 1086s # g_mutex_clear (&skeleton->priv->lock); 1086s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1086s # #else 1086s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1086s # #endif 1086s # 1086s # g_mutex_init (&skeleton->priv->lock); 1086s # skeleton->priv->context = g_main_context_ref_thread_default (); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusInterfaceSkeletonClass *skeleton_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1086s # 1086s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1086s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1086s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1086s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1086s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_skeleton_new: 1086s # * 1086s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_skeleton_new (void) 1086s # { 1086s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1086s # } 1086s # /tmp/tmp2a8key32/tmprkhkeu0t.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2a8key32/tmprkhkeu0t.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifdef HAVE_CONFIG_H 1086s # # include "config.h" 1086s # #endif 1086s # 1086s # #include 1086s # #ifdef G_OS_UNIX 1086s # # include 1086s # #endif 1086s # 1086s # #ifdef G_ENABLE_DEBUG 1086s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1086s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1086s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1086s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1086s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1086s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1086s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1086s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1086s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1086s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1086s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1086s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1086s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1086s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1086s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1086s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1086s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1086s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1086s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1086s # #else /* !G_ENABLE_DEBUG */ 1086s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1086s # * Do not access GValues directly in your code. Instead, use the 1086s # * g_value_get_*() functions 1086s # */ 1086s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1086s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1086s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1086s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1086s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1086s # #endif /* !G_ENABLE_DEBUG */ 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusArgInfo parent_struct; 1086s # gboolean use_gvariant; 1086s # } _ExtendedGDBusArgInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusMethodInfo parent_struct; 1086s # const gchar *signal_name; 1086s # gboolean pass_fdlist; 1086s # } _ExtendedGDBusMethodInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusSignalInfo parent_struct; 1086s # const gchar *signal_name; 1086s # } _ExtendedGDBusSignalInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusPropertyInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # guint use_gvariant : 1; 1086s # guint emits_changed_signal : 1; 1086s # } _ExtendedGDBusPropertyInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusInterfaceInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # } _ExtendedGDBusInterfaceInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # guint prop_id; 1086s # GValue orig_value; /* the value before the change */ 1086s # } ChangedProperty; 1086s # 1086s # static void 1086s # _changed_property_free (ChangedProperty *data) 1086s # { 1086s # g_value_unset (&data->orig_value); 1086s # g_free (data); 1086s # } 1086s # 1086s # static gboolean 1086s # _g_strv_equal0 (gchar **a, gchar **b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # guint n; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # if (g_strv_length (a) != g_strv_length (b)) 1086s # goto out; 1086s # for (n = 0; a[n] != NULL; n++) 1086s # if (g_strcmp0 (a[n], b[n]) != 0) 1086s # goto out; 1086s # ret = TRUE; 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _g_variant_equal0 (GVariant *a, GVariant *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # ret = g_variant_equal (a, b); 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # G_GNUC_UNUSED static gboolean 1086s # _g_value_equal (const GValue *a, const GValue *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1086s # switch (G_VALUE_TYPE (a)) 1086s # { 1086s # case G_TYPE_BOOLEAN: 1086s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1086s # break; 1086s # case G_TYPE_UCHAR: 1086s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1086s # break; 1086s # case G_TYPE_INT: 1086s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1086s # break; 1086s # case G_TYPE_UINT: 1086s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1086s # break; 1086s # case G_TYPE_INT64: 1086s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1086s # break; 1086s # case G_TYPE_UINT64: 1086s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1086s # break; 1086s # case G_TYPE_DOUBLE: 1086s # { 1086s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1086s # gdouble da = g_value_get_double (a); 1086s # gdouble db = g_value_get_double (b); 1086s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1086s # } 1086s # break; 1086s # case G_TYPE_STRING: 1086s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1086s # break; 1086s # case G_TYPE_VARIANT: 1086s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1086s # break; 1086s # default: 1086s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1086s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1086s # else 1086s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1086s # break; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static void 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint G_GNUC_UNUSED, 1086s # void *marshal_data) 1086s # { 1086s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (void *data1, 1086s # GDBusMethodInvocation *arg_method_invocation, 1086s # void *data2); 1086s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1086s # GCClosure *cc = (GCClosure*) closure; 1086s # void *data1, *data2; 1086s # gboolean v_return; 1086s # 1086s # g_return_if_fail (return_value != NULL); 1086s # g_return_if_fail (n_param_values == 2); 1086s # 1086s # if (G_CCLOSURE_SWAP_DATA (closure)) 1086s # { 1086s # data1 = closure->data; 1086s # data2 = g_value_peek_pointer (param_values + 0); 1086s # } 1086s # else 1086s # { 1086s # data1 = g_value_peek_pointer (param_values + 0); 1086s # data2 = closure->data; 1086s # } 1086s # 1086s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (marshal_data ? marshal_data : cc->callback); 1086s # 1086s # v_return = 1086s # callback (data1, 1086s # g_marshal_value_peek_object (param_values + 1), 1086s # data2); 1086s # 1086s # g_value_set_boolean (return_value, v_return); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ 1086s # * Code for interface org.project.UsefulInterface 1086s # * ------------------------------------------------------------------------ 1086s # */ 1086s # 1086s # /** 1086s # * SECTION:OrgProjectUsefulInterface 1086s # * @title: OrgProjectUsefulInterface 1086s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1086s # * 1086s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1086s # */ 1086s # 1086s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "arg_q", 1086s # (gchar *) "q", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "SingleArgMethodQ", 1086s # NULL, 1086s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 1086s # NULL 1086s # }, 1086s # "handle-single-arg-method-q", 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "org.project.UsefulInterface", 1086s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1086s # NULL, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "org-project-useful-interface", 1086s # }; 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_interface_info: 1086s # * 1086s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1086s # * 1086s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1086s # */ 1086s # GDBusInterfaceInfo * 1086s # org_project_useful_interface_interface_info (void) 1086s # { 1086s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_override_properties: 1086s # * @klass: The class structure for a #GObject derived class. 1086s # * @property_id_begin: The property id to assign to the first overridden property. 1086s # * 1086s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1086s # * The properties are overridden in the order they are defined. 1086s # * 1086s # * Returns: The last property id. 1086s # */ 1086s # guint 1086s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1086s # { 1086s # return property_id_begin - 1; 1086s # } 1086s # 1086s # 1086s # inline static void 1086s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint, 1086s # void *marshal_data) 1086s # { 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1086s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1086s # } 1086s # 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterface: 1086s # * 1086s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceIface: 1086s # * @parent_iface: The parent interface. 1086s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1086s # * 1086s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1086s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1086s # 1086s # static void 1086s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1086s # { 1086s # /* GObject signals for incoming D-Bus method calls: */ 1086s # /** 1086s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: A #GDBusMethodInvocation. 1086s # * 1086s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1086s # * 1086s # * 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. 1086s # * 1086s # * 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. 1086s # */ 1086s # g_signal_new ("handle-single-arg-method-q", 1086s # G_TYPE_FROM_INTERFACE (iface), 1086s # G_SIGNAL_RUN_LAST, 1086s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1086s # g_signal_accumulator_true_handled, 1086s # NULL, 1086s # org_project_useful_interface_method_marshal_single_arg_method_q, 1086s # G_TYPE_BOOLEAN, 1086s # 1, 1086s # G_TYPE_DBUS_METHOD_INVOCATION); 1086s # 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_q: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1086s # */ 1086s # void 1086s # org_project_useful_interface_call_single_arg_method_q ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodQ", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # callback, 1086s # user_data); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_q_finish: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_q_finish ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # guint16 *out_arg_q, 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(q)", 1086s # out_arg_q); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_q_sync: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_q_sync ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # guint16 *out_arg_q, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodQ", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(q)", 1086s # out_arg_q); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_complete_single_arg_method_q: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1086s # * @arg_q: Parameter to return. 1086s # * 1086s # * 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. 1086s # * 1086s # * This method will free @invocation, you cannot use it afterwards. 1086s # */ 1086s # void 1086s # org_project_useful_interface_complete_single_arg_method_q ( 1086s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1086s # GDBusMethodInvocation *invocation, 1086s # guint16 arg_q) 1086s # { 1086s # g_dbus_method_invocation_return_value (invocation, 1086s # g_variant_new ("(q)", 1086s # arg_q)); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxy: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxyClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceProxyPrivate 1086s # { 1086s # GData *qdata; 1086s # }; 1086s # 1086s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_proxy_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1086s # g_datalist_clear (&proxy->priv->qdata); 1086s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # const GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1086s # const gchar *sender_name G_GNUC_UNUSED, 1086s # const gchar *signal_name, 1086s # GVariant *parameters) 1086s # { 1086s # _ExtendedGDBusSignalInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # gsize n; 1086s # guint signal_id; 1086s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1086s # if (info == NULL) 1086s # return; 1086s # num_params = g_variant_n_children (parameters); 1086s # paramv = g_new0 (GValue, num_params + 1); 1086s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[0], proxy); 1086s # g_variant_iter_init (&iter, parameters); 1086s # n = 1; 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_signal_emitv (paramv, signal_id, 0, NULL); 1086s # for (n = 0; n < num_params + 1; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1086s # GVariant *changed_properties, 1086s # const gchar *const *invalidated_properties) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1086s # guint n; 1086s # const gchar *key; 1086s # GVariantIter *iter; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # g_variant_get (changed_properties, "a{sv}", &iter); 1086s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1086s # g_datalist_remove_data (&proxy->priv->qdata, key); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # g_variant_iter_free (iter); 1086s # for (n = 0; invalidated_properties[n] != NULL; n++) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1086s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1086s # #else 1086s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1086s # #endif 1086s # 1086s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusProxyClass *proxy_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1086s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1086s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1086s # 1086s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1086s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1086s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_sync: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_sync ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new_for_bus ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_sync: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_sync ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeleton: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeletonClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1086s # { 1086s # GValue *properties; 1086s # GList *changed_properties; 1086s # GSource *changed_properties_idle_source; 1086s # GMainContext *context; 1086s # GMutex lock; 1086s # }; 1086s # 1086s # static void 1086s # _org_project_useful_interface_skeleton_handle_method_call ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name, 1086s # const gchar *method_name, 1086s # GVariant *parameters, 1086s # GDBusMethodInvocation *invocation, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # _ExtendedGDBusMethodInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # guint num_extra; 1086s # gsize n; 1086s # guint signal_id; 1086s # GValue return_value = G_VALUE_INIT; 1086s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1086s # g_assert (info != NULL); 1086s # num_params = g_variant_n_children (parameters); 1086s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1086s # n = 0; 1086s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[n++], skeleton); 1086s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1086s # g_value_set_object (¶mv[n++], invocation); 1086s # if (info->pass_fdlist) 1086s # { 1086s # #ifdef G_OS_UNIX 1086s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1086s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1086s # #else 1086s # g_assert_not_reached (); 1086s # #endif 1086s # } 1086s # g_variant_iter_init (&iter, parameters); 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1086s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1086s # if (!g_value_get_boolean (&return_value)) 1086s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1086s # g_value_unset (&return_value); 1086s # for (n = 0; n < num_params + num_extra; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static GVariant * 1086s # _org_project_useful_interface_skeleton_handle_get_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *ret; 1086s # ret = NULL; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # g_value_init (&value, pspec->value_type); 1086s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_value_unset (&value); 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _org_project_useful_interface_skeleton_handle_set_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GVariant *variant, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # gboolean ret; 1086s # ret = FALSE; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # if (info->use_gvariant) 1086s # g_value_set_variant (&value, variant); 1086s # else 1086s # g_dbus_gvariant_to_gvalue (variant, &value); 1086s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # g_value_unset (&value); 1086s # ret = TRUE; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1086s # { 1086s # _org_project_useful_interface_skeleton_handle_method_call, 1086s # _org_project_useful_interface_skeleton_handle_get_property, 1086s # _org_project_useful_interface_skeleton_handle_set_property, 1086s # {NULL} 1086s # }; 1086s # 1086s # static GDBusInterfaceInfo * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return org_project_useful_interface_interface_info (); 1086s # } 1086s # 1086s # static GDBusInterfaceVTable * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1086s # } 1086s # 1086s # static GVariant * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1086s # 1086s # GVariantBuilder builder; 1086s # guint n; 1086s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1086s # goto out; 1086s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1086s # { 1086s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1086s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1086s # { 1086s # GVariant *value; 1086s # 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); 1086s # if (value != NULL) 1086s # { 1086s # g_variant_take_ref (value); 1086s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1086s # g_variant_unref (value); 1086s # } 1086s # } 1086s # } 1086s # out: 1086s # return g_variant_builder_end (&builder); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_skeleton_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # g_main_context_unref (skeleton->priv->context); 1086s # g_mutex_clear (&skeleton->priv->lock); 1086s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1086s # #else 1086s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1086s # #endif 1086s # 1086s # g_mutex_init (&skeleton->priv->lock); 1086s # skeleton->priv->context = g_main_context_ref_thread_default (); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusInterfaceSkeletonClass *skeleton_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1086s # 1086s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1086s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1086s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1086s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1086s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_skeleton_new: 1086s # * 1086s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_skeleton_new (void) 1086s # { 1086s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1086s # } 1086s # /tmp/tmp2a8key32/tmphr2lryf2.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2a8key32/tmphr2lryf2.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifdef HAVE_CONFIG_H 1086s # # include "config.h" 1086s # #endif 1086s # 1086s # #include 1086s # #ifdef G_OS_UNIX 1086s # # include 1086s # #endif 1086s # 1086s # #ifdef G_ENABLE_DEBUG 1086s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1086s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1086s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1086s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1086s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1086s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1086s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1086s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1086s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1086s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1086s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1086s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1086s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1086s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1086s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1086s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1086s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1086s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1086s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1086s # #else /* !G_ENABLE_DEBUG */ 1086s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1086s # * Do not access GValues directly in your code. Instead, use the 1086s # * g_value_get_*() functions 1086s # */ 1086s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1086s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1086s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1086s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1086s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1086s # #endif /* !G_ENABLE_DEBUG */ 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusArgInfo parent_struct; 1086s # gboolean use_gvariant; 1086s # } _ExtendedGDBusArgInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusMethodInfo parent_struct; 1086s # const gchar *signal_name; 1086s # gboolean pass_fdlist; 1086s # } _ExtendedGDBusMethodInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusSignalInfo parent_struct; 1086s # const gchar *signal_name; 1086s # } _ExtendedGDBusSignalInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusPropertyInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # guint use_gvariant : 1; 1086s # guint emits_changed_signal : 1; 1086s # } _ExtendedGDBusPropertyInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusInterfaceInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # } _ExtendedGDBusInterfaceInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # guint prop_id; 1086s # GValue orig_value; /* the value before the change */ 1086s # } ChangedProperty; 1086s # 1086s # static void 1086s # _changed_property_free (ChangedProperty *data) 1086s # { 1086s # g_value_unset (&data->orig_value); 1086s # g_free (data); 1086s # } 1086s # 1086s # static gboolean 1086s # _g_strv_equal0 (gchar **a, gchar **b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # guint n; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # if (g_strv_length (a) != g_strv_length (b)) 1086s # goto out; 1086s # for (n = 0; a[n] != NULL; n++) 1086s # if (g_strcmp0 (a[n], b[n]) != 0) 1086s # goto out; 1086s # ret = TRUE; 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _g_variant_equal0 (GVariant *a, GVariant *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # ret = g_variant_equal (a, b); 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # G_GNUC_UNUSED static gboolean 1086s # _g_value_equal (const GValue *a, const GValue *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1086s # switch (G_VALUE_TYPE (a)) 1086s # { 1086s # case G_TYPE_BOOLEAN: 1086s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1086s # break; 1086s # case G_TYPE_UCHAR: 1086s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1086s # break; 1086s # case G_TYPE_INT: 1086s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1086s # break; 1086s # case G_TYPE_UINT: 1086s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1086s # break; 1086s # case G_TYPE_INT64: 1086s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1086s # break; 1086s # case G_TYPE_UINT64: 1086s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1086s # break; 1086s # case G_TYPE_DOUBLE: 1086s # { 1086s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1086s # gdouble da = g_value_get_double (a); 1086s # gdouble db = g_value_get_double (b); 1086s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1086s # } 1086s # break; 1086s # case G_TYPE_STRING: 1086s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1086s # break; 1086s # case G_TYPE_VARIANT: 1086s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1086s # break; 1086s # default: 1086s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1086s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1086s # else 1086s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1086s # break; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static void 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint G_GNUC_UNUSED, 1086s # void *marshal_data) 1086s # { 1086s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (void *data1, 1086s # GDBusMethodInvocation *arg_method_invocation, 1086s # void *data2); 1086s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1086s # GCClosure *cc = (GCClosure*) closure; 1086s # void *data1, *data2; 1086s # gboolean v_return; 1086s # 1086s # g_return_if_fail (return_value != NULL); 1086s # g_return_if_fail (n_param_values == 2); 1086s # 1086s # if (G_CCLOSURE_SWAP_DATA (closure)) 1086s # { 1086s # data1 = closure->data; 1086s # data2 = g_value_peek_pointer (param_values + 0); 1086s # } 1086s # else 1086s # { 1086s # data1 = g_value_peek_pointer (param_values + 0); 1086s # data2 = closure->data; 1086s # } 1086s # 1086s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (marshal_data ? marshal_data : cc->callback); 1086s # 1086s # v_return = 1086s # callback (data1, 1086s # g_marshal_value_peek_object (param_values + 1), 1086s # data2); 1086s # 1086s # g_value_set_boolean (return_value, v_return); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ 1086s # * Code for interface org.project.UsefulInterface 1086s # * ------------------------------------------------------------------------ 1086s # */ 1086s # 1086s # /** 1086s # * SECTION:OrgProjectUsefulInterface 1086s # * @title: OrgProjectUsefulInterface 1086s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1086s # * 1086s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1086s # */ 1086s # 1086s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "arg_i", 1086s # (gchar *) "i", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "SingleArgMethodI", 1086s # NULL, 1086s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 1086s # NULL 1086s # }, 1086s # "handle-single-arg-method-i", 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "org.project.UsefulInterface", 1086s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1086s # NULL, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "org-project-useful-interface", 1086s # }; 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_interface_info: 1086s # * 1086s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1086s # * 1086s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1086s # */ 1086s # GDBusInterfaceInfo * 1086s # org_project_useful_interface_interface_info (void) 1086s # { 1086s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_override_properties: 1086s # * @klass: The class structure for a #GObject derived class. 1086s # * @property_id_begin: The property id to assign to the first overridden property. 1086s # * 1086s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1086s # * The properties are overridden in the order they are defined. 1086s # * 1086s # * Returns: The last property id. 1086s # */ 1086s # guint 1086s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1086s # { 1086s # return property_id_begin - 1; 1086s # } 1086s # 1086s # 1086s # inline static void 1086s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint, 1086s # void *marshal_data) 1086s # { 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1086s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1086s # } 1086s # 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterface: 1086s # * 1086s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceIface: 1086s # * @parent_iface: The parent interface. 1086s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1086s # * 1086s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1086s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1086s # 1086s # static void 1086s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1086s # { 1086s # /* GObject signals for incoming D-Bus method calls: */ 1086s # /** 1086s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: A #GDBusMethodInvocation. 1086s # * 1086s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1086s # * 1086s # * 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. 1086s # * 1086s # * 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. 1086s # */ 1086s # g_signal_new ("handle-single-arg-method-i", 1086s # G_TYPE_FROM_INTERFACE (iface), 1086s # G_SIGNAL_RUN_LAST, 1086s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1086s # g_signal_accumulator_true_handled, 1086s # NULL, 1086s # org_project_useful_interface_method_marshal_single_arg_method_i, 1086s # G_TYPE_BOOLEAN, 1086s # 1, 1086s # G_TYPE_DBUS_METHOD_INVOCATION); 1086s # 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_i: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1086s # */ 1086s # void 1086s # org_project_useful_interface_call_single_arg_method_i ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodI", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # callback, 1086s # user_data); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_i_finish: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_i_finish ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # gint *out_arg_i, 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(i)", 1086s # out_arg_i); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_i_sync: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_i_sync ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # gint *out_arg_i, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodI", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(i)", 1086s # out_arg_i); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_complete_single_arg_method_i: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1086s # * @arg_i: Parameter to return. 1086s # * 1086s # * 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. 1086s # * 1086s # * This method will free @invocation, you cannot use it afterwards. 1086s # */ 1086s # void 1086s # org_project_useful_interface_complete_single_arg_method_i ( 1086s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1086s # GDBusMethodInvocation *invocation, 1086s # gint arg_i) 1086s # { 1086s # g_dbus_method_invocation_return_value (invocation, 1086s # g_variant_new ("(i)", 1086s # arg_i)); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxy: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxyClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceProxyPrivate 1086s # { 1086s # GData *qdata; 1086s # }; 1086s # 1086s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_proxy_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1086s # g_datalist_clear (&proxy->priv->qdata); 1086s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # const GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1086s # const gchar *sender_name G_GNUC_UNUSED, 1086s # const gchar *signal_name, 1086s # GVariant *parameters) 1086s # { 1086s # _ExtendedGDBusSignalInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # gsize n; 1086s # guint signal_id; 1086s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1086s # if (info == NULL) 1086s # return; 1086s # num_params = g_variant_n_children (parameters); 1086s # paramv = g_new0 (GValue, num_params + 1); 1086s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[0], proxy); 1086s # g_variant_iter_init (&iter, parameters); 1086s # n = 1; 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_signal_emitv (paramv, signal_id, 0, NULL); 1086s # for (n = 0; n < num_params + 1; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1086s # GVariant *changed_properties, 1086s # const gchar *const *invalidated_properties) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1086s # guint n; 1086s # const gchar *key; 1086s # GVariantIter *iter; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # g_variant_get (changed_properties, "a{sv}", &iter); 1086s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1086s # g_datalist_remove_data (&proxy->priv->qdata, key); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # g_variant_iter_free (iter); 1086s # for (n = 0; invalidated_properties[n] != NULL; n++) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1086s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1086s # #else 1086s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1086s # #endif 1086s # 1086s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusProxyClass *proxy_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1086s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1086s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1086s # 1086s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1086s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1086s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_sync: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_sync ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new_for_bus ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_sync: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_sync ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeleton: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeletonClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1086s # { 1086s # GValue *properties; 1086s # GList *changed_properties; 1086s # GSource *changed_properties_idle_source; 1086s # GMainContext *context; 1086s # GMutex lock; 1086s # }; 1086s # 1086s # static void 1086s # _org_project_useful_interface_skeleton_handle_method_call ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name, 1086s # const gchar *method_name, 1086s # GVariant *parameters, 1086s # GDBusMethodInvocation *invocation, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # _ExtendedGDBusMethodInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # guint num_extra; 1086s # gsize n; 1086s # guint signal_id; 1086s # GValue return_value = G_VALUE_INIT; 1086s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1086s # g_assert (info != NULL); 1086s # num_params = g_variant_n_children (parameters); 1086s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1086s # n = 0; 1086s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[n++], skeleton); 1086s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1086s # g_value_set_object (¶mv[n++], invocation); 1086s # if (info->pass_fdlist) 1086s # { 1086s # #ifdef G_OS_UNIX 1086s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1086s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1086s # #else 1086s # g_assert_not_reached (); 1086s # #endif 1086s # } 1086s # g_variant_iter_init (&iter, parameters); 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1086s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1086s # if (!g_value_get_boolean (&return_value)) 1086s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1086s # g_value_unset (&return_value); 1086s # for (n = 0; n < num_params + num_extra; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static GVariant * 1086s # _org_project_useful_interface_skeleton_handle_get_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *ret; 1086s # ret = NULL; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # g_value_init (&value, pspec->value_type); 1086s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_value_unset (&value); 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _org_project_useful_interface_skeleton_handle_set_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GVariant *variant, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # gboolean ret; 1086s # ret = FALSE; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # if (info->use_gvariant) 1086s # g_value_set_variant (&value, variant); 1086s # else 1086s # g_dbus_gvariant_to_gvalue (variant, &value); 1086s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # g_value_unset (&value); 1086s # ret = TRUE; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1086s # { 1086s # _org_project_useful_interface_skeleton_handle_method_call, 1086s # _org_project_useful_interface_skeleton_handle_get_property, 1086s # _org_project_useful_interface_skeleton_handle_set_property, 1086s # {NULL} 1086s # }; 1086s # 1086s # static GDBusInterfaceInfo * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return org_project_useful_interface_interface_info (); 1086s # } 1086s # 1086s # static GDBusInterfaceVTable * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1086s # } 1086s # 1086s # static GVariant * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1086s # 1086s # GVariantBuilder builder; 1086s # guint n; 1086s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1086s # goto out; 1086s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1086s # { 1086s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1086s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1086s # { 1086s # GVariant *value; 1086s # 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); 1086s # if (value != NULL) 1086s # { 1086s # g_variant_take_ref (value); 1086s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1086s # g_variant_unref (value); 1086s # } 1086s # } 1086s # } 1086s # out: 1086s # return g_variant_builder_end (&builder); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_skeleton_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # g_main_context_unref (skeleton->priv->context); 1086s # g_mutex_clear (&skeleton->priv->lock); 1086s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1086s # #else 1086s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1086s # #endif 1086s # 1086s # g_mutex_init (&skeleton->priv->lock); 1086s # skeleton->priv->context = g_main_context_ref_thread_default (); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusInterfaceSkeletonClass *skeleton_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1086s # 1086s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1086s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1086s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1086s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1086s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_skeleton_new: 1086s # * 1086s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_skeleton_new (void) 1086s # { 1086s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1086s # } 1086s # /tmp/tmp2a8key32/tmp8i3wvw16.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2a8key32/tmp8i3wvw16.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifdef HAVE_CONFIG_H 1086s # # include "config.h" 1086s # #endif 1086s # 1086s # #include 1086s # #ifdef G_OS_UNIX 1086s # # include 1086s # #endif 1086s # 1086s # #ifdef G_ENABLE_DEBUG 1086s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1086s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1086s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1086s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1086s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1086s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1086s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1086s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1086s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1086s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1086s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1086s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1086s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1086s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1086s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1086s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1086s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1086s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1086s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1086s # #else /* !G_ENABLE_DEBUG */ 1086s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1086s # * Do not access GValues directly in your code. Instead, use the 1086s # * g_value_get_*() functions 1086s # */ 1086s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1086s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1086s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1086s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1086s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1086s # #endif /* !G_ENABLE_DEBUG */ 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusArgInfo parent_struct; 1086s # gboolean use_gvariant; 1086s # } _ExtendedGDBusArgInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusMethodInfo parent_struct; 1086s # const gchar *signal_name; 1086s # gboolean pass_fdlist; 1086s # } _ExtendedGDBusMethodInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusSignalInfo parent_struct; 1086s # const gchar *signal_name; 1086s # } _ExtendedGDBusSignalInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusPropertyInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # guint use_gvariant : 1; 1086s # guint emits_changed_signal : 1; 1086s # } _ExtendedGDBusPropertyInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusInterfaceInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # } _ExtendedGDBusInterfaceInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # guint prop_id; 1086s # GValue orig_value; /* the value before the change */ 1086s # } ChangedProperty; 1086s # 1086s # static void 1086s # _changed_property_free (ChangedProperty *data) 1086s # { 1086s # g_value_unset (&data->orig_value); 1086s # g_free (data); 1086s # } 1086s # 1086s # static gboolean 1086s # _g_strv_equal0 (gchar **a, gchar **b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # guint n; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # if (g_strv_length (a) != g_strv_length (b)) 1086s # goto out; 1086s # for (n = 0; a[n] != NULL; n++) 1086s # if (g_strcmp0 (a[n], b[n]) != 0) 1086s # goto out; 1086s # ret = TRUE; 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _g_variant_equal0 (GVariant *a, GVariant *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # ret = g_variant_equal (a, b); 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # G_GNUC_UNUSED static gboolean 1086s # _g_value_equal (const GValue *a, const GValue *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1086s # switch (G_VALUE_TYPE (a)) 1086s # { 1086s # case G_TYPE_BOOLEAN: 1086s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1086s # break; 1086s # case G_TYPE_UCHAR: 1086s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1086s # break; 1086s # case G_TYPE_INT: 1086s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1086s # break; 1086s # case G_TYPE_UINT: 1086s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1086s # break; 1086s # case G_TYPE_INT64: 1086s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1086s # break; 1086s # case G_TYPE_UINT64: 1086s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1086s # break; 1086s # case G_TYPE_DOUBLE: 1086s # { 1086s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1086s # gdouble da = g_value_get_double (a); 1086s # gdouble db = g_value_get_double (b); 1086s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1086s # } 1086s # break; 1086s # case G_TYPE_STRING: 1086s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1086s # break; 1086s # case G_TYPE_VARIANT: 1086s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1086s # break; 1086s # default: 1086s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1086s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1086s # else 1086s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1086s # break; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static void 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint G_GNUC_UNUSED, 1086s # void *marshal_data) 1086s # { 1086s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (void *data1, 1086s # GDBusMethodInvocation *arg_method_invocation, 1086s # void *data2); 1086s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1086s # GCClosure *cc = (GCClosure*) closure; 1086s # void *data1, *data2; 1086s # gboolean v_return; 1086s # 1086s # g_return_if_fail (return_value != NULL); 1086s # g_return_if_fail (n_param_values == 2); 1086s # 1086s # if (G_CCLOSURE_SWAP_DATA (closure)) 1086s # { 1086s # data1 = closure->data; 1086s # data2 = g_value_peek_pointer (param_values + 0); 1086s # } 1086s # else 1086s # { 1086s # data1 = g_value_peek_pointer (param_values + 0); 1086s # data2 = closure->data; 1086s # } 1086s # 1086s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (marshal_data ? marshal_data : cc->callback); 1086s # 1086s # v_return = 1086s # callback (data1, 1086s # g_marshal_value_peek_object (param_values + 1), 1086s # data2); 1086s # 1086s # g_value_set_boolean (return_value, v_return); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ 1086s # * Code for interface org.project.UsefulInterface 1086s # * ------------------------------------------------------------------------ 1086s # */ 1086s # 1086s # /** 1086s # * SECTION:OrgProjectUsefulInterface 1086s # * @title: OrgProjectUsefulInterface 1086s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1086s # * 1086s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1086s # */ 1086s # 1086s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "arg_u", 1086s # (gchar *) "u", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "SingleArgMethodU", 1086s # NULL, 1086s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 1086s # NULL 1086s # }, 1086s # "handle-single-arg-method-u", 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "org.project.UsefulInterface", 1086s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1086s # NULL, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "org-project-useful-interface", 1086s # }; 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_interface_info: 1086s # * 1086s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1086s # * 1086s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1086s # */ 1086s # GDBusInterfaceInfo * 1086s # org_project_useful_interface_interface_info (void) 1086s # { 1086s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_override_properties: 1086s # * @klass: The class structure for a #GObject derived class. 1086s # * @property_id_begin: The property id to assign to the first overridden property. 1086s # * 1086s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1086s # * The properties are overridden in the order they are defined. 1086s # * 1086s # * Returns: The last property id. 1086s # */ 1086s # guint 1086s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1086s # { 1086s # return property_id_begin - 1; 1086s # } 1086s # 1086s # 1086s # inline static void 1086s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint, 1086s # void *marshal_data) 1086s # { 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1086s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1086s # } 1086s # 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterface: 1086s # * 1086s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceIface: 1086s # * @parent_iface: The parent interface. 1086s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1086s # * 1086s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1086s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1086s # 1086s # static void 1086s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1086s # { 1086s # /* GObject signals for incoming D-Bus method calls: */ 1086s # /** 1086s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: A #GDBusMethodInvocation. 1086s # * 1086s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1086s # * 1086s # * 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. 1086s # * 1086s # * 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. 1086s # */ 1086s # g_signal_new ("handle-single-arg-method-u", 1086s # G_TYPE_FROM_INTERFACE (iface), 1086s # G_SIGNAL_RUN_LAST, 1086s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1086s # g_signal_accumulator_true_handled, 1086s # NULL, 1086s # org_project_useful_interface_method_marshal_single_arg_method_u, 1086s # G_TYPE_BOOLEAN, 1086s # 1, 1086s # G_TYPE_DBUS_METHOD_INVOCATION); 1086s # 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_u: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1086s # */ 1086s # void 1086s # org_project_useful_interface_call_single_arg_method_u ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodU", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # callback, 1086s # user_data); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_u_finish: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_u_finish ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # guint *out_arg_u, 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(u)", 1086s # out_arg_u); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_u_sync: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_u_sync ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # guint *out_arg_u, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodU", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(u)", 1086s # out_arg_u); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_complete_single_arg_method_u: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1086s # * @arg_u: Parameter to return. 1086s # * 1086s # * 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. 1086s # * 1086s # * This method will free @invocation, you cannot use it afterwards. 1086s # */ 1086s # void 1086s # org_project_useful_interface_complete_single_arg_method_u ( 1086s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1086s # GDBusMethodInvocation *invocation, 1086s # guint arg_u) 1086s # { 1086s # g_dbus_method_invocation_return_value (invocation, 1086s # g_variant_new ("(u)", 1086s # arg_u)); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxy: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxyClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceProxyPrivate 1086s # { 1086s # GData *qdata; 1086s # }; 1086s # 1086s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_proxy_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1086s # g_datalist_clear (&proxy->priv->qdata); 1086s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # const GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1086s # const gchar *sender_name G_GNUC_UNUSED, 1086s # const gchar *signal_name, 1086s # GVariant *parameters) 1086s # { 1086s # _ExtendedGDBusSignalInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # gsize n; 1086s # guint signal_id; 1086s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1086s # if (info == NULL) 1086s # return; 1086s # num_params = g_variant_n_children (parameters); 1086s # paramv = g_new0 (GValue, num_params + 1); 1086s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[0], proxy); 1086s # g_variant_iter_init (&iter, parameters); 1086s # n = 1; 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_signal_emitv (paramv, signal_id, 0, NULL); 1086s # for (n = 0; n < num_params + 1; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1086s # GVariant *changed_properties, 1086s # const gchar *const *invalidated_properties) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1086s # guint n; 1086s # const gchar *key; 1086s # GVariantIter *iter; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # g_variant_get (changed_properties, "a{sv}", &iter); 1086s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1086s # g_datalist_remove_data (&proxy->priv->qdata, key); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # g_variant_iter_free (iter); 1086s # for (n = 0; invalidated_properties[n] != NULL; n++) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1086s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1086s # #else 1086s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1086s # #endif 1086s # 1086s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusProxyClass *proxy_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1086s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1086s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1086s # 1086s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1086s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1086s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_sync: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_sync ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new_for_bus ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_sync: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_sync ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeleton: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeletonClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1086s # { 1086s # GValue *properties; 1086s # GList *changed_properties; 1086s # GSource *changed_properties_idle_source; 1086s # GMainContext *context; 1086s # GMutex lock; 1086s # }; 1086s # 1086s # static void 1086s # _org_project_useful_interface_skeleton_handle_method_call ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name, 1086s # const gchar *method_name, 1086s # GVariant *parameters, 1086s # GDBusMethodInvocation *invocation, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # _ExtendedGDBusMethodInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # guint num_extra; 1086s # gsize n; 1086s # guint signal_id; 1086s # GValue return_value = G_VALUE_INIT; 1086s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1086s # g_assert (info != NULL); 1086s # num_params = g_variant_n_children (parameters); 1086s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1086s # n = 0; 1086s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[n++], skeleton); 1086s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1086s # g_value_set_object (¶mv[n++], invocation); 1086s # if (info->pass_fdlist) 1086s # { 1086s # #ifdef G_OS_UNIX 1086s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1086s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1086s # #else 1086s # g_assert_not_reached (); 1086s # #endif 1086s # } 1086s # g_variant_iter_init (&iter, parameters); 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1086s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1086s # if (!g_value_get_boolean (&return_value)) 1086s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1086s # g_value_unset (&return_value); 1086s # for (n = 0; n < num_params + num_extra; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static GVariant * 1086s # _org_project_useful_interface_skeleton_handle_get_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *ret; 1086s # ret = NULL; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # g_value_init (&value, pspec->value_type); 1086s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_value_unset (&value); 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _org_project_useful_interface_skeleton_handle_set_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GVariant *variant, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # gboolean ret; 1086s # ret = FALSE; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # if (info->use_gvariant) 1086s # g_value_set_variant (&value, variant); 1086s # else 1086s # g_dbus_gvariant_to_gvalue (variant, &value); 1086s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # g_value_unset (&value); 1086s # ret = TRUE; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1086s # { 1086s # _org_project_useful_interface_skeleton_handle_method_call, 1086s # _org_project_useful_interface_skeleton_handle_get_property, 1086s # _org_project_useful_interface_skeleton_handle_set_property, 1086s # {NULL} 1086s # }; 1086s # 1086s # static GDBusInterfaceInfo * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return org_project_useful_interface_interface_info (); 1086s # } 1086s # 1086s # static GDBusInterfaceVTable * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1086s # } 1086s # 1086s # static GVariant * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1086s # 1086s # GVariantBuilder builder; 1086s # guint n; 1086s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1086s # goto out; 1086s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1086s # { 1086s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1086s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1086s # { 1086s # GVariant *value; 1086s # 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); 1086s # if (value != NULL) 1086s # { 1086s # g_variant_take_ref (value); 1086s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1086s # g_variant_unref (value); 1086s # } 1086s # } 1086s # } 1086s # out: 1086s # return g_variant_builder_end (&builder); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_skeleton_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # g_main_context_unref (skeleton->priv->context); 1086s # g_mutex_clear (&skeleton->priv->lock); 1086s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1086s # #else 1086s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1086s # #endif 1086s # 1086s # g_mutex_init (&skeleton->priv->lock); 1086s # skeleton->priv->context = g_main_context_ref_thread_default (); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusInterfaceSkeletonClass *skeleton_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1086s # 1086s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1086s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1086s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1086s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1086s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_skeleton_new: 1086s # * 1086s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_skeleton_new (void) 1086s # { 1086s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1086s # } 1086s # /tmp/tmp2a8key32/tmpzsfnpofl.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2a8key32/tmpzsfnpofl.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifdef HAVE_CONFIG_H 1086s # # include "config.h" 1086s # #endif 1086s # 1086s # #include 1086s # #ifdef G_OS_UNIX 1086s # # include 1086s # #endif 1086s # 1086s # #ifdef G_ENABLE_DEBUG 1086s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1086s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1086s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1086s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1086s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1086s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1086s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1086s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1086s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1086s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1086s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1086s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1086s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1086s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1086s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1086s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1086s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1086s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1086s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1086s # #else /* !G_ENABLE_DEBUG */ 1086s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1086s # * Do not access GValues directly in your code. Instead, use the 1086s # * g_value_get_*() functions 1086s # */ 1086s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1086s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1086s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1086s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1086s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1086s # #endif /* !G_ENABLE_DEBUG */ 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusArgInfo parent_struct; 1086s # gboolean use_gvariant; 1086s # } _ExtendedGDBusArgInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusMethodInfo parent_struct; 1086s # const gchar *signal_name; 1086s # gboolean pass_fdlist; 1086s # } _ExtendedGDBusMethodInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusSignalInfo parent_struct; 1086s # const gchar *signal_name; 1086s # } _ExtendedGDBusSignalInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusPropertyInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # guint use_gvariant : 1; 1086s # guint emits_changed_signal : 1; 1086s # } _ExtendedGDBusPropertyInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusInterfaceInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # } _ExtendedGDBusInterfaceInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # guint prop_id; 1086s # GValue orig_value; /* the value before the change */ 1086s # } ChangedProperty; 1086s # 1086s # static void 1086s # _changed_property_free (ChangedProperty *data) 1086s # { 1086s # g_value_unset (&data->orig_value); 1086s # g_free (data); 1086s # } 1086s # 1086s # static gboolean 1086s # _g_strv_equal0 (gchar **a, gchar **b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # guint n; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # if (g_strv_length (a) != g_strv_length (b)) 1086s # goto out; 1086s # for (n = 0; a[n] != NULL; n++) 1086s # if (g_strcmp0 (a[n], b[n]) != 0) 1086s # goto out; 1086s # ret = TRUE; 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _g_variant_equal0 (GVariant *a, GVariant *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # ret = g_variant_equal (a, b); 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # G_GNUC_UNUSED static gboolean 1086s # _g_value_equal (const GValue *a, const GValue *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1086s # switch (G_VALUE_TYPE (a)) 1086s # { 1086s # case G_TYPE_BOOLEAN: 1086s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1086s # break; 1086s # case G_TYPE_UCHAR: 1086s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1086s # break; 1086s # case G_TYPE_INT: 1086s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1086s # break; 1086s # case G_TYPE_UINT: 1086s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1086s # break; 1086s # case G_TYPE_INT64: 1086s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1086s # break; 1086s # case G_TYPE_UINT64: 1086s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1086s # break; 1086s # case G_TYPE_DOUBLE: 1086s # { 1086s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1086s # gdouble da = g_value_get_double (a); 1086s # gdouble db = g_value_get_double (b); 1086s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1086s # } 1086s # break; 1086s # case G_TYPE_STRING: 1086s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1086s # break; 1086s # case G_TYPE_VARIANT: 1086s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1086s # break; 1086s # default: 1086s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1086s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1086s # else 1086s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1086s # break; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static void 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint G_GNUC_UNUSED, 1086s # void *marshal_data) 1086s # { 1086s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (void *data1, 1086s # GDBusMethodInvocation *arg_method_invocation, 1086s # void *data2); 1086s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1086s # GCClosure *cc = (GCClosure*) closure; 1086s # void *data1, *data2; 1086s # gboolean v_return; 1086s # 1086s # g_return_if_fail (return_value != NULL); 1086s # g_return_if_fail (n_param_values == 2); 1086s # 1086s # if (G_CCLOSURE_SWAP_DATA (closure)) 1086s # { 1086s # data1 = closure->data; 1086s # data2 = g_value_peek_pointer (param_values + 0); 1086s # } 1086s # else 1086s # { 1086s # data1 = g_value_peek_pointer (param_values + 0); 1086s # data2 = closure->data; 1086s # } 1086s # 1086s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (marshal_data ? marshal_data : cc->callback); 1086s # 1086s # v_return = 1086s # callback (data1, 1086s # g_marshal_value_peek_object (param_values + 1), 1086s # data2); 1086s # 1086s # g_value_set_boolean (return_value, v_return); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ 1086s # * Code for interface org.project.UsefulInterface 1086s # * ------------------------------------------------------------------------ 1086s # */ 1086s # 1086s # /** 1086s # * SECTION:OrgProjectUsefulInterface 1086s # * @title: OrgProjectUsefulInterface 1086s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1086s # * 1086s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1086s # */ 1086s # 1086s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "arg_x", 1086s # (gchar *) "x", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "SingleArgMethodX", 1086s # NULL, 1086s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 1086s # NULL 1086s # }, 1086s # "handle-single-arg-method-x", 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "org.project.UsefulInterface", 1086s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1086s # NULL, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "org-project-useful-interface", 1086s # }; 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_interface_info: 1086s # * 1086s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1086s # * 1086s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1086s # */ 1086s # GDBusInterfaceInfo * 1086s # org_project_useful_interface_interface_info (void) 1086s # { 1086s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_override_properties: 1086s # * @klass: The class structure for a #GObject derived class. 1086s # * @property_id_begin: The property id to assign to the first overridden property. 1086s # * 1086s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1086s # * The properties are overridden in the order they are defined. 1086s # * 1086s # * Returns: The last property id. 1086s # */ 1086s # guint 1086s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1086s # { 1086s # return property_id_begin - 1; 1086s # } 1086s # 1086s # 1086s # inline static void 1086s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint, 1086s # void *marshal_data) 1086s # { 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1086s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1086s # } 1086s # 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterface: 1086s # * 1086s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceIface: 1086s # * @parent_iface: The parent interface. 1086s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1086s # * 1086s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1086s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1086s # 1086s # static void 1086s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1086s # { 1086s # /* GObject signals for incoming D-Bus method calls: */ 1086s # /** 1086s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: A #GDBusMethodInvocation. 1086s # * 1086s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1086s # * 1086s # * 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. 1086s # * 1086s # * 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. 1086s # */ 1086s # g_signal_new ("handle-single-arg-method-x", 1086s # G_TYPE_FROM_INTERFACE (iface), 1086s # G_SIGNAL_RUN_LAST, 1086s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1086s # g_signal_accumulator_true_handled, 1086s # NULL, 1086s # org_project_useful_interface_method_marshal_single_arg_method_x, 1086s # G_TYPE_BOOLEAN, 1086s # 1, 1086s # G_TYPE_DBUS_METHOD_INVOCATION); 1086s # 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_x: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1086s # */ 1086s # void 1086s # org_project_useful_interface_call_single_arg_method_x ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodX", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # callback, 1086s # user_data); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_x_finish: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_x_finish ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # gint64 *out_arg_x, 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(x)", 1086s # out_arg_x); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_x_sync: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_x_sync ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # gint64 *out_arg_x, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodX", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(x)", 1086s # out_arg_x); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_complete_single_arg_method_x: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1086s # * @arg_x: Parameter to return. 1086s # * 1086s # * 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. 1086s # * 1086s # * This method will free @invocation, you cannot use it afterwards. 1086s # */ 1086s # void 1086s # org_project_useful_interface_complete_single_arg_method_x ( 1086s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1086s # GDBusMethodInvocation *invocation, 1086s # gint64 arg_x) 1086s # { 1086s # g_dbus_method_invocation_return_value (invocation, 1086s # g_variant_new ("(x)", 1086s # arg_x)); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxy: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxyClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceProxyPrivate 1086s # { 1086s # GData *qdata; 1086s # }; 1086s # 1086s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_proxy_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1086s # g_datalist_clear (&proxy->priv->qdata); 1086s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # const GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1086s # const gchar *sender_name G_GNUC_UNUSED, 1086s # const gchar *signal_name, 1086s # GVariant *parameters) 1086s # { 1086s # _ExtendedGDBusSignalInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # gsize n; 1086s # guint signal_id; 1086s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1086s # if (info == NULL) 1086s # return; 1086s # num_params = g_variant_n_children (parameters); 1086s # paramv = g_new0 (GValue, num_params + 1); 1086s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[0], proxy); 1086s # g_variant_iter_init (&iter, parameters); 1086s # n = 1; 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_signal_emitv (paramv, signal_id, 0, NULL); 1086s # for (n = 0; n < num_params + 1; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1086s # GVariant *changed_properties, 1086s # const gchar *const *invalidated_properties) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1086s # guint n; 1086s # const gchar *key; 1086s # GVariantIter *iter; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # g_variant_get (changed_properties, "a{sv}", &iter); 1086s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1086s # g_datalist_remove_data (&proxy->priv->qdata, key); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # g_variant_iter_free (iter); 1086s # for (n = 0; invalidated_properties[n] != NULL; n++) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1086s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1086s # #else 1086s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1086s # #endif 1086s # 1086s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusProxyClass *proxy_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1086s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1086s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1086s # 1086s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1086s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1086s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_sync: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_sync ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new_for_bus ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_sync: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_sync ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeleton: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeletonClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1086s # { 1086s # GValue *properties; 1086s # GList *changed_properties; 1086s # GSource *changed_properties_idle_source; 1086s # GMainContext *context; 1086s # GMutex lock; 1086s # }; 1086s # 1086s # static void 1086s # _org_project_useful_interface_skeleton_handle_method_call ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name, 1086s # const gchar *method_name, 1086s # GVariant *parameters, 1086s # GDBusMethodInvocation *invocation, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # _ExtendedGDBusMethodInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # guint num_extra; 1086s # gsize n; 1086s # guint signal_id; 1086s # GValue return_value = G_VALUE_INIT; 1086s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1086s # g_assert (info != NULL); 1086s # num_params = g_variant_n_children (parameters); 1086s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1086s # n = 0; 1086s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[n++], skeleton); 1086s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1086s # g_value_set_object (¶mv[n++], invocation); 1086s # if (info->pass_fdlist) 1086s # { 1086s # #ifdef G_OS_UNIX 1086s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1086s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1086s # #else 1086s # g_assert_not_reached (); 1086s # #endif 1086s # } 1086s # g_variant_iter_init (&iter, parameters); 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1086s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1086s # if (!g_value_get_boolean (&return_value)) 1086s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1086s # g_value_unset (&return_value); 1086s # for (n = 0; n < num_params + num_extra; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static GVariant * 1086s # _org_project_useful_interface_skeleton_handle_get_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *ret; 1086s # ret = NULL; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # g_value_init (&value, pspec->value_type); 1086s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_value_unset (&value); 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _org_project_useful_interface_skeleton_handle_set_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GVariant *variant, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # gboolean ret; 1086s # ret = FALSE; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # if (info->use_gvariant) 1086s # g_value_set_variant (&value, variant); 1086s # else 1086s # g_dbus_gvariant_to_gvalue (variant, &value); 1086s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # g_value_unset (&value); 1086s # ret = TRUE; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1086s # { 1086s # _org_project_useful_interface_skeleton_handle_method_call, 1086s # _org_project_useful_interface_skeleton_handle_get_property, 1086s # _org_project_useful_interface_skeleton_handle_set_property, 1086s # {NULL} 1086s # }; 1086s # 1086s # static GDBusInterfaceInfo * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return org_project_useful_interface_interface_info (); 1086s # } 1086s # 1086s # static GDBusInterfaceVTable * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1086s # } 1086s # 1086s # static GVariant * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1086s # 1086s # GVariantBuilder builder; 1086s # guint n; 1086s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1086s # goto out; 1086s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1086s # { 1086s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1086s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1086s # { 1086s # GVariant *value; 1086s # 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); 1086s # if (value != NULL) 1086s # { 1086s # g_variant_take_ref (value); 1086s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1086s # g_variant_unref (value); 1086s # } 1086s # } 1086s # } 1086s # out: 1086s # return g_variant_builder_end (&builder); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_skeleton_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # g_main_context_unref (skeleton->priv->context); 1086s # g_mutex_clear (&skeleton->priv->lock); 1086s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1086s # #else 1086s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1086s # #endif 1086s # 1086s # g_mutex_init (&skeleton->priv->lock); 1086s # skeleton->priv->context = g_main_context_ref_thread_default (); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusInterfaceSkeletonClass *skeleton_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1086s # 1086s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1086s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1086s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1086s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1086s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_skeleton_new: 1086s # * 1086s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_skeleton_new (void) 1086s # { 1086s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1086s # } 1086s # /tmp/tmp2a8key32/tmpxp0va3nr.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2a8key32/tmpxp0va3nr.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifdef HAVE_CONFIG_H 1086s # # include "config.h" 1086s # #endif 1086s # 1086s # #include 1086s # #ifdef G_OS_UNIX 1086s # # include 1086s # #endif 1086s # 1086s # #ifdef G_ENABLE_DEBUG 1086s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1086s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1086s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1086s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1086s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1086s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1086s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1086s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1086s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1086s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1086s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1086s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1086s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1086s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1086s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1086s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1086s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1086s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1086s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1086s # #else /* !G_ENABLE_DEBUG */ 1086s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1086s # * Do not access GValues directly in your code. Instead, use the 1086s # * g_value_get_*() functions 1086s # */ 1086s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1086s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1086s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1086s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1086s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1086s # #endif /* !G_ENABLE_DEBUG */ 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusArgInfo parent_struct; 1086s # gboolean use_gvariant; 1086s # } _ExtendedGDBusArgInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusMethodInfo parent_struct; 1086s # const gchar *signal_name; 1086s # gboolean pass_fdlist; 1086s # } _ExtendedGDBusMethodInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusSignalInfo parent_struct; 1086s # const gchar *signal_name; 1086s # } _ExtendedGDBusSignalInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusPropertyInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # guint use_gvariant : 1; 1086s # guint emits_changed_signal : 1; 1086s # } _ExtendedGDBusPropertyInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusInterfaceInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # } _ExtendedGDBusInterfaceInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # guint prop_id; 1086s # GValue orig_value; /* the value before the change */ 1086s # } ChangedProperty; 1086s # 1086s # static void 1086s # _changed_property_free (ChangedProperty *data) 1086s # { 1086s # g_value_unset (&data->orig_value); 1086s # g_free (data); 1086s # } 1086s # 1086s # static gboolean 1086s # _g_strv_equal0 (gchar **a, gchar **b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # guint n; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # if (g_strv_length (a) != g_strv_length (b)) 1086s # goto out; 1086s # for (n = 0; a[n] != NULL; n++) 1086s # if (g_strcmp0 (a[n], b[n]) != 0) 1086s # goto out; 1086s # ret = TRUE; 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _g_variant_equal0 (GVariant *a, GVariant *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # ret = g_variant_equal (a, b); 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # G_GNUC_UNUSED static gboolean 1086s # _g_value_equal (const GValue *a, const GValue *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1086s # switch (G_VALUE_TYPE (a)) 1086s # { 1086s # case G_TYPE_BOOLEAN: 1086s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1086s # break; 1086s # case G_TYPE_UCHAR: 1086s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1086s # break; 1086s # case G_TYPE_INT: 1086s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1086s # break; 1086s # case G_TYPE_UINT: 1086s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1086s # break; 1086s # case G_TYPE_INT64: 1086s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1086s # break; 1086s # case G_TYPE_UINT64: 1086s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1086s # break; 1086s # case G_TYPE_DOUBLE: 1086s # { 1086s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1086s # gdouble da = g_value_get_double (a); 1086s # gdouble db = g_value_get_double (b); 1086s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1086s # } 1086s # break; 1086s # case G_TYPE_STRING: 1086s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1086s # break; 1086s # case G_TYPE_VARIANT: 1086s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1086s # break; 1086s # default: 1086s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1086s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1086s # else 1086s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1086s # break; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static void 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint G_GNUC_UNUSED, 1086s # void *marshal_data) 1086s # { 1086s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (void *data1, 1086s # GDBusMethodInvocation *arg_method_invocation, 1086s # void *data2); 1086s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1086s # GCClosure *cc = (GCClosure*) closure; 1086s # void *data1, *data2; 1086s # gboolean v_return; 1086s # 1086s # g_return_if_fail (return_value != NULL); 1086s # g_return_if_fail (n_param_values == 2); 1086s # 1086s # if (G_CCLOSURE_SWAP_DATA (closure)) 1086s # { 1086s # data1 = closure->data; 1086s # data2 = g_value_peek_pointer (param_values + 0); 1086s # } 1086s # else 1086s # { 1086s # data1 = g_value_peek_pointer (param_values + 0); 1086s # data2 = closure->data; 1086s # } 1086s # 1086s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (marshal_data ? marshal_data : cc->callback); 1086s # 1086s # v_return = 1086s # callback (data1, 1086s # g_marshal_value_peek_object (param_values + 1), 1086s # data2); 1086s # 1086s # g_value_set_boolean (return_value, v_return); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ 1086s # * Code for interface org.project.UsefulInterface 1086s # * ------------------------------------------------------------------------ 1086s # */ 1086s # 1086s # /** 1086s # * SECTION:OrgProjectUsefulInterface 1086s # * @title: OrgProjectUsefulInterface 1086s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1086s # * 1086s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1086s # */ 1086s # 1086s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "arg_t", 1086s # (gchar *) "t", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "SingleArgMethodT", 1086s # NULL, 1086s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 1086s # NULL 1086s # }, 1086s # "handle-single-arg-method-t", 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "org.project.UsefulInterface", 1086s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1086s # NULL, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "org-project-useful-interface", 1086s # }; 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_interface_info: 1086s # * 1086s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1086s # * 1086s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1086s # */ 1086s # GDBusInterfaceInfo * 1086s # org_project_useful_interface_interface_info (void) 1086s # { 1086s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_override_properties: 1086s # * @klass: The class structure for a #GObject derived class. 1086s # * @property_id_begin: The property id to assign to the first overridden property. 1086s # * 1086s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1086s # * The properties are overridden in the order they are defined. 1086s # * 1086s # * Returns: The last property id. 1086s # */ 1086s # guint 1086s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1086s # { 1086s # return property_id_begin - 1; 1086s # } 1086s # 1086s # 1086s # inline static void 1086s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint, 1086s # void *marshal_data) 1086s # { 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1086s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1086s # } 1086s # 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterface: 1086s # * 1086s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceIface: 1086s # * @parent_iface: The parent interface. 1086s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1086s # * 1086s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1086s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1086s # 1086s # static void 1086s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1086s # { 1086s # /* GObject signals for incoming D-Bus method calls: */ 1086s # /** 1086s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: A #GDBusMethodInvocation. 1086s # * 1086s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1086s # * 1086s # * 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. 1086s # * 1086s # * 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. 1086s # */ 1086s # g_signal_new ("handle-single-arg-method-t", 1086s # G_TYPE_FROM_INTERFACE (iface), 1086s # G_SIGNAL_RUN_LAST, 1086s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1086s # g_signal_accumulator_true_handled, 1086s # NULL, 1086s # org_project_useful_interface_method_marshal_single_arg_method_t, 1086s # G_TYPE_BOOLEAN, 1086s # 1, 1086s # G_TYPE_DBUS_METHOD_INVOCATION); 1086s # 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_t: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1086s # */ 1086s # void 1086s # org_project_useful_interface_call_single_arg_method_t ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodT", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # callback, 1086s # user_data); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_t_finish: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_t_finish ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # guint64 *out_arg_t, 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(t)", 1086s # out_arg_t); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_t_sync: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_t_sync ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # guint64 *out_arg_t, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodT", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(t)", 1086s # out_arg_t); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_complete_single_arg_method_t: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1086s # * @arg_t: Parameter to return. 1086s # * 1086s # * 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. 1086s # * 1086s # * This method will free @invocation, you cannot use it afterwards. 1086s # */ 1086s # void 1086s # org_project_useful_interface_complete_single_arg_method_t ( 1086s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1086s # GDBusMethodInvocation *invocation, 1086s # guint64 arg_t) 1086s # { 1086s # g_dbus_method_invocation_return_value (invocation, 1086s # g_variant_new ("(t)", 1086s # arg_t)); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxy: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxyClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceProxyPrivate 1086s # { 1086s # GData *qdata; 1086s # }; 1086s # 1086s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_proxy_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1086s # g_datalist_clear (&proxy->priv->qdata); 1086s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # const GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1086s # const gchar *sender_name G_GNUC_UNUSED, 1086s # const gchar *signal_name, 1086s # GVariant *parameters) 1086s # { 1086s # _ExtendedGDBusSignalInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # gsize n; 1086s # guint signal_id; 1086s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1086s # if (info == NULL) 1086s # return; 1086s # num_params = g_variant_n_children (parameters); 1086s # paramv = g_new0 (GValue, num_params + 1); 1086s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[0], proxy); 1086s # g_variant_iter_init (&iter, parameters); 1086s # n = 1; 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_signal_emitv (paramv, signal_id, 0, NULL); 1086s # for (n = 0; n < num_params + 1; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1086s # GVariant *changed_properties, 1086s # const gchar *const *invalidated_properties) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1086s # guint n; 1086s # const gchar *key; 1086s # GVariantIter *iter; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # g_variant_get (changed_properties, "a{sv}", &iter); 1086s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1086s # g_datalist_remove_data (&proxy->priv->qdata, key); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # g_variant_iter_free (iter); 1086s # for (n = 0; invalidated_properties[n] != NULL; n++) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1086s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1086s # #else 1086s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1086s # #endif 1086s # 1086s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusProxyClass *proxy_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1086s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1086s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1086s # 1086s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1086s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1086s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_sync: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_sync ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new_for_bus ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_sync: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_sync ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeleton: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeletonClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1086s # { 1086s # GValue *properties; 1086s # GList *changed_properties; 1086s # GSource *changed_properties_idle_source; 1086s # GMainContext *context; 1086s # GMutex lock; 1086s # }; 1086s # 1086s # static void 1086s # _org_project_useful_interface_skeleton_handle_method_call ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name, 1086s # const gchar *method_name, 1086s # GVariant *parameters, 1086s # GDBusMethodInvocation *invocation, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # _ExtendedGDBusMethodInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # guint num_extra; 1086s # gsize n; 1086s # guint signal_id; 1086s # GValue return_value = G_VALUE_INIT; 1086s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1086s # g_assert (info != NULL); 1086s # num_params = g_variant_n_children (parameters); 1086s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1086s # n = 0; 1086s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[n++], skeleton); 1086s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1086s # g_value_set_object (¶mv[n++], invocation); 1086s # if (info->pass_fdlist) 1086s # { 1086s # #ifdef G_OS_UNIX 1086s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1086s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1086s # #else 1086s # g_assert_not_reached (); 1086s # #endif 1086s # } 1086s # g_variant_iter_init (&iter, parameters); 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1086s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1086s # if (!g_value_get_boolean (&return_value)) 1086s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1086s # g_value_unset (&return_value); 1086s # for (n = 0; n < num_params + num_extra; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static GVariant * 1086s # _org_project_useful_interface_skeleton_handle_get_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *ret; 1086s # ret = NULL; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # g_value_init (&value, pspec->value_type); 1086s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_value_unset (&value); 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _org_project_useful_interface_skeleton_handle_set_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GVariant *variant, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # gboolean ret; 1086s # ret = FALSE; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # if (info->use_gvariant) 1086s # g_value_set_variant (&value, variant); 1086s # else 1086s # g_dbus_gvariant_to_gvalue (variant, &value); 1086s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # g_value_unset (&value); 1086s # ret = TRUE; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1086s # { 1086s # _org_project_useful_interface_skeleton_handle_method_call, 1086s # _org_project_useful_interface_skeleton_handle_get_property, 1086s # _org_project_useful_interface_skeleton_handle_set_property, 1086s # {NULL} 1086s # }; 1086s # 1086s # static GDBusInterfaceInfo * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return org_project_useful_interface_interface_info (); 1086s # } 1086s # 1086s # static GDBusInterfaceVTable * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1086s # } 1086s # 1086s # static GVariant * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1086s # 1086s # GVariantBuilder builder; 1086s # guint n; 1086s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1086s # goto out; 1086s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1086s # { 1086s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1086s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1086s # { 1086s # GVariant *value; 1086s # 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); 1086s # if (value != NULL) 1086s # { 1086s # g_variant_take_ref (value); 1086s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1086s # g_variant_unref (value); 1086s # } 1086s # } 1086s # } 1086s # out: 1086s # return g_variant_builder_end (&builder); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_skeleton_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # g_main_context_unref (skeleton->priv->context); 1086s # g_mutex_clear (&skeleton->priv->lock); 1086s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1086s # #else 1086s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1086s # #endif 1086s # 1086s # g_mutex_init (&skeleton->priv->lock); 1086s # skeleton->priv->context = g_main_context_ref_thread_default (); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusInterfaceSkeletonClass *skeleton_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1086s # 1086s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1086s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1086s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1086s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1086s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_skeleton_new: 1086s # * 1086s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_skeleton_new (void) 1086s # { 1086s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1086s # } 1086s # /tmp/tmp2a8key32/tmpbmxd_nyl.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2a8key32/tmpbmxd_nyl.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifdef HAVE_CONFIG_H 1086s # # include "config.h" 1086s # #endif 1086s # 1086s # #include 1086s # #ifdef G_OS_UNIX 1086s # # include 1086s # #endif 1086s # 1086s # #ifdef G_ENABLE_DEBUG 1086s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1086s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1086s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1086s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1086s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1086s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1086s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1086s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1086s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1086s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1086s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1086s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1086s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1086s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1086s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1086s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1086s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1086s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1086s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1086s # #else /* !G_ENABLE_DEBUG */ 1086s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1086s # * Do not access GValues directly in your code. Instead, use the 1086s # * g_value_get_*() functions 1086s # */ 1086s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1086s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1086s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1086s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1086s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1086s # #endif /* !G_ENABLE_DEBUG */ 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusArgInfo parent_struct; 1086s # gboolean use_gvariant; 1086s # } _ExtendedGDBusArgInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusMethodInfo parent_struct; 1086s # const gchar *signal_name; 1086s # gboolean pass_fdlist; 1086s # } _ExtendedGDBusMethodInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusSignalInfo parent_struct; 1086s # const gchar *signal_name; 1086s # } _ExtendedGDBusSignalInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusPropertyInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # guint use_gvariant : 1; 1086s # guint emits_changed_signal : 1; 1086s # } _ExtendedGDBusPropertyInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusInterfaceInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # } _ExtendedGDBusInterfaceInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # guint prop_id; 1086s # GValue orig_value; /* the value before the change */ 1086s # } ChangedProperty; 1086s # 1086s # static void 1086s # _changed_property_free (ChangedProperty *data) 1086s # { 1086s # g_value_unset (&data->orig_value); 1086s # g_free (data); 1086s # } 1086s # 1086s # static gboolean 1086s # _g_strv_equal0 (gchar **a, gchar **b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # guint n; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # if (g_strv_length (a) != g_strv_length (b)) 1086s # goto out; 1086s # for (n = 0; a[n] != NULL; n++) 1086s # if (g_strcmp0 (a[n], b[n]) != 0) 1086s # goto out; 1086s # ret = TRUE; 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _g_variant_equal0 (GVariant *a, GVariant *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # ret = g_variant_equal (a, b); 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # G_GNUC_UNUSED static gboolean 1086s # _g_value_equal (const GValue *a, const GValue *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1086s # switch (G_VALUE_TYPE (a)) 1086s # { 1086s # case G_TYPE_BOOLEAN: 1086s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1086s # break; 1086s # case G_TYPE_UCHAR: 1086s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1086s # break; 1086s # case G_TYPE_INT: 1086s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1086s # break; 1086s # case G_TYPE_UINT: 1086s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1086s # break; 1086s # case G_TYPE_INT64: 1086s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1086s # break; 1086s # case G_TYPE_UINT64: 1086s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1086s # break; 1086s # case G_TYPE_DOUBLE: 1086s # { 1086s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1086s # gdouble da = g_value_get_double (a); 1086s # gdouble db = g_value_get_double (b); 1086s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1086s # } 1086s # break; 1086s # case G_TYPE_STRING: 1086s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1086s # break; 1086s # case G_TYPE_VARIANT: 1086s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1086s # break; 1086s # default: 1086s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1086s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1086s # else 1086s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1086s # break; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static void 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint G_GNUC_UNUSED, 1086s # void *marshal_data) 1086s # { 1086s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (void *data1, 1086s # GDBusMethodInvocation *arg_method_invocation, 1086s # void *data2); 1086s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1086s # GCClosure *cc = (GCClosure*) closure; 1086s # void *data1, *data2; 1086s # gboolean v_return; 1086s # 1086s # g_return_if_fail (return_value != NULL); 1086s # g_return_if_fail (n_param_values == 2); 1086s # 1086s # if (G_CCLOSURE_SWAP_DATA (closure)) 1086s # { 1086s # data1 = closure->data; 1086s # data2 = g_value_peek_pointer (param_values + 0); 1086s # } 1086s # else 1086s # { 1086s # data1 = g_value_peek_pointer (param_values + 0); 1086s # data2 = closure->data; 1086s # } 1086s # 1086s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (marshal_data ? marshal_data : cc->callback); 1086s # 1086s # v_return = 1086s # callback (data1, 1086s # g_marshal_value_peek_object (param_values + 1), 1086s # data2); 1086s # 1086s # g_value_set_boolean (return_value, v_return); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ 1086s # * Code for interface org.project.UsefulInterface 1086s # * ------------------------------------------------------------------------ 1086s # */ 1086s # 1086s # /** 1086s # * SECTION:OrgProjectUsefulInterface 1086s # * @title: OrgProjectUsefulInterface 1086s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1086s # * 1086s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1086s # */ 1086s # 1086s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "arg_d", 1086s # (gchar *) "d", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "SingleArgMethodD", 1086s # NULL, 1086s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 1086s # NULL 1086s # }, 1086s # "handle-single-arg-method-d", 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "org.project.UsefulInterface", 1086s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1086s # NULL, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "org-project-useful-interface", 1086s # }; 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_interface_info: 1086s # * 1086s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1086s # * 1086s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1086s # */ 1086s # GDBusInterfaceInfo * 1086s # org_project_useful_interface_interface_info (void) 1086s # { 1086s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_override_properties: 1086s # * @klass: The class structure for a #GObject derived class. 1086s # * @property_id_begin: The property id to assign to the first overridden property. 1086s # * 1086s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1086s # * The properties are overridden in the order they are defined. 1086s # * 1086s # * Returns: The last property id. 1086s # */ 1086s # guint 1086s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1086s # { 1086s # return property_id_begin - 1; 1086s # } 1086s # 1086s # 1086s # inline static void 1086s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint, 1086s # void *marshal_data) 1086s # { 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1086s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1086s # } 1086s # 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterface: 1086s # * 1086s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceIface: 1086s # * @parent_iface: The parent interface. 1086s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1086s # * 1086s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1086s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1086s # 1086s # static void 1086s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1086s # { 1086s # /* GObject signals for incoming D-Bus method calls: */ 1086s # /** 1086s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: A #GDBusMethodInvocation. 1086s # * 1086s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1086s # * 1086s # * 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. 1086s # * 1086s # * 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. 1086s # */ 1086s # g_signal_new ("handle-single-arg-method-d", 1086s # G_TYPE_FROM_INTERFACE (iface), 1086s # G_SIGNAL_RUN_LAST, 1086s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1086s # g_signal_accumulator_true_handled, 1086s # NULL, 1086s # org_project_useful_interface_method_marshal_single_arg_method_d, 1086s # G_TYPE_BOOLEAN, 1086s # 1, 1086s # G_TYPE_DBUS_METHOD_INVOCATION); 1086s # 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_d: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1086s # */ 1086s # void 1086s # org_project_useful_interface_call_single_arg_method_d ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodD", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # callback, 1086s # user_data); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_d_finish: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_d_finish ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # gdouble *out_arg_d, 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(d)", 1086s # out_arg_d); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_d_sync: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_d_sync ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # gdouble *out_arg_d, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodD", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(d)", 1086s # out_arg_d); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_complete_single_arg_method_d: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1086s # * @arg_d: Parameter to return. 1086s # * 1086s # * 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. 1086s # * 1086s # * This method will free @invocation, you cannot use it afterwards. 1086s # */ 1086s # void 1086s # org_project_useful_interface_complete_single_arg_method_d ( 1086s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1086s # GDBusMethodInvocation *invocation, 1086s # gdouble arg_d) 1086s # { 1086s # g_dbus_method_invocation_return_value (invocation, 1086s # g_variant_new ("(d)", 1086s # arg_d)); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxy: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxyClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceProxyPrivate 1086s # { 1086s # GData *qdata; 1086s # }; 1086s # 1086s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_proxy_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1086s # g_datalist_clear (&proxy->priv->qdata); 1086s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # const GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1086s # const gchar *sender_name G_GNUC_UNUSED, 1086s # const gchar *signal_name, 1086s # GVariant *parameters) 1086s # { 1086s # _ExtendedGDBusSignalInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # gsize n; 1086s # guint signal_id; 1086s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1086s # if (info == NULL) 1086s # return; 1086s # num_params = g_variant_n_children (parameters); 1086s # paramv = g_new0 (GValue, num_params + 1); 1086s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[0], proxy); 1086s # g_variant_iter_init (&iter, parameters); 1086s # n = 1; 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_signal_emitv (paramv, signal_id, 0, NULL); 1086s # for (n = 0; n < num_params + 1; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1086s # GVariant *changed_properties, 1086s # const gchar *const *invalidated_properties) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1086s # guint n; 1086s # const gchar *key; 1086s # GVariantIter *iter; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # g_variant_get (changed_properties, "a{sv}", &iter); 1086s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1086s # g_datalist_remove_data (&proxy->priv->qdata, key); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # g_variant_iter_free (iter); 1086s # for (n = 0; invalidated_properties[n] != NULL; n++) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1086s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1086s # #else 1086s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1086s # #endif 1086s # 1086s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusProxyClass *proxy_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1086s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1086s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1086s # 1086s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1086s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1086s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_sync: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_sync ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new_for_bus ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_sync: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_sync ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeleton: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeletonClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1086s # { 1086s # GValue *properties; 1086s # GList *changed_properties; 1086s # GSource *changed_properties_idle_source; 1086s # GMainContext *context; 1086s # GMutex lock; 1086s # }; 1086s # 1086s # static void 1086s # _org_project_useful_interface_skeleton_handle_method_call ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name, 1086s # const gchar *method_name, 1086s # GVariant *parameters, 1086s # GDBusMethodInvocation *invocation, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # _ExtendedGDBusMethodInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # guint num_extra; 1086s # gsize n; 1086s # guint signal_id; 1086s # GValue return_value = G_VALUE_INIT; 1086s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1086s # g_assert (info != NULL); 1086s # num_params = g_variant_n_children (parameters); 1086s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1086s # n = 0; 1086s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[n++], skeleton); 1086s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1086s # g_value_set_object (¶mv[n++], invocation); 1086s # if (info->pass_fdlist) 1086s # { 1086s # #ifdef G_OS_UNIX 1086s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1086s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1086s # #else 1086s # g_assert_not_reached (); 1086s # #endif 1086s # } 1086s # g_variant_iter_init (&iter, parameters); 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1086s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1086s # if (!g_value_get_boolean (&return_value)) 1086s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1086s # g_value_unset (&return_value); 1086s # for (n = 0; n < num_params + num_extra; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static GVariant * 1086s # _org_project_useful_interface_skeleton_handle_get_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *ret; 1086s # ret = NULL; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # g_value_init (&value, pspec->value_type); 1086s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_value_unset (&value); 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _org_project_useful_interface_skeleton_handle_set_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GVariant *variant, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # gboolean ret; 1086s # ret = FALSE; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # if (info->use_gvariant) 1086s # g_value_set_variant (&value, variant); 1086s # else 1086s # g_dbus_gvariant_to_gvalue (variant, &value); 1086s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # g_value_unset (&value); 1086s # ret = TRUE; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1086s # { 1086s # _org_project_useful_interface_skeleton_handle_method_call, 1086s # _org_project_useful_interface_skeleton_handle_get_property, 1086s # _org_project_useful_interface_skeleton_handle_set_property, 1086s # {NULL} 1086s # }; 1086s # 1086s # static GDBusInterfaceInfo * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return org_project_useful_interface_interface_info (); 1086s # } 1086s # 1086s # static GDBusInterfaceVTable * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1086s # } 1086s # 1086s # static GVariant * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1086s # 1086s # GVariantBuilder builder; 1086s # guint n; 1086s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1086s # goto out; 1086s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1086s # { 1086s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1086s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1086s # { 1086s # GVariant *value; 1086s # 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); 1086s # if (value != NULL) 1086s # { 1086s # g_variant_take_ref (value); 1086s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1086s # g_variant_unref (value); 1086s # } 1086s # } 1086s # } 1086s # out: 1086s # return g_variant_builder_end (&builder); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_skeleton_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # g_main_context_unref (skeleton->priv->context); 1086s # g_mutex_clear (&skeleton->priv->lock); 1086s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1086s # #else 1086s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1086s # #endif 1086s # 1086s # g_mutex_init (&skeleton->priv->lock); 1086s # skeleton->priv->context = g_main_context_ref_thread_default (); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusInterfaceSkeletonClass *skeleton_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1086s # 1086s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1086s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1086s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1086s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1086s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_skeleton_new: 1086s # * 1086s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_skeleton_new (void) 1086s # { 1086s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1086s # } 1086s # /tmp/tmp2a8key32/tmp2pzsep1d.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2a8key32/tmp2pzsep1d.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifdef HAVE_CONFIG_H 1086s # # include "config.h" 1086s # #endif 1086s # 1086s # #include 1086s # #ifdef G_OS_UNIX 1086s # # include 1086s # #endif 1086s # 1086s # #ifdef G_ENABLE_DEBUG 1086s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1086s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1086s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1086s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1086s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1086s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1086s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1086s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1086s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1086s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1086s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1086s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1086s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1086s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1086s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1086s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1086s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1086s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1086s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1086s # #else /* !G_ENABLE_DEBUG */ 1086s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1086s # * Do not access GValues directly in your code. Instead, use the 1086s # * g_value_get_*() functions 1086s # */ 1086s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1086s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1086s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1086s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1086s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1086s # #endif /* !G_ENABLE_DEBUG */ 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusArgInfo parent_struct; 1086s # gboolean use_gvariant; 1086s # } _ExtendedGDBusArgInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusMethodInfo parent_struct; 1086s # const gchar *signal_name; 1086s # gboolean pass_fdlist; 1086s # } _ExtendedGDBusMethodInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusSignalInfo parent_struct; 1086s # const gchar *signal_name; 1086s # } _ExtendedGDBusSignalInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusPropertyInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # guint use_gvariant : 1; 1086s # guint emits_changed_signal : 1; 1086s # } _ExtendedGDBusPropertyInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusInterfaceInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # } _ExtendedGDBusInterfaceInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # guint prop_id; 1086s # GValue orig_value; /* the value before the change */ 1086s # } ChangedProperty; 1086s # 1086s # static void 1086s # _changed_property_free (ChangedProperty *data) 1086s # { 1086s # g_value_unset (&data->orig_value); 1086s # g_free (data); 1086s # } 1086s # 1086s # static gboolean 1086s # _g_strv_equal0 (gchar **a, gchar **b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # guint n; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # if (g_strv_length (a) != g_strv_length (b)) 1086s # goto out; 1086s # for (n = 0; a[n] != NULL; n++) 1086s # if (g_strcmp0 (a[n], b[n]) != 0) 1086s # goto out; 1086s # ret = TRUE; 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _g_variant_equal0 (GVariant *a, GVariant *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # ret = g_variant_equal (a, b); 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # G_GNUC_UNUSED static gboolean 1086s # _g_value_equal (const GValue *a, const GValue *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1086s # switch (G_VALUE_TYPE (a)) 1086s # { 1086s # case G_TYPE_BOOLEAN: 1086s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1086s # break; 1086s # case G_TYPE_UCHAR: 1086s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1086s # break; 1086s # case G_TYPE_INT: 1086s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1086s # break; 1086s # case G_TYPE_UINT: 1086s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1086s # break; 1086s # case G_TYPE_INT64: 1086s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1086s # break; 1086s # case G_TYPE_UINT64: 1086s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1086s # break; 1086s # case G_TYPE_DOUBLE: 1086s # { 1086s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1086s # gdouble da = g_value_get_double (a); 1086s # gdouble db = g_value_get_double (b); 1086s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1086s # } 1086s # break; 1086s # case G_TYPE_STRING: 1086s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1086s # break; 1086s # case G_TYPE_VARIANT: 1086s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1086s # break; 1086s # default: 1086s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1086s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1086s # else 1086s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1086s # break; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static void 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint G_GNUC_UNUSED, 1086s # void *marshal_data) 1086s # { 1086s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (void *data1, 1086s # GDBusMethodInvocation *arg_method_invocation, 1086s # void *data2); 1086s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1086s # GCClosure *cc = (GCClosure*) closure; 1086s # void *data1, *data2; 1086s # gboolean v_return; 1086s # 1086s # g_return_if_fail (return_value != NULL); 1086s # g_return_if_fail (n_param_values == 2); 1086s # 1086s # if (G_CCLOSURE_SWAP_DATA (closure)) 1086s # { 1086s # data1 = closure->data; 1086s # data2 = g_value_peek_pointer (param_values + 0); 1086s # } 1086s # else 1086s # { 1086s # data1 = g_value_peek_pointer (param_values + 0); 1086s # data2 = closure->data; 1086s # } 1086s # 1086s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (marshal_data ? marshal_data : cc->callback); 1086s # 1086s # v_return = 1086s # callback (data1, 1086s # g_marshal_value_peek_object (param_values + 1), 1086s # data2); 1086s # 1086s # g_value_set_boolean (return_value, v_return); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ 1086s # * Code for interface org.project.UsefulInterface 1086s # * ------------------------------------------------------------------------ 1086s # */ 1086s # 1086s # /** 1086s # * SECTION:OrgProjectUsefulInterface 1086s # * @title: OrgProjectUsefulInterface 1086s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1086s # * 1086s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1086s # */ 1086s # 1086s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "arg_s", 1086s # (gchar *) "s", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "SingleArgMethodS", 1086s # NULL, 1086s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 1086s # NULL 1086s # }, 1086s # "handle-single-arg-method-s", 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "org.project.UsefulInterface", 1086s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1086s # NULL, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "org-project-useful-interface", 1086s # }; 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_interface_info: 1086s # * 1086s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1086s # * 1086s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1086s # */ 1086s # GDBusInterfaceInfo * 1086s # org_project_useful_interface_interface_info (void) 1086s # { 1086s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_override_properties: 1086s # * @klass: The class structure for a #GObject derived class. 1086s # * @property_id_begin: The property id to assign to the first overridden property. 1086s # * 1086s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1086s # * The properties are overridden in the order they are defined. 1086s # * 1086s # * Returns: The last property id. 1086s # */ 1086s # guint 1086s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1086s # { 1086s # return property_id_begin - 1; 1086s # } 1086s # 1086s # 1086s # inline static void 1086s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint, 1086s # void *marshal_data) 1086s # { 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1086s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1086s # } 1086s # 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterface: 1086s # * 1086s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceIface: 1086s # * @parent_iface: The parent interface. 1086s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1086s # * 1086s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1086s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1086s # 1086s # static void 1086s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1086s # { 1086s # /* GObject signals for incoming D-Bus method calls: */ 1086s # /** 1086s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: A #GDBusMethodInvocation. 1086s # * 1086s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1086s # * 1086s # * 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. 1086s # * 1086s # * 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. 1086s # */ 1086s # g_signal_new ("handle-single-arg-method-s", 1086s # G_TYPE_FROM_INTERFACE (iface), 1086s # G_SIGNAL_RUN_LAST, 1086s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1086s # g_signal_accumulator_true_handled, 1086s # NULL, 1086s # org_project_useful_interface_method_marshal_single_arg_method_s, 1086s # G_TYPE_BOOLEAN, 1086s # 1, 1086s # G_TYPE_DBUS_METHOD_INVOCATION); 1086s # 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_s: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1086s # */ 1086s # void 1086s # org_project_useful_interface_call_single_arg_method_s ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodS", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # callback, 1086s # user_data); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_s_finish: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_s_finish ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # gchar **out_arg_s, 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(s)", 1086s # out_arg_s); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_s_sync: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_s_sync ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # gchar **out_arg_s, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodS", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(s)", 1086s # out_arg_s); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_complete_single_arg_method_s: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1086s # * @arg_s: Parameter to return. 1086s # * 1086s # * 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. 1086s # * 1086s # * This method will free @invocation, you cannot use it afterwards. 1086s # */ 1086s # void 1086s # org_project_useful_interface_complete_single_arg_method_s ( 1086s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1086s # GDBusMethodInvocation *invocation, 1086s # const gchar *arg_s) 1086s # { 1086s # g_dbus_method_invocation_return_value (invocation, 1086s # g_variant_new ("(s)", 1086s # arg_s)); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxy: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxyClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceProxyPrivate 1086s # { 1086s # GData *qdata; 1086s # }; 1086s # 1086s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_proxy_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1086s # g_datalist_clear (&proxy->priv->qdata); 1086s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # const GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1086s # const gchar *sender_name G_GNUC_UNUSED, 1086s # const gchar *signal_name, 1086s # GVariant *parameters) 1086s # { 1086s # _ExtendedGDBusSignalInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # gsize n; 1086s # guint signal_id; 1086s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1086s # if (info == NULL) 1086s # return; 1086s # num_params = g_variant_n_children (parameters); 1086s # paramv = g_new0 (GValue, num_params + 1); 1086s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[0], proxy); 1086s # g_variant_iter_init (&iter, parameters); 1086s # n = 1; 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_signal_emitv (paramv, signal_id, 0, NULL); 1086s # for (n = 0; n < num_params + 1; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1086s # GVariant *changed_properties, 1086s # const gchar *const *invalidated_properties) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1086s # guint n; 1086s # const gchar *key; 1086s # GVariantIter *iter; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # g_variant_get (changed_properties, "a{sv}", &iter); 1086s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1086s # g_datalist_remove_data (&proxy->priv->qdata, key); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # g_variant_iter_free (iter); 1086s # for (n = 0; invalidated_properties[n] != NULL; n++) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1086s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1086s # #else 1086s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1086s # #endif 1086s # 1086s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusProxyClass *proxy_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1086s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1086s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1086s # 1086s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1086s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1086s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_sync: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_sync ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new_for_bus ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_sync: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_sync ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeleton: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeletonClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1086s # { 1086s # GValue *properties; 1086s # GList *changed_properties; 1086s # GSource *changed_properties_idle_source; 1086s # GMainContext *context; 1086s # GMutex lock; 1086s # }; 1086s # 1086s # static void 1086s # _org_project_useful_interface_skeleton_handle_method_call ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name, 1086s # const gchar *method_name, 1086s # GVariant *parameters, 1086s # GDBusMethodInvocation *invocation, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # _ExtendedGDBusMethodInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # guint num_extra; 1086s # gsize n; 1086s # guint signal_id; 1086s # GValue return_value = G_VALUE_INIT; 1086s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1086s # g_assert (info != NULL); 1086s # num_params = g_variant_n_children (parameters); 1086s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1086s # n = 0; 1086s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[n++], skeleton); 1086s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1086s # g_value_set_object (¶mv[n++], invocation); 1086s # if (info->pass_fdlist) 1086s # { 1086s # #ifdef G_OS_UNIX 1086s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1086s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1086s # #else 1086s # g_assert_not_reached (); 1086s # #endif 1086s # } 1086s # g_variant_iter_init (&iter, parameters); 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1086s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1086s # if (!g_value_get_boolean (&return_value)) 1086s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1086s # g_value_unset (&return_value); 1086s # for (n = 0; n < num_params + num_extra; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static GVariant * 1086s # _org_project_useful_interface_skeleton_handle_get_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *ret; 1086s # ret = NULL; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # g_value_init (&value, pspec->value_type); 1086s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_value_unset (&value); 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _org_project_useful_interface_skeleton_handle_set_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GVariant *variant, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # gboolean ret; 1086s # ret = FALSE; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # if (info->use_gvariant) 1086s # g_value_set_variant (&value, variant); 1086s # else 1086s # g_dbus_gvariant_to_gvalue (variant, &value); 1086s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # g_value_unset (&value); 1086s # ret = TRUE; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1086s # { 1086s # _org_project_useful_interface_skeleton_handle_method_call, 1086s # _org_project_useful_interface_skeleton_handle_get_property, 1086s # _org_project_useful_interface_skeleton_handle_set_property, 1086s # {NULL} 1086s # }; 1086s # 1086s # static GDBusInterfaceInfo * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return org_project_useful_interface_interface_info (); 1086s # } 1086s # 1086s # static GDBusInterfaceVTable * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1086s # } 1086s # 1086s # static GVariant * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1086s # 1086s # GVariantBuilder builder; 1086s # guint n; 1086s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1086s # goto out; 1086s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1086s # { 1086s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1086s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1086s # { 1086s # GVariant *value; 1086s # 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); 1086s # if (value != NULL) 1086s # { 1086s # g_variant_take_ref (value); 1086s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1086s # g_variant_unref (value); 1086s # } 1086s # } 1086s # } 1086s # out: 1086s # return g_variant_builder_end (&builder); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_skeleton_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # g_main_context_unref (skeleton->priv->context); 1086s # g_mutex_clear (&skeleton->priv->lock); 1086s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1086s # #else 1086s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1086s # #endif 1086s # 1086s # g_mutex_init (&skeleton->priv->lock); 1086s # skeleton->priv->context = g_main_context_ref_thread_default (); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusInterfaceSkeletonClass *skeleton_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1086s # 1086s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1086s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1086s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1086s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1086s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_skeleton_new: 1086s # * 1086s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_skeleton_new (void) 1086s # { 1086s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1086s # } 1086s # /tmp/tmp2a8key32/tmps8q_ypn8.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2a8key32/tmps8q_ypn8.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifdef HAVE_CONFIG_H 1086s # # include "config.h" 1086s # #endif 1086s # 1086s # #include 1086s # #ifdef G_OS_UNIX 1086s # # include 1086s # #endif 1086s # 1086s # #ifdef G_ENABLE_DEBUG 1086s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1086s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1086s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1086s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1086s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1086s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1086s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1086s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1086s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1086s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1086s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1086s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1086s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1086s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1086s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1086s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1086s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1086s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1086s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1086s # #else /* !G_ENABLE_DEBUG */ 1086s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1086s # * Do not access GValues directly in your code. Instead, use the 1086s # * g_value_get_*() functions 1086s # */ 1086s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1086s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1086s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1086s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1086s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1086s # #endif /* !G_ENABLE_DEBUG */ 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusArgInfo parent_struct; 1086s # gboolean use_gvariant; 1086s # } _ExtendedGDBusArgInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusMethodInfo parent_struct; 1086s # const gchar *signal_name; 1086s # gboolean pass_fdlist; 1086s # } _ExtendedGDBusMethodInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusSignalInfo parent_struct; 1086s # const gchar *signal_name; 1086s # } _ExtendedGDBusSignalInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusPropertyInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # guint use_gvariant : 1; 1086s # guint emits_changed_signal : 1; 1086s # } _ExtendedGDBusPropertyInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusInterfaceInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # } _ExtendedGDBusInterfaceInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # guint prop_id; 1086s # GValue orig_value; /* the value before the change */ 1086s # } ChangedProperty; 1086s # 1086s # static void 1086s # _changed_property_free (ChangedProperty *data) 1086s # { 1086s # g_value_unset (&data->orig_value); 1086s # g_free (data); 1086s # } 1086s # 1086s # static gboolean 1086s # _g_strv_equal0 (gchar **a, gchar **b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # guint n; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # if (g_strv_length (a) != g_strv_length (b)) 1086s # goto out; 1086s # for (n = 0; a[n] != NULL; n++) 1086s # if (g_strcmp0 (a[n], b[n]) != 0) 1086s # goto out; 1086s # ret = TRUE; 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _g_variant_equal0 (GVariant *a, GVariant *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # ret = g_variant_equal (a, b); 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # G_GNUC_UNUSED static gboolean 1086s # _g_value_equal (const GValue *a, const GValue *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1086s # switch (G_VALUE_TYPE (a)) 1086s # { 1086s # case G_TYPE_BOOLEAN: 1086s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1086s # break; 1086s # case G_TYPE_UCHAR: 1086s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1086s # break; 1086s # case G_TYPE_INT: 1086s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1086s # break; 1086s # case G_TYPE_UINT: 1086s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1086s # break; 1086s # case G_TYPE_INT64: 1086s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1086s # break; 1086s # case G_TYPE_UINT64: 1086s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1086s # break; 1086s # case G_TYPE_DOUBLE: 1086s # { 1086s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1086s # gdouble da = g_value_get_double (a); 1086s # gdouble db = g_value_get_double (b); 1086s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1086s # } 1086s # break; 1086s # case G_TYPE_STRING: 1086s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1086s # break; 1086s # case G_TYPE_VARIANT: 1086s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1086s # break; 1086s # default: 1086s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1086s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1086s # else 1086s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1086s # break; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static void 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint G_GNUC_UNUSED, 1086s # void *marshal_data) 1086s # { 1086s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (void *data1, 1086s # GDBusMethodInvocation *arg_method_invocation, 1086s # void *data2); 1086s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1086s # GCClosure *cc = (GCClosure*) closure; 1086s # void *data1, *data2; 1086s # gboolean v_return; 1086s # 1086s # g_return_if_fail (return_value != NULL); 1086s # g_return_if_fail (n_param_values == 2); 1086s # 1086s # if (G_CCLOSURE_SWAP_DATA (closure)) 1086s # { 1086s # data1 = closure->data; 1086s # data2 = g_value_peek_pointer (param_values + 0); 1086s # } 1086s # else 1086s # { 1086s # data1 = g_value_peek_pointer (param_values + 0); 1086s # data2 = closure->data; 1086s # } 1086s # 1086s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (marshal_data ? marshal_data : cc->callback); 1086s # 1086s # v_return = 1086s # callback (data1, 1086s # g_marshal_value_peek_object (param_values + 1), 1086s # data2); 1086s # 1086s # g_value_set_boolean (return_value, v_return); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ 1086s # * Code for interface org.project.UsefulInterface 1086s # * ------------------------------------------------------------------------ 1086s # */ 1086s # 1086s # /** 1086s # * SECTION:OrgProjectUsefulInterface 1086s # * @title: OrgProjectUsefulInterface 1086s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1086s # * 1086s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1086s # */ 1086s # 1086s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "arg_o", 1086s # (gchar *) "o", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "SingleArgMethodO", 1086s # NULL, 1086s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 1086s # NULL 1086s # }, 1086s # "handle-single-arg-method-o", 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "org.project.UsefulInterface", 1086s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1086s # NULL, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "org-project-useful-interface", 1086s # }; 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_interface_info: 1086s # * 1086s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1086s # * 1086s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1086s # */ 1086s # GDBusInterfaceInfo * 1086s # org_project_useful_interface_interface_info (void) 1086s # { 1086s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_override_properties: 1086s # * @klass: The class structure for a #GObject derived class. 1086s # * @property_id_begin: The property id to assign to the first overridden property. 1086s # * 1086s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1086s # * The properties are overridden in the order they are defined. 1086s # * 1086s # * Returns: The last property id. 1086s # */ 1086s # guint 1086s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1086s # { 1086s # return property_id_begin - 1; 1086s # } 1086s # 1086s # 1086s # inline static void 1086s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint, 1086s # void *marshal_data) 1086s # { 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1086s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1086s # } 1086s # 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterface: 1086s # * 1086s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceIface: 1086s # * @parent_iface: The parent interface. 1086s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1086s # * 1086s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1086s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1086s # 1086s # static void 1086s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1086s # { 1086s # /* GObject signals for incoming D-Bus method calls: */ 1086s # /** 1086s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: A #GDBusMethodInvocation. 1086s # * 1086s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1086s # * 1086s # * 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. 1086s # * 1086s # * 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. 1086s # */ 1086s # g_signal_new ("handle-single-arg-method-o", 1086s # G_TYPE_FROM_INTERFACE (iface), 1086s # G_SIGNAL_RUN_LAST, 1086s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1086s # g_signal_accumulator_true_handled, 1086s # NULL, 1086s # org_project_useful_interface_method_marshal_single_arg_method_o, 1086s # G_TYPE_BOOLEAN, 1086s # 1, 1086s # G_TYPE_DBUS_METHOD_INVOCATION); 1086s # 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_o: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1086s # */ 1086s # void 1086s # org_project_useful_interface_call_single_arg_method_o ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodO", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # callback, 1086s # user_data); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_o_finish: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_o_finish ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # gchar **out_arg_o, 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(o)", 1086s # out_arg_o); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_o_sync: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_o_sync ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # gchar **out_arg_o, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodO", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(o)", 1086s # out_arg_o); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_complete_single_arg_method_o: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1086s # * @arg_o: Parameter to return. 1086s # * 1086s # * 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. 1086s # * 1086s # * This method will free @invocation, you cannot use it afterwards. 1086s # */ 1086s # void 1086s # org_project_useful_interface_complete_single_arg_method_o ( 1086s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1086s # GDBusMethodInvocation *invocation, 1086s # const gchar *arg_o) 1086s # { 1086s # g_dbus_method_invocation_return_value (invocation, 1086s # g_variant_new ("(o)", 1086s # arg_o)); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxy: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxyClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceProxyPrivate 1086s # { 1086s # GData *qdata; 1086s # }; 1086s # 1086s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_proxy_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1086s # g_datalist_clear (&proxy->priv->qdata); 1086s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # const GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1086s # const gchar *sender_name G_GNUC_UNUSED, 1086s # const gchar *signal_name, 1086s # GVariant *parameters) 1086s # { 1086s # _ExtendedGDBusSignalInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # gsize n; 1086s # guint signal_id; 1086s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1086s # if (info == NULL) 1086s # return; 1086s # num_params = g_variant_n_children (parameters); 1086s # paramv = g_new0 (GValue, num_params + 1); 1086s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[0], proxy); 1086s # g_variant_iter_init (&iter, parameters); 1086s # n = 1; 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_signal_emitv (paramv, signal_id, 0, NULL); 1086s # for (n = 0; n < num_params + 1; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1086s # GVariant *changed_properties, 1086s # const gchar *const *invalidated_properties) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1086s # guint n; 1086s # const gchar *key; 1086s # GVariantIter *iter; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # g_variant_get (changed_properties, "a{sv}", &iter); 1086s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1086s # g_datalist_remove_data (&proxy->priv->qdata, key); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # g_variant_iter_free (iter); 1086s # for (n = 0; invalidated_properties[n] != NULL; n++) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1086s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1086s # #else 1086s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1086s # #endif 1086s # 1086s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusProxyClass *proxy_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1086s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1086s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1086s # 1086s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1086s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1086s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_sync: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_sync ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new_for_bus ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_sync: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_sync ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeleton: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeletonClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1086s # { 1086s # GValue *properties; 1086s # GList *changed_properties; 1086s # GSource *changed_properties_idle_source; 1086s # GMainContext *context; 1086s # GMutex lock; 1086s # }; 1086s # 1086s # static void 1086s # _org_project_useful_interface_skeleton_handle_method_call ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name, 1086s # const gchar *method_name, 1086s # GVariant *parameters, 1086s # GDBusMethodInvocation *invocation, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # _ExtendedGDBusMethodInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # guint num_extra; 1086s # gsize n; 1086s # guint signal_id; 1086s # GValue return_value = G_VALUE_INIT; 1086s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1086s # g_assert (info != NULL); 1086s # num_params = g_variant_n_children (parameters); 1086s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1086s # n = 0; 1086s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[n++], skeleton); 1086s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1086s # g_value_set_object (¶mv[n++], invocation); 1086s # if (info->pass_fdlist) 1086s # { 1086s # #ifdef G_OS_UNIX 1086s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1086s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1086s # #else 1086s # g_assert_not_reached (); 1086s # #endif 1086s # } 1086s # g_variant_iter_init (&iter, parameters); 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1086s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1086s # if (!g_value_get_boolean (&return_value)) 1086s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1086s # g_value_unset (&return_value); 1086s # for (n = 0; n < num_params + num_extra; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static GVariant * 1086s # _org_project_useful_interface_skeleton_handle_get_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *ret; 1086s # ret = NULL; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # g_value_init (&value, pspec->value_type); 1086s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_value_unset (&value); 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _org_project_useful_interface_skeleton_handle_set_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GVariant *variant, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # gboolean ret; 1086s # ret = FALSE; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # if (info->use_gvariant) 1086s # g_value_set_variant (&value, variant); 1086s # else 1086s # g_dbus_gvariant_to_gvalue (variant, &value); 1086s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # g_value_unset (&value); 1086s # ret = TRUE; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1086s # { 1086s # _org_project_useful_interface_skeleton_handle_method_call, 1086s # _org_project_useful_interface_skeleton_handle_get_property, 1086s # _org_project_useful_interface_skeleton_handle_set_property, 1086s # {NULL} 1086s # }; 1086s # 1086s # static GDBusInterfaceInfo * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return org_project_useful_interface_interface_info (); 1086s # } 1086s # 1086s # static GDBusInterfaceVTable * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1086s # } 1086s # 1086s # static GVariant * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1086s # 1086s # GVariantBuilder builder; 1086s # guint n; 1086s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1086s # goto out; 1086s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1086s # { 1086s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1086s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1086s # { 1086s # GVariant *value; 1086s # 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); 1086s # if (value != NULL) 1086s # { 1086s # g_variant_take_ref (value); 1086s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1086s # g_variant_unref (value); 1086s # } 1086s # } 1086s # } 1086s # out: 1086s # return g_variant_builder_end (&builder); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_skeleton_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # g_main_context_unref (skeleton->priv->context); 1086s # g_mutex_clear (&skeleton->priv->lock); 1086s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1086s # #else 1086s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1086s # #endif 1086s # 1086s # g_mutex_init (&skeleton->priv->lock); 1086s # skeleton->priv->context = g_main_context_ref_thread_default (); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusInterfaceSkeletonClass *skeleton_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1086s # 1086s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1086s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1086s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1086s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1086s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_skeleton_new: 1086s # * 1086s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_skeleton_new (void) 1086s # { 1086s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1086s # } 1086s # /tmp/tmp2a8key32/tmp_saskpuc.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2a8key32/tmp_saskpuc.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifdef HAVE_CONFIG_H 1086s # # include "config.h" 1086s # #endif 1086s # 1086s # #include 1086s # #ifdef G_OS_UNIX 1086s # # include 1086s # #endif 1086s # 1086s # #ifdef G_ENABLE_DEBUG 1086s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1086s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1086s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1086s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1086s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1086s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1086s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1086s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1086s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1086s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1086s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1086s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1086s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1086s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1086s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1086s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1086s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1086s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1086s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1086s # #else /* !G_ENABLE_DEBUG */ 1086s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1086s # * Do not access GValues directly in your code. Instead, use the 1086s # * g_value_get_*() functions 1086s # */ 1086s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1086s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1086s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1086s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1086s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1086s # #endif /* !G_ENABLE_DEBUG */ 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusArgInfo parent_struct; 1086s # gboolean use_gvariant; 1086s # } _ExtendedGDBusArgInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusMethodInfo parent_struct; 1086s # const gchar *signal_name; 1086s # gboolean pass_fdlist; 1086s # } _ExtendedGDBusMethodInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusSignalInfo parent_struct; 1086s # const gchar *signal_name; 1086s # } _ExtendedGDBusSignalInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusPropertyInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # guint use_gvariant : 1; 1086s # guint emits_changed_signal : 1; 1086s # } _ExtendedGDBusPropertyInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusInterfaceInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # } _ExtendedGDBusInterfaceInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # guint prop_id; 1086s # GValue orig_value; /* the value before the change */ 1086s # } ChangedProperty; 1086s # 1086s # static void 1086s # _changed_property_free (ChangedProperty *data) 1086s # { 1086s # g_value_unset (&data->orig_value); 1086s # g_free (data); 1086s # } 1086s # 1086s # static gboolean 1086s # _g_strv_equal0 (gchar **a, gchar **b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # guint n; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # if (g_strv_length (a) != g_strv_length (b)) 1086s # goto out; 1086s # for (n = 0; a[n] != NULL; n++) 1086s # if (g_strcmp0 (a[n], b[n]) != 0) 1086s # goto out; 1086s # ret = TRUE; 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _g_variant_equal0 (GVariant *a, GVariant *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # ret = g_variant_equal (a, b); 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # G_GNUC_UNUSED static gboolean 1086s # _g_value_equal (const GValue *a, const GValue *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1086s # switch (G_VALUE_TYPE (a)) 1086s # { 1086s # case G_TYPE_BOOLEAN: 1086s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1086s # break; 1086s # case G_TYPE_UCHAR: 1086s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1086s # break; 1086s # case G_TYPE_INT: 1086s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1086s # break; 1086s # case G_TYPE_UINT: 1086s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1086s # break; 1086s # case G_TYPE_INT64: 1086s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1086s # break; 1086s # case G_TYPE_UINT64: 1086s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1086s # break; 1086s # case G_TYPE_DOUBLE: 1086s # { 1086s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1086s # gdouble da = g_value_get_double (a); 1086s # gdouble db = g_value_get_double (b); 1086s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1086s # } 1086s # break; 1086s # case G_TYPE_STRING: 1086s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1086s # break; 1086s # case G_TYPE_VARIANT: 1086s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1086s # break; 1086s # default: 1086s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1086s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1086s # else 1086s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1086s # break; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static void 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint G_GNUC_UNUSED, 1086s # void *marshal_data) 1086s # { 1086s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (void *data1, 1086s # GDBusMethodInvocation *arg_method_invocation, 1086s # void *data2); 1086s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1086s # GCClosure *cc = (GCClosure*) closure; 1086s # void *data1, *data2; 1086s # gboolean v_return; 1086s # 1086s # g_return_if_fail (return_value != NULL); 1086s # g_return_if_fail (n_param_values == 2); 1086s # 1086s # if (G_CCLOSURE_SWAP_DATA (closure)) 1086s # { 1086s # data1 = closure->data; 1086s # data2 = g_value_peek_pointer (param_values + 0); 1086s # } 1086s # else 1086s # { 1086s # data1 = g_value_peek_pointer (param_values + 0); 1086s # data2 = closure->data; 1086s # } 1086s # 1086s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (marshal_data ? marshal_data : cc->callback); 1086s # 1086s # v_return = 1086s # callback (data1, 1086s # g_marshal_value_peek_object (param_values + 1), 1086s # data2); 1086s # 1086s # g_value_set_boolean (return_value, v_return); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ 1086s # * Code for interface org.project.UsefulInterface 1086s # * ------------------------------------------------------------------------ 1086s # */ 1086s # 1086s # /** 1086s # * SECTION:OrgProjectUsefulInterface 1086s # * @title: OrgProjectUsefulInterface 1086s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1086s # * 1086s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1086s # */ 1086s # 1086s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "arg_g", 1086s # (gchar *) "g", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "SingleArgMethodG", 1086s # NULL, 1086s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 1086s # NULL 1086s # }, 1086s # "handle-single-arg-method-g", 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "org.project.UsefulInterface", 1086s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1086s # NULL, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "org-project-useful-interface", 1086s # }; 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_interface_info: 1086s # * 1086s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1086s # * 1086s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1086s # */ 1086s # GDBusInterfaceInfo * 1086s # org_project_useful_interface_interface_info (void) 1086s # { 1086s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_override_properties: 1086s # * @klass: The class structure for a #GObject derived class. 1086s # * @property_id_begin: The property id to assign to the first overridden property. 1086s # * 1086s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1086s # * The properties are overridden in the order they are defined. 1086s # * 1086s # * Returns: The last property id. 1086s # */ 1086s # guint 1086s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1086s # { 1086s # return property_id_begin - 1; 1086s # } 1086s # 1086s # 1086s # inline static void 1086s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint, 1086s # void *marshal_data) 1086s # { 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1086s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1086s # } 1086s # 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterface: 1086s # * 1086s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceIface: 1086s # * @parent_iface: The parent interface. 1086s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1086s # * 1086s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1086s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1086s # 1086s # static void 1086s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1086s # { 1086s # /* GObject signals for incoming D-Bus method calls: */ 1086s # /** 1086s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: A #GDBusMethodInvocation. 1086s # * 1086s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1086s # * 1086s # * 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. 1086s # * 1086s # * 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. 1086s # */ 1086s # g_signal_new ("handle-single-arg-method-g", 1086s # G_TYPE_FROM_INTERFACE (iface), 1086s # G_SIGNAL_RUN_LAST, 1086s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1086s # g_signal_accumulator_true_handled, 1086s # NULL, 1086s # org_project_useful_interface_method_marshal_single_arg_method_g, 1086s # G_TYPE_BOOLEAN, 1086s # 1, 1086s # G_TYPE_DBUS_METHOD_INVOCATION); 1086s # 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_g: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1086s # */ 1086s # void 1086s # org_project_useful_interface_call_single_arg_method_g ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodG", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # callback, 1086s # user_data); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_g_finish: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_g_finish ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # gchar **out_arg_g, 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(g)", 1086s # out_arg_g); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_g_sync: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_g_sync ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # gchar **out_arg_g, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodG", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(g)", 1086s # out_arg_g); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_complete_single_arg_method_g: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1086s # * @arg_g: Parameter to return. 1086s # * 1086s # * 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. 1086s # * 1086s # * This method will free @invocation, you cannot use it afterwards. 1086s # */ 1086s # void 1086s # org_project_useful_interface_complete_single_arg_method_g ( 1086s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1086s # GDBusMethodInvocation *invocation, 1086s # const gchar *arg_g) 1086s # { 1086s # g_dbus_method_invocation_return_value (invocation, 1086s # g_variant_new ("(g)", 1086s # arg_g)); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxy: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxyClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceProxyPrivate 1086s # { 1086s # GData *qdata; 1086s # }; 1086s # 1086s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_proxy_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1086s # g_datalist_clear (&proxy->priv->qdata); 1086s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # const GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1086s # const gchar *sender_name G_GNUC_UNUSED, 1086s # const gchar *signal_name, 1086s # GVariant *parameters) 1086s # { 1086s # _ExtendedGDBusSignalInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # gsize n; 1086s # guint signal_id; 1086s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1086s # if (info == NULL) 1086s # return; 1086s # num_params = g_variant_n_children (parameters); 1086s # paramv = g_new0 (GValue, num_params + 1); 1086s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[0], proxy); 1086s # g_variant_iter_init (&iter, parameters); 1086s # n = 1; 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_signal_emitv (paramv, signal_id, 0, NULL); 1086s # for (n = 0; n < num_params + 1; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1086s # GVariant *changed_properties, 1086s # const gchar *const *invalidated_properties) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1086s # guint n; 1086s # const gchar *key; 1086s # GVariantIter *iter; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # g_variant_get (changed_properties, "a{sv}", &iter); 1086s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1086s # g_datalist_remove_data (&proxy->priv->qdata, key); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # g_variant_iter_free (iter); 1086s # for (n = 0; invalidated_properties[n] != NULL; n++) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1086s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1086s # #else 1086s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1086s # #endif 1086s # 1086s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusProxyClass *proxy_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1086s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1086s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1086s # 1086s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1086s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1086s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_sync: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_sync ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new_for_bus ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_sync: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_sync ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeleton: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeletonClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1086s # { 1086s # GValue *properties; 1086s # GList *changed_properties; 1086s # GSource *changed_properties_idle_source; 1086s # GMainContext *context; 1086s # GMutex lock; 1086s # }; 1086s # 1086s # static void 1086s # _org_project_useful_interface_skeleton_handle_method_call ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name, 1086s # const gchar *method_name, 1086s # GVariant *parameters, 1086s # GDBusMethodInvocation *invocation, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # _ExtendedGDBusMethodInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # guint num_extra; 1086s # gsize n; 1086s # guint signal_id; 1086s # GValue return_value = G_VALUE_INIT; 1086s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1086s # g_assert (info != NULL); 1086s # num_params = g_variant_n_children (parameters); 1086s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1086s # n = 0; 1086s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[n++], skeleton); 1086s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1086s # g_value_set_object (¶mv[n++], invocation); 1086s # if (info->pass_fdlist) 1086s # { 1086s # #ifdef G_OS_UNIX 1086s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1086s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1086s # #else 1086s # g_assert_not_reached (); 1086s # #endif 1086s # } 1086s # g_variant_iter_init (&iter, parameters); 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1086s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1086s # if (!g_value_get_boolean (&return_value)) 1086s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1086s # g_value_unset (&return_value); 1086s # for (n = 0; n < num_params + num_extra; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static GVariant * 1086s # _org_project_useful_interface_skeleton_handle_get_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *ret; 1086s # ret = NULL; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # g_value_init (&value, pspec->value_type); 1086s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_value_unset (&value); 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _org_project_useful_interface_skeleton_handle_set_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GVariant *variant, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # gboolean ret; 1086s # ret = FALSE; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # if (info->use_gvariant) 1086s # g_value_set_variant (&value, variant); 1086s # else 1086s # g_dbus_gvariant_to_gvalue (variant, &value); 1086s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # g_value_unset (&value); 1086s # ret = TRUE; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1086s # { 1086s # _org_project_useful_interface_skeleton_handle_method_call, 1086s # _org_project_useful_interface_skeleton_handle_get_property, 1086s # _org_project_useful_interface_skeleton_handle_set_property, 1086s # {NULL} 1086s # }; 1086s # 1086s # static GDBusInterfaceInfo * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return org_project_useful_interface_interface_info (); 1086s # } 1086s # 1086s # static GDBusInterfaceVTable * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1086s # } 1086s # 1086s # static GVariant * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1086s # 1086s # GVariantBuilder builder; 1086s # guint n; 1086s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1086s # goto out; 1086s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1086s # { 1086s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1086s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1086s # { 1086s # GVariant *value; 1086s # 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); 1086s # if (value != NULL) 1086s # { 1086s # g_variant_take_ref (value); 1086s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1086s # g_variant_unref (value); 1086s # } 1086s # } 1086s # } 1086s # out: 1086s # return g_variant_builder_end (&builder); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_skeleton_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # g_main_context_unref (skeleton->priv->context); 1086s # g_mutex_clear (&skeleton->priv->lock); 1086s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1086s # #else 1086s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1086s # #endif 1086s # 1086s # g_mutex_init (&skeleton->priv->lock); 1086s # skeleton->priv->context = g_main_context_ref_thread_default (); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusInterfaceSkeletonClass *skeleton_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1086s # 1086s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1086s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1086s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1086s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1086s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_skeleton_new: 1086s # * 1086s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_skeleton_new (void) 1086s # { 1086s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1086s # } 1086s # /tmp/tmp2a8key32/tmpvcenz4pb.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2a8key32/tmpvcenz4pb.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifdef HAVE_CONFIG_H 1086s # # include "config.h" 1086s # #endif 1086s # 1086s # #include 1086s # #ifdef G_OS_UNIX 1086s # # include 1086s # #endif 1086s # 1086s # #ifdef G_ENABLE_DEBUG 1086s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1086s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1086s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1086s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1086s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1086s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1086s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1086s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1086s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1086s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1086s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1086s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1086s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1086s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1086s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1086s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1086s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1086s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1086s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1086s # #else /* !G_ENABLE_DEBUG */ 1086s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1086s # * Do not access GValues directly in your code. Instead, use the 1086s # * g_value_get_*() functions 1086s # */ 1086s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1086s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1086s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1086s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1086s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1086s # #endif /* !G_ENABLE_DEBUG */ 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusArgInfo parent_struct; 1086s # gboolean use_gvariant; 1086s # } _ExtendedGDBusArgInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusMethodInfo parent_struct; 1086s # const gchar *signal_name; 1086s # gboolean pass_fdlist; 1086s # } _ExtendedGDBusMethodInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusSignalInfo parent_struct; 1086s # const gchar *signal_name; 1086s # } _ExtendedGDBusSignalInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusPropertyInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # guint use_gvariant : 1; 1086s # guint emits_changed_signal : 1; 1086s # } _ExtendedGDBusPropertyInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusInterfaceInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # } _ExtendedGDBusInterfaceInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # guint prop_id; 1086s # GValue orig_value; /* the value before the change */ 1086s # } ChangedProperty; 1086s # 1086s # static void 1086s # _changed_property_free (ChangedProperty *data) 1086s # { 1086s # g_value_unset (&data->orig_value); 1086s # g_free (data); 1086s # } 1086s # 1086s # static gboolean 1086s # _g_strv_equal0 (gchar **a, gchar **b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # guint n; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # if (g_strv_length (a) != g_strv_length (b)) 1086s # goto out; 1086s # for (n = 0; a[n] != NULL; n++) 1086s # if (g_strcmp0 (a[n], b[n]) != 0) 1086s # goto out; 1086s # ret = TRUE; 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _g_variant_equal0 (GVariant *a, GVariant *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # ret = g_variant_equal (a, b); 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # G_GNUC_UNUSED static gboolean 1086s # _g_value_equal (const GValue *a, const GValue *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1086s # switch (G_VALUE_TYPE (a)) 1086s # { 1086s # case G_TYPE_BOOLEAN: 1086s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1086s # break; 1086s # case G_TYPE_UCHAR: 1086s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1086s # break; 1086s # case G_TYPE_INT: 1086s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1086s # break; 1086s # case G_TYPE_UINT: 1086s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1086s # break; 1086s # case G_TYPE_INT64: 1086s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1086s # break; 1086s # case G_TYPE_UINT64: 1086s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1086s # break; 1086s # case G_TYPE_DOUBLE: 1086s # { 1086s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1086s # gdouble da = g_value_get_double (a); 1086s # gdouble db = g_value_get_double (b); 1086s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1086s # } 1086s # break; 1086s # case G_TYPE_STRING: 1086s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1086s # break; 1086s # case G_TYPE_VARIANT: 1086s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1086s # break; 1086s # default: 1086s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1086s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1086s # else 1086s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1086s # break; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static void 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint G_GNUC_UNUSED, 1086s # void *marshal_data) 1086s # { 1086s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (void *data1, 1086s # GDBusMethodInvocation *arg_method_invocation, 1086s # void *data2); 1086s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1086s # GCClosure *cc = (GCClosure*) closure; 1086s # void *data1, *data2; 1086s # gboolean v_return; 1086s # 1086s # g_return_if_fail (return_value != NULL); 1086s # g_return_if_fail (n_param_values == 2); 1086s # 1086s # if (G_CCLOSURE_SWAP_DATA (closure)) 1086s # { 1086s # data1 = closure->data; 1086s # data2 = g_value_peek_pointer (param_values + 0); 1086s # } 1086s # else 1086s # { 1086s # data1 = g_value_peek_pointer (param_values + 0); 1086s # data2 = closure->data; 1086s # } 1086s # 1086s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (marshal_data ? marshal_data : cc->callback); 1086s # 1086s # v_return = 1086s # callback (data1, 1086s # g_marshal_value_peek_object (param_values + 1), 1086s # data2); 1086s # 1086s # g_value_set_boolean (return_value, v_return); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ 1086s # * Code for interface org.project.UsefulInterface 1086s # * ------------------------------------------------------------------------ 1086s # */ 1086s # 1086s # /** 1086s # * SECTION:OrgProjectUsefulInterface 1086s # * @title: OrgProjectUsefulInterface 1086s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1086s # * 1086s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1086s # */ 1086s # 1086s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "arg_h", 1086s # (gchar *) "h", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "SingleArgMethodH", 1086s # NULL, 1086s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 1086s # NULL 1086s # }, 1086s # "handle-single-arg-method-h", 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "org.project.UsefulInterface", 1086s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1086s # NULL, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "org-project-useful-interface", 1086s # }; 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_interface_info: 1086s # * 1086s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1086s # * 1086s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1086s # */ 1086s # GDBusInterfaceInfo * 1086s # org_project_useful_interface_interface_info (void) 1086s # { 1086s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_override_properties: 1086s # * @klass: The class structure for a #GObject derived class. 1086s # * @property_id_begin: The property id to assign to the first overridden property. 1086s # * 1086s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1086s # * The properties are overridden in the order they are defined. 1086s # * 1086s # * Returns: The last property id. 1086s # */ 1086s # guint 1086s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1086s # { 1086s # return property_id_begin - 1; 1086s # } 1086s # 1086s # 1086s # inline static void 1086s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint, 1086s # void *marshal_data) 1086s # { 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1086s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1086s # } 1086s # 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterface: 1086s # * 1086s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceIface: 1086s # * @parent_iface: The parent interface. 1086s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1086s # * 1086s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1086s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1086s # 1086s # static void 1086s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1086s # { 1086s # /* GObject signals for incoming D-Bus method calls: */ 1086s # /** 1086s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: A #GDBusMethodInvocation. 1086s # * 1086s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1086s # * 1086s # * 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. 1086s # * 1086s # * 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. 1086s # */ 1086s # g_signal_new ("handle-single-arg-method-h", 1086s # G_TYPE_FROM_INTERFACE (iface), 1086s # G_SIGNAL_RUN_LAST, 1086s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1086s # g_signal_accumulator_true_handled, 1086s # NULL, 1086s # org_project_useful_interface_method_marshal_single_arg_method_h, 1086s # G_TYPE_BOOLEAN, 1086s # 1, 1086s # G_TYPE_DBUS_METHOD_INVOCATION); 1086s # 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_h: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1086s # */ 1086s # void 1086s # org_project_useful_interface_call_single_arg_method_h ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodH", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # callback, 1086s # user_data); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_h_finish: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_h_finish ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # GVariant **out_arg_h, 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(@h)", 1086s # out_arg_h); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_h_sync: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_h_sync ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # GVariant **out_arg_h, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodH", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(@h)", 1086s # out_arg_h); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_complete_single_arg_method_h: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1086s # * @arg_h: Parameter to return. 1086s # * 1086s # * 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. 1086s # * 1086s # * This method will free @invocation, you cannot use it afterwards. 1086s # */ 1086s # void 1086s # org_project_useful_interface_complete_single_arg_method_h ( 1086s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1086s # GDBusMethodInvocation *invocation, 1086s # GVariant *arg_h) 1086s # { 1086s # g_dbus_method_invocation_return_value (invocation, 1086s # g_variant_new ("(@h)", 1086s # arg_h)); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxy: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxyClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceProxyPrivate 1086s # { 1086s # GData *qdata; 1086s # }; 1086s # 1086s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_proxy_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1086s # g_datalist_clear (&proxy->priv->qdata); 1086s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # const GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1086s # const gchar *sender_name G_GNUC_UNUSED, 1086s # const gchar *signal_name, 1086s # GVariant *parameters) 1086s # { 1086s # _ExtendedGDBusSignalInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # gsize n; 1086s # guint signal_id; 1086s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1086s # if (info == NULL) 1086s # return; 1086s # num_params = g_variant_n_children (parameters); 1086s # paramv = g_new0 (GValue, num_params + 1); 1086s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[0], proxy); 1086s # g_variant_iter_init (&iter, parameters); 1086s # n = 1; 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_signal_emitv (paramv, signal_id, 0, NULL); 1086s # for (n = 0; n < num_params + 1; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1086s # GVariant *changed_properties, 1086s # const gchar *const *invalidated_properties) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1086s # guint n; 1086s # const gchar *key; 1086s # GVariantIter *iter; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # g_variant_get (changed_properties, "a{sv}", &iter); 1086s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1086s # g_datalist_remove_data (&proxy->priv->qdata, key); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # g_variant_iter_free (iter); 1086s # for (n = 0; invalidated_properties[n] != NULL; n++) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1086s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1086s # #else 1086s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1086s # #endif 1086s # 1086s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusProxyClass *proxy_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1086s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1086s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1086s # 1086s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1086s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1086s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_sync: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_sync ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new_for_bus ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_sync: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_sync ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeleton: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeletonClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1086s # { 1086s # GValue *properties; 1086s # GList *changed_properties; 1086s # GSource *changed_properties_idle_source; 1086s # GMainContext *context; 1086s # GMutex lock; 1086s # }; 1086s # 1086s # static void 1086s # _org_project_useful_interface_skeleton_handle_method_call ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name, 1086s # const gchar *method_name, 1086s # GVariant *parameters, 1086s # GDBusMethodInvocation *invocation, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # _ExtendedGDBusMethodInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # guint num_extra; 1086s # gsize n; 1086s # guint signal_id; 1086s # GValue return_value = G_VALUE_INIT; 1086s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1086s # g_assert (info != NULL); 1086s # num_params = g_variant_n_children (parameters); 1086s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1086s # n = 0; 1086s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[n++], skeleton); 1086s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1086s # g_value_set_object (¶mv[n++], invocation); 1086s # if (info->pass_fdlist) 1086s # { 1086s # #ifdef G_OS_UNIX 1086s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1086s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1086s # #else 1086s # g_assert_not_reached (); 1086s # #endif 1086s # } 1086s # g_variant_iter_init (&iter, parameters); 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1086s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1086s # if (!g_value_get_boolean (&return_value)) 1086s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1086s # g_value_unset (&return_value); 1086s # for (n = 0; n < num_params + num_extra; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static GVariant * 1086s # _org_project_useful_interface_skeleton_handle_get_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *ret; 1086s # ret = NULL; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # g_value_init (&value, pspec->value_type); 1086s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_value_unset (&value); 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _org_project_useful_interface_skeleton_handle_set_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GVariant *variant, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # gboolean ret; 1086s # ret = FALSE; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # if (info->use_gvariant) 1086s # g_value_set_variant (&value, variant); 1086s # else 1086s # g_dbus_gvariant_to_gvalue (variant, &value); 1086s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # g_value_unset (&value); 1086s # ret = TRUE; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1086s # { 1086s # _org_project_useful_interface_skeleton_handle_method_call, 1086s # _org_project_useful_interface_skeleton_handle_get_property, 1086s # _org_project_useful_interface_skeleton_handle_set_property, 1086s # {NULL} 1086s # }; 1086s # 1086s # static GDBusInterfaceInfo * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return org_project_useful_interface_interface_info (); 1086s # } 1086s # 1086s # static GDBusInterfaceVTable * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1086s # } 1086s # 1086s # static GVariant * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1086s # 1086s # GVariantBuilder builder; 1086s # guint n; 1086s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1086s # goto out; 1086s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1086s # { 1086s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1086s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1086s # { 1086s # GVariant *value; 1086s # 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); 1086s # if (value != NULL) 1086s # { 1086s # g_variant_take_ref (value); 1086s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1086s # g_variant_unref (value); 1086s # } 1086s # } 1086s # } 1086s # out: 1086s # return g_variant_builder_end (&builder); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_skeleton_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # g_main_context_unref (skeleton->priv->context); 1086s # g_mutex_clear (&skeleton->priv->lock); 1086s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1086s # #else 1086s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1086s # #endif 1086s # 1086s # g_mutex_init (&skeleton->priv->lock); 1086s # skeleton->priv->context = g_main_context_ref_thread_default (); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusInterfaceSkeletonClass *skeleton_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1086s # 1086s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1086s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1086s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1086s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1086s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_skeleton_new: 1086s # * 1086s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_skeleton_new (void) 1086s # { 1086s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1086s # } 1086s # /tmp/tmp2a8key32/tmppwyqiwkg.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2a8key32/tmppwyqiwkg.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifdef HAVE_CONFIG_H 1086s # # include "config.h" 1086s # #endif 1086s # 1086s # #include 1086s # #ifdef G_OS_UNIX 1086s # # include 1086s # #endif 1086s # 1086s # #ifdef G_ENABLE_DEBUG 1086s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1086s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1086s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1086s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1086s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1086s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1086s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1086s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1086s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1086s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1086s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1086s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1086s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1086s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1086s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1086s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1086s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1086s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1086s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1086s # #else /* !G_ENABLE_DEBUG */ 1086s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1086s # * Do not access GValues directly in your code. Instead, use the 1086s # * g_value_get_*() functions 1086s # */ 1086s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1086s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1086s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1086s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1086s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1086s # #endif /* !G_ENABLE_DEBUG */ 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusArgInfo parent_struct; 1086s # gboolean use_gvariant; 1086s # } _ExtendedGDBusArgInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusMethodInfo parent_struct; 1086s # const gchar *signal_name; 1086s # gboolean pass_fdlist; 1086s # } _ExtendedGDBusMethodInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusSignalInfo parent_struct; 1086s # const gchar *signal_name; 1086s # } _ExtendedGDBusSignalInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusPropertyInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # guint use_gvariant : 1; 1086s # guint emits_changed_signal : 1; 1086s # } _ExtendedGDBusPropertyInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusInterfaceInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # } _ExtendedGDBusInterfaceInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # guint prop_id; 1086s # GValue orig_value; /* the value before the change */ 1086s # } ChangedProperty; 1086s # 1086s # static void 1086s # _changed_property_free (ChangedProperty *data) 1086s # { 1086s # g_value_unset (&data->orig_value); 1086s # g_free (data); 1086s # } 1086s # 1086s # static gboolean 1086s # _g_strv_equal0 (gchar **a, gchar **b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # guint n; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # if (g_strv_length (a) != g_strv_length (b)) 1086s # goto out; 1086s # for (n = 0; a[n] != NULL; n++) 1086s # if (g_strcmp0 (a[n], b[n]) != 0) 1086s # goto out; 1086s # ret = TRUE; 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _g_variant_equal0 (GVariant *a, GVariant *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # ret = g_variant_equal (a, b); 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # G_GNUC_UNUSED static gboolean 1086s # _g_value_equal (const GValue *a, const GValue *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1086s # switch (G_VALUE_TYPE (a)) 1086s # { 1086s # case G_TYPE_BOOLEAN: 1086s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1086s # break; 1086s # case G_TYPE_UCHAR: 1086s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1086s # break; 1086s # case G_TYPE_INT: 1086s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1086s # break; 1086s # case G_TYPE_UINT: 1086s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1086s # break; 1086s # case G_TYPE_INT64: 1086s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1086s # break; 1086s # case G_TYPE_UINT64: 1086s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1086s # break; 1086s # case G_TYPE_DOUBLE: 1086s # { 1086s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1086s # gdouble da = g_value_get_double (a); 1086s # gdouble db = g_value_get_double (b); 1086s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1086s # } 1086s # break; 1086s # case G_TYPE_STRING: 1086s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1086s # break; 1086s # case G_TYPE_VARIANT: 1086s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1086s # break; 1086s # default: 1086s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1086s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1086s # else 1086s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1086s # break; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static void 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint G_GNUC_UNUSED, 1086s # void *marshal_data) 1086s # { 1086s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (void *data1, 1086s # GDBusMethodInvocation *arg_method_invocation, 1086s # void *data2); 1086s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1086s # GCClosure *cc = (GCClosure*) closure; 1086s # void *data1, *data2; 1086s # gboolean v_return; 1086s # 1086s # g_return_if_fail (return_value != NULL); 1086s # g_return_if_fail (n_param_values == 2); 1086s # 1086s # if (G_CCLOSURE_SWAP_DATA (closure)) 1086s # { 1086s # data1 = closure->data; 1086s # data2 = g_value_peek_pointer (param_values + 0); 1086s # } 1086s # else 1086s # { 1086s # data1 = g_value_peek_pointer (param_values + 0); 1086s # data2 = closure->data; 1086s # } 1086s # 1086s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (marshal_data ? marshal_data : cc->callback); 1086s # 1086s # v_return = 1086s # callback (data1, 1086s # g_marshal_value_peek_object (param_values + 1), 1086s # data2); 1086s # 1086s # g_value_set_boolean (return_value, v_return); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ 1086s # * Code for interface org.project.UsefulInterface 1086s # * ------------------------------------------------------------------------ 1086s # */ 1086s # 1086s # /** 1086s # * SECTION:OrgProjectUsefulInterface 1086s # * @title: OrgProjectUsefulInterface 1086s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1086s # * 1086s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1086s # */ 1086s # 1086s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "arg_ay", 1086s # (gchar *) "ay", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "SingleArgMethodAy", 1086s # NULL, 1086s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 1086s # NULL 1086s # }, 1086s # "handle-single-arg-method-ay", 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "org.project.UsefulInterface", 1086s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1086s # NULL, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "org-project-useful-interface", 1086s # }; 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_interface_info: 1086s # * 1086s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1086s # * 1086s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1086s # */ 1086s # GDBusInterfaceInfo * 1086s # org_project_useful_interface_interface_info (void) 1086s # { 1086s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_override_properties: 1086s # * @klass: The class structure for a #GObject derived class. 1086s # * @property_id_begin: The property id to assign to the first overridden property. 1086s # * 1086s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1086s # * The properties are overridden in the order they are defined. 1086s # * 1086s # * Returns: The last property id. 1086s # */ 1086s # guint 1086s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1086s # { 1086s # return property_id_begin - 1; 1086s # } 1086s # 1086s # 1086s # inline static void 1086s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint, 1086s # void *marshal_data) 1086s # { 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1086s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1086s # } 1086s # 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterface: 1086s # * 1086s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceIface: 1086s # * @parent_iface: The parent interface. 1086s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1086s # * 1086s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1086s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1086s # 1086s # static void 1086s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1086s # { 1086s # /* GObject signals for incoming D-Bus method calls: */ 1086s # /** 1086s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: A #GDBusMethodInvocation. 1086s # * 1086s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1086s # * 1086s # * 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. 1086s # * 1086s # * 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. 1086s # */ 1086s # g_signal_new ("handle-single-arg-method-ay", 1086s # G_TYPE_FROM_INTERFACE (iface), 1086s # G_SIGNAL_RUN_LAST, 1086s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1086s # g_signal_accumulator_true_handled, 1086s # NULL, 1086s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1086s # G_TYPE_BOOLEAN, 1086s # 1, 1086s # G_TYPE_DBUS_METHOD_INVOCATION); 1086s # 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_ay: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1086s # */ 1086s # void 1086s # org_project_useful_interface_call_single_arg_method_ay ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodAy", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # callback, 1086s # user_data); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # gchar **out_arg_ay, 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(^ay)", 1086s # out_arg_ay); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # gchar **out_arg_ay, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodAy", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(^ay)", 1086s # out_arg_ay); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_complete_single_arg_method_ay: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1086s # * @arg_ay: Parameter to return. 1086s # * 1086s # * 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. 1086s # * 1086s # * This method will free @invocation, you cannot use it afterwards. 1086s # */ 1086s # void 1086s # org_project_useful_interface_complete_single_arg_method_ay ( 1086s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1086s # GDBusMethodInvocation *invocation, 1086s # const gchar *arg_ay) 1086s # { 1086s # g_dbus_method_invocation_return_value (invocation, 1086s # g_variant_new ("(^ay)", 1086s # arg_ay)); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxy: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxyClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceProxyPrivate 1086s # { 1086s # GData *qdata; 1086s # }; 1086s # 1086s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_proxy_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1086s # g_datalist_clear (&proxy->priv->qdata); 1086s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # const GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1086s # const gchar *sender_name G_GNUC_UNUSED, 1086s # const gchar *signal_name, 1086s # GVariant *parameters) 1086s # { 1086s # _ExtendedGDBusSignalInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # gsize n; 1086s # guint signal_id; 1086s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1086s # if (info == NULL) 1086s # return; 1086s # num_params = g_variant_n_children (parameters); 1086s # paramv = g_new0 (GValue, num_params + 1); 1086s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[0], proxy); 1086s # g_variant_iter_init (&iter, parameters); 1086s # n = 1; 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_signal_emitv (paramv, signal_id, 0, NULL); 1086s # for (n = 0; n < num_params + 1; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1086s # GVariant *changed_properties, 1086s # const gchar *const *invalidated_properties) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1086s # guint n; 1086s # const gchar *key; 1086s # GVariantIter *iter; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # g_variant_get (changed_properties, "a{sv}", &iter); 1086s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1086s # g_datalist_remove_data (&proxy->priv->qdata, key); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # g_variant_iter_free (iter); 1086s # for (n = 0; invalidated_properties[n] != NULL; n++) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1086s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1086s # #else 1086s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1086s # #endif 1086s # 1086s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusProxyClass *proxy_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1086s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1086s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1086s # 1086s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1086s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1086s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_sync: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_sync ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new_for_bus ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_sync: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_sync ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeleton: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeletonClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1086s # { 1086s # GValue *properties; 1086s # GList *changed_properties; 1086s # GSource *changed_properties_idle_source; 1086s # GMainContext *context; 1086s # GMutex lock; 1086s # }; 1086s # 1086s # static void 1086s # _org_project_useful_interface_skeleton_handle_method_call ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name, 1086s # const gchar *method_name, 1086s # GVariant *parameters, 1086s # GDBusMethodInvocation *invocation, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # _ExtendedGDBusMethodInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # guint num_extra; 1086s # gsize n; 1086s # guint signal_id; 1086s # GValue return_value = G_VALUE_INIT; 1086s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1086s # g_assert (info != NULL); 1086s # num_params = g_variant_n_children (parameters); 1086s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1086s # n = 0; 1086s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[n++], skeleton); 1086s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1086s # g_value_set_object (¶mv[n++], invocation); 1086s # if (info->pass_fdlist) 1086s # { 1086s # #ifdef G_OS_UNIX 1086s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1086s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1086s # #else 1086s # g_assert_not_reached (); 1086s # #endif 1086s # } 1086s # g_variant_iter_init (&iter, parameters); 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1086s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1086s # if (!g_value_get_boolean (&return_value)) 1086s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1086s # g_value_unset (&return_value); 1086s # for (n = 0; n < num_params + num_extra; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static GVariant * 1086s # _org_project_useful_interface_skeleton_handle_get_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *ret; 1086s # ret = NULL; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # g_value_init (&value, pspec->value_type); 1086s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_value_unset (&value); 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _org_project_useful_interface_skeleton_handle_set_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GVariant *variant, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # gboolean ret; 1086s # ret = FALSE; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # if (info->use_gvariant) 1086s # g_value_set_variant (&value, variant); 1086s # else 1086s # g_dbus_gvariant_to_gvalue (variant, &value); 1086s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # g_value_unset (&value); 1086s # ret = TRUE; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1086s # { 1086s # _org_project_useful_interface_skeleton_handle_method_call, 1086s # _org_project_useful_interface_skeleton_handle_get_property, 1086s # _org_project_useful_interface_skeleton_handle_set_property, 1086s # {NULL} 1086s # }; 1086s # 1086s # static GDBusInterfaceInfo * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return org_project_useful_interface_interface_info (); 1086s # } 1086s # 1086s # static GDBusInterfaceVTable * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1086s # } 1086s # 1086s # static GVariant * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1086s # 1086s # GVariantBuilder builder; 1086s # guint n; 1086s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1086s # goto out; 1086s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1086s # { 1086s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1086s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1086s # { 1086s # GVariant *value; 1086s # 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); 1086s # if (value != NULL) 1086s # { 1086s # g_variant_take_ref (value); 1086s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1086s # g_variant_unref (value); 1086s # } 1086s # } 1086s # } 1086s # out: 1086s # return g_variant_builder_end (&builder); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_skeleton_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # g_main_context_unref (skeleton->priv->context); 1086s # g_mutex_clear (&skeleton->priv->lock); 1086s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1086s # #else 1086s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1086s # #endif 1086s # 1086s # g_mutex_init (&skeleton->priv->lock); 1086s # skeleton->priv->context = g_main_context_ref_thread_default (); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusInterfaceSkeletonClass *skeleton_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1086s # 1086s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1086s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1086s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1086s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1086s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_skeleton_new: 1086s # * 1086s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_skeleton_new (void) 1086s # { 1086s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1086s # } 1086s # /tmp/tmp2a8key32/tmpqhkmvhtp.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2a8key32/tmpqhkmvhtp.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifdef HAVE_CONFIG_H 1086s # # include "config.h" 1086s # #endif 1086s # 1086s # #include 1086s # #ifdef G_OS_UNIX 1086s # # include 1086s # #endif 1086s # 1086s # #ifdef G_ENABLE_DEBUG 1086s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1086s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1086s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1086s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1086s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1086s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1086s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1086s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1086s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1086s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1086s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1086s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1086s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1086s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1086s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1086s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1086s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1086s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1086s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1086s # #else /* !G_ENABLE_DEBUG */ 1086s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1086s # * Do not access GValues directly in your code. Instead, use the 1086s # * g_value_get_*() functions 1086s # */ 1086s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1086s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1086s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1086s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1086s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1086s # #endif /* !G_ENABLE_DEBUG */ 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusArgInfo parent_struct; 1086s # gboolean use_gvariant; 1086s # } _ExtendedGDBusArgInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusMethodInfo parent_struct; 1086s # const gchar *signal_name; 1086s # gboolean pass_fdlist; 1086s # } _ExtendedGDBusMethodInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusSignalInfo parent_struct; 1086s # const gchar *signal_name; 1086s # } _ExtendedGDBusSignalInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusPropertyInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # guint use_gvariant : 1; 1086s # guint emits_changed_signal : 1; 1086s # } _ExtendedGDBusPropertyInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusInterfaceInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # } _ExtendedGDBusInterfaceInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # guint prop_id; 1086s # GValue orig_value; /* the value before the change */ 1086s # } ChangedProperty; 1086s # 1086s # static void 1086s # _changed_property_free (ChangedProperty *data) 1086s # { 1086s # g_value_unset (&data->orig_value); 1086s # g_free (data); 1086s # } 1086s # 1086s # static gboolean 1086s # _g_strv_equal0 (gchar **a, gchar **b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # guint n; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # if (g_strv_length (a) != g_strv_length (b)) 1086s # goto out; 1086s # for (n = 0; a[n] != NULL; n++) 1086s # if (g_strcmp0 (a[n], b[n]) != 0) 1086s # goto out; 1086s # ret = TRUE; 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _g_variant_equal0 (GVariant *a, GVariant *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # ret = g_variant_equal (a, b); 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # G_GNUC_UNUSED static gboolean 1086s # _g_value_equal (const GValue *a, const GValue *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1086s # switch (G_VALUE_TYPE (a)) 1086s # { 1086s # case G_TYPE_BOOLEAN: 1086s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1086s # break; 1086s # case G_TYPE_UCHAR: 1086s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1086s # break; 1086s # case G_TYPE_INT: 1086s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1086s # break; 1086s # case G_TYPE_UINT: 1086s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1086s # break; 1086s # case G_TYPE_INT64: 1086s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1086s # break; 1086s # case G_TYPE_UINT64: 1086s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1086s # break; 1086s # case G_TYPE_DOUBLE: 1086s # { 1086s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1086s # gdouble da = g_value_get_double (a); 1086s # gdouble db = g_value_get_double (b); 1086s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1086s # } 1086s # break; 1086s # case G_TYPE_STRING: 1086s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1086s # break; 1086s # case G_TYPE_VARIANT: 1086s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1086s # break; 1086s # default: 1086s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1086s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1086s # else 1086s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1086s # break; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static void 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint G_GNUC_UNUSED, 1086s # void *marshal_data) 1086s # { 1086s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (void *data1, 1086s # GDBusMethodInvocation *arg_method_invocation, 1086s # void *data2); 1086s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1086s # GCClosure *cc = (GCClosure*) closure; 1086s # void *data1, *data2; 1086s # gboolean v_return; 1086s # 1086s # g_return_if_fail (return_value != NULL); 1086s # g_return_if_fail (n_param_values == 2); 1086s # 1086s # if (G_CCLOSURE_SWAP_DATA (closure)) 1086s # { 1086s # data1 = closure->data; 1086s # data2 = g_value_peek_pointer (param_values + 0); 1086s # } 1086s # else 1086s # { 1086s # data1 = g_value_peek_pointer (param_values + 0); 1086s # data2 = closure->data; 1086s # } 1086s # 1086s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (marshal_data ? marshal_data : cc->callback); 1086s # 1086s # v_return = 1086s # callback (data1, 1086s # g_marshal_value_peek_object (param_values + 1), 1086s # data2); 1086s # 1086s # g_value_set_boolean (return_value, v_return); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ 1086s # * Code for interface org.project.UsefulInterface 1086s # * ------------------------------------------------------------------------ 1086s # */ 1086s # 1086s # /** 1086s # * SECTION:OrgProjectUsefulInterface 1086s # * @title: OrgProjectUsefulInterface 1086s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1086s # * 1086s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1086s # */ 1086s # 1086s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "arg_as", 1086s # (gchar *) "as", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "SingleArgMethodAs", 1086s # NULL, 1086s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 1086s # NULL 1086s # }, 1086s # "handle-single-arg-method-as", 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "org.project.UsefulInterface", 1086s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1086s # NULL, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "org-project-useful-interface", 1086s # }; 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_interface_info: 1086s # * 1086s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1086s # * 1086s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1086s # */ 1086s # GDBusInterfaceInfo * 1086s # org_project_useful_interface_interface_info (void) 1086s # { 1086s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_override_properties: 1086s # * @klass: The class structure for a #GObject derived class. 1086s # * @property_id_begin: The property id to assign to the first overridden property. 1086s # * 1086s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1086s # * The properties are overridden in the order they are defined. 1086s # * 1086s # * Returns: The last property id. 1086s # */ 1086s # guint 1086s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1086s # { 1086s # return property_id_begin - 1; 1086s # } 1086s # 1086s # 1086s # inline static void 1086s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint, 1086s # void *marshal_data) 1086s # { 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1086s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1086s # } 1086s # 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterface: 1086s # * 1086s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceIface: 1086s # * @parent_iface: The parent interface. 1086s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1086s # * 1086s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1086s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1086s # 1086s # static void 1086s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1086s # { 1086s # /* GObject signals for incoming D-Bus method calls: */ 1086s # /** 1086s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: A #GDBusMethodInvocation. 1086s # * 1086s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1086s # * 1086s # * 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. 1086s # * 1086s # * 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. 1086s # */ 1086s # g_signal_new ("handle-single-arg-method-as", 1086s # G_TYPE_FROM_INTERFACE (iface), 1086s # G_SIGNAL_RUN_LAST, 1086s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1086s # g_signal_accumulator_true_handled, 1086s # NULL, 1086s # org_project_useful_interface_method_marshal_single_arg_method_as, 1086s # G_TYPE_BOOLEAN, 1086s # 1, 1086s # G_TYPE_DBUS_METHOD_INVOCATION); 1086s # 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_as: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1086s # */ 1086s # void 1086s # org_project_useful_interface_call_single_arg_method_as ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodAs", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # callback, 1086s # user_data); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_as_finish: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_as_finish ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # gchar ***out_arg_as, 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(^as)", 1086s # out_arg_as); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_as_sync: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_as_sync ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # gchar ***out_arg_as, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodAs", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(^as)", 1086s # out_arg_as); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_complete_single_arg_method_as: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1086s # * @arg_as: Parameter to return. 1086s # * 1086s # * 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. 1086s # * 1086s # * This method will free @invocation, you cannot use it afterwards. 1086s # */ 1086s # void 1086s # org_project_useful_interface_complete_single_arg_method_as ( 1086s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1086s # GDBusMethodInvocation *invocation, 1086s # const gchar *const *arg_as) 1086s # { 1086s # g_dbus_method_invocation_return_value (invocation, 1086s # g_variant_new ("(^as)", 1086s # arg_as)); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxy: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxyClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceProxyPrivate 1086s # { 1086s # GData *qdata; 1086s # }; 1086s # 1086s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_proxy_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1086s # g_datalist_clear (&proxy->priv->qdata); 1086s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # const GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1086s # const gchar *sender_name G_GNUC_UNUSED, 1086s # const gchar *signal_name, 1086s # GVariant *parameters) 1086s # { 1086s # _ExtendedGDBusSignalInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # gsize n; 1086s # guint signal_id; 1086s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1086s # if (info == NULL) 1086s # return; 1086s # num_params = g_variant_n_children (parameters); 1086s # paramv = g_new0 (GValue, num_params + 1); 1086s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[0], proxy); 1086s # g_variant_iter_init (&iter, parameters); 1086s # n = 1; 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_signal_emitv (paramv, signal_id, 0, NULL); 1086s # for (n = 0; n < num_params + 1; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1086s # GVariant *changed_properties, 1086s # const gchar *const *invalidated_properties) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1086s # guint n; 1086s # const gchar *key; 1086s # GVariantIter *iter; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # g_variant_get (changed_properties, "a{sv}", &iter); 1086s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1086s # g_datalist_remove_data (&proxy->priv->qdata, key); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # g_variant_iter_free (iter); 1086s # for (n = 0; invalidated_properties[n] != NULL; n++) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1086s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1086s # #else 1086s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1086s # #endif 1086s # 1086s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusProxyClass *proxy_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1086s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1086s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1086s # 1086s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1086s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1086s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_sync: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_sync ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new_for_bus ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_sync: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_sync ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeleton: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeletonClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1086s # { 1086s # GValue *properties; 1086s # GList *changed_properties; 1086s # GSource *changed_properties_idle_source; 1086s # GMainContext *context; 1086s # GMutex lock; 1086s # }; 1086s # 1086s # static void 1086s # _org_project_useful_interface_skeleton_handle_method_call ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name, 1086s # const gchar *method_name, 1086s # GVariant *parameters, 1086s # GDBusMethodInvocation *invocation, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # _ExtendedGDBusMethodInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # guint num_extra; 1086s # gsize n; 1086s # guint signal_id; 1086s # GValue return_value = G_VALUE_INIT; 1086s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1086s # g_assert (info != NULL); 1086s # num_params = g_variant_n_children (parameters); 1086s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1086s # n = 0; 1086s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[n++], skeleton); 1086s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1086s # g_value_set_object (¶mv[n++], invocation); 1086s # if (info->pass_fdlist) 1086s # { 1086s # #ifdef G_OS_UNIX 1086s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1086s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1086s # #else 1086s # g_assert_not_reached (); 1086s # #endif 1086s # } 1086s # g_variant_iter_init (&iter, parameters); 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1086s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1086s # if (!g_value_get_boolean (&return_value)) 1086s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1086s # g_value_unset (&return_value); 1086s # for (n = 0; n < num_params + num_extra; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static GVariant * 1086s # _org_project_useful_interface_skeleton_handle_get_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *ret; 1086s # ret = NULL; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # g_value_init (&value, pspec->value_type); 1086s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_value_unset (&value); 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _org_project_useful_interface_skeleton_handle_set_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GVariant *variant, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # gboolean ret; 1086s # ret = FALSE; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # if (info->use_gvariant) 1086s # g_value_set_variant (&value, variant); 1086s # else 1086s # g_dbus_gvariant_to_gvalue (variant, &value); 1086s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # g_value_unset (&value); 1086s # ret = TRUE; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1086s # { 1086s # _org_project_useful_interface_skeleton_handle_method_call, 1086s # _org_project_useful_interface_skeleton_handle_get_property, 1086s # _org_project_useful_interface_skeleton_handle_set_property, 1086s # {NULL} 1086s # }; 1086s # 1086s # static GDBusInterfaceInfo * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return org_project_useful_interface_interface_info (); 1086s # } 1086s # 1086s # static GDBusInterfaceVTable * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1086s # } 1086s # 1086s # static GVariant * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1086s # 1086s # GVariantBuilder builder; 1086s # guint n; 1086s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1086s # goto out; 1086s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1086s # { 1086s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1086s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1086s # { 1086s # GVariant *value; 1086s # 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); 1086s # if (value != NULL) 1086s # { 1086s # g_variant_take_ref (value); 1086s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1086s # g_variant_unref (value); 1086s # } 1086s # } 1086s # } 1086s # out: 1086s # return g_variant_builder_end (&builder); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_skeleton_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # g_main_context_unref (skeleton->priv->context); 1086s # g_mutex_clear (&skeleton->priv->lock); 1086s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1086s # #else 1086s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1086s # #endif 1086s # 1086s # g_mutex_init (&skeleton->priv->lock); 1086s # skeleton->priv->context = g_main_context_ref_thread_default (); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusInterfaceSkeletonClass *skeleton_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1086s # 1086s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1086s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1086s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1086s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1086s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_skeleton_new: 1086s # * 1086s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_skeleton_new (void) 1086s # { 1086s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1086s # } 1086s # /tmp/tmp2a8key32/tmpn1su9sbk.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2a8key32/tmpn1su9sbk.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifdef HAVE_CONFIG_H 1086s # # include "config.h" 1086s # #endif 1086s # 1086s # #include 1086s # #ifdef G_OS_UNIX 1086s # # include 1086s # #endif 1086s # 1086s # #ifdef G_ENABLE_DEBUG 1086s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1086s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1086s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1086s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1086s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1086s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1086s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1086s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1086s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1086s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1086s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1086s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1086s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1086s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1086s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1086s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1086s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1086s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1086s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1086s # #else /* !G_ENABLE_DEBUG */ 1086s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1086s # * Do not access GValues directly in your code. Instead, use the 1086s # * g_value_get_*() functions 1086s # */ 1086s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1086s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1086s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1086s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1086s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1086s # #endif /* !G_ENABLE_DEBUG */ 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusArgInfo parent_struct; 1086s # gboolean use_gvariant; 1086s # } _ExtendedGDBusArgInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusMethodInfo parent_struct; 1086s # const gchar *signal_name; 1086s # gboolean pass_fdlist; 1086s # } _ExtendedGDBusMethodInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusSignalInfo parent_struct; 1086s # const gchar *signal_name; 1086s # } _ExtendedGDBusSignalInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusPropertyInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # guint use_gvariant : 1; 1086s # guint emits_changed_signal : 1; 1086s # } _ExtendedGDBusPropertyInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusInterfaceInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # } _ExtendedGDBusInterfaceInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # guint prop_id; 1086s # GValue orig_value; /* the value before the change */ 1086s # } ChangedProperty; 1086s # 1086s # static void 1086s # _changed_property_free (ChangedProperty *data) 1086s # { 1086s # g_value_unset (&data->orig_value); 1086s # g_free (data); 1086s # } 1086s # 1086s # static gboolean 1086s # _g_strv_equal0 (gchar **a, gchar **b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # guint n; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # if (g_strv_length (a) != g_strv_length (b)) 1086s # goto out; 1086s # for (n = 0; a[n] != NULL; n++) 1086s # if (g_strcmp0 (a[n], b[n]) != 0) 1086s # goto out; 1086s # ret = TRUE; 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _g_variant_equal0 (GVariant *a, GVariant *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # ret = g_variant_equal (a, b); 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # G_GNUC_UNUSED static gboolean 1086s # _g_value_equal (const GValue *a, const GValue *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1086s # switch (G_VALUE_TYPE (a)) 1086s # { 1086s # case G_TYPE_BOOLEAN: 1086s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1086s # break; 1086s # case G_TYPE_UCHAR: 1086s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1086s # break; 1086s # case G_TYPE_INT: 1086s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1086s # break; 1086s # case G_TYPE_UINT: 1086s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1086s # break; 1086s # case G_TYPE_INT64: 1086s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1086s # break; 1086s # case G_TYPE_UINT64: 1086s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1086s # break; 1086s # case G_TYPE_DOUBLE: 1086s # { 1086s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1086s # gdouble da = g_value_get_double (a); 1086s # gdouble db = g_value_get_double (b); 1086s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1086s # } 1086s # break; 1086s # case G_TYPE_STRING: 1086s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1086s # break; 1086s # case G_TYPE_VARIANT: 1086s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1086s # break; 1086s # default: 1086s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1086s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1086s # else 1086s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1086s # break; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static void 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint G_GNUC_UNUSED, 1086s # void *marshal_data) 1086s # { 1086s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (void *data1, 1086s # GDBusMethodInvocation *arg_method_invocation, 1086s # void *data2); 1086s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1086s # GCClosure *cc = (GCClosure*) closure; 1086s # void *data1, *data2; 1086s # gboolean v_return; 1086s # 1086s # g_return_if_fail (return_value != NULL); 1086s # g_return_if_fail (n_param_values == 2); 1086s # 1086s # if (G_CCLOSURE_SWAP_DATA (closure)) 1086s # { 1086s # data1 = closure->data; 1086s # data2 = g_value_peek_pointer (param_values + 0); 1086s # } 1086s # else 1086s # { 1086s # data1 = g_value_peek_pointer (param_values + 0); 1086s # data2 = closure->data; 1086s # } 1086s # 1086s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (marshal_data ? marshal_data : cc->callback); 1086s # 1086s # v_return = 1086s # callback (data1, 1086s # g_marshal_value_peek_object (param_values + 1), 1086s # data2); 1086s # 1086s # g_value_set_boolean (return_value, v_return); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ 1086s # * Code for interface org.project.UsefulInterface 1086s # * ------------------------------------------------------------------------ 1086s # */ 1086s # 1086s # /** 1086s # * SECTION:OrgProjectUsefulInterface 1086s # * @title: OrgProjectUsefulInterface 1086s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1086s # * 1086s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1086s # */ 1086s # 1086s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "arg_ao", 1086s # (gchar *) "ao", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "SingleArgMethodAo", 1086s # NULL, 1086s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 1086s # NULL 1086s # }, 1086s # "handle-single-arg-method-ao", 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "org.project.UsefulInterface", 1086s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1086s # NULL, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "org-project-useful-interface", 1086s # }; 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_interface_info: 1086s # * 1086s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1086s # * 1086s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1086s # */ 1086s # GDBusInterfaceInfo * 1086s # org_project_useful_interface_interface_info (void) 1086s # { 1086s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_override_properties: 1086s # * @klass: The class structure for a #GObject derived class. 1086s # * @property_id_begin: The property id to assign to the first overridden property. 1086s # * 1086s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1086s # * The properties are overridden in the order they are defined. 1086s # * 1086s # * Returns: The last property id. 1086s # */ 1086s # guint 1086s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1086s # { 1086s # return property_id_begin - 1; 1086s # } 1086s # 1086s # 1086s # inline static void 1086s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint, 1086s # void *marshal_data) 1086s # { 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1086s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1086s # } 1086s # 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterface: 1086s # * 1086s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceIface: 1086s # * @parent_iface: The parent interface. 1086s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1086s # * 1086s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1086s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1086s # 1086s # static void 1086s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1086s # { 1086s # /* GObject signals for incoming D-Bus method calls: */ 1086s # /** 1086s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: A #GDBusMethodInvocation. 1086s # * 1086s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1086s # * 1086s # * 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. 1086s # * 1086s # * 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. 1086s # */ 1086s # g_signal_new ("handle-single-arg-method-ao", 1086s # G_TYPE_FROM_INTERFACE (iface), 1086s # G_SIGNAL_RUN_LAST, 1086s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1086s # g_signal_accumulator_true_handled, 1086s # NULL, 1086s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1086s # G_TYPE_BOOLEAN, 1086s # 1, 1086s # G_TYPE_DBUS_METHOD_INVOCATION); 1086s # 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_ao: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1086s # */ 1086s # void 1086s # org_project_useful_interface_call_single_arg_method_ao ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodAo", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # callback, 1086s # user_data); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # gchar ***out_arg_ao, 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(^ao)", 1086s # out_arg_ao); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # gchar ***out_arg_ao, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodAo", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(^ao)", 1086s # out_arg_ao); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_complete_single_arg_method_ao: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1086s # * @arg_ao: Parameter to return. 1086s # * 1086s # * 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. 1086s # * 1086s # * This method will free @invocation, you cannot use it afterwards. 1086s # */ 1086s # void 1086s # org_project_useful_interface_complete_single_arg_method_ao ( 1086s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1086s # GDBusMethodInvocation *invocation, 1086s # const gchar *const *arg_ao) 1086s # { 1086s # g_dbus_method_invocation_return_value (invocation, 1086s # g_variant_new ("(^ao)", 1086s # arg_ao)); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxy: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxyClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceProxyPrivate 1086s # { 1086s # GData *qdata; 1086s # }; 1086s # 1086s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_proxy_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1086s # g_datalist_clear (&proxy->priv->qdata); 1086s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # const GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1086s # const gchar *sender_name G_GNUC_UNUSED, 1086s # const gchar *signal_name, 1086s # GVariant *parameters) 1086s # { 1086s # _ExtendedGDBusSignalInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # gsize n; 1086s # guint signal_id; 1086s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1086s # if (info == NULL) 1086s # return; 1086s # num_params = g_variant_n_children (parameters); 1086s # paramv = g_new0 (GValue, num_params + 1); 1086s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[0], proxy); 1086s # g_variant_iter_init (&iter, parameters); 1086s # n = 1; 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_signal_emitv (paramv, signal_id, 0, NULL); 1086s # for (n = 0; n < num_params + 1; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1086s # GVariant *changed_properties, 1086s # const gchar *const *invalidated_properties) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1086s # guint n; 1086s # const gchar *key; 1086s # GVariantIter *iter; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # g_variant_get (changed_properties, "a{sv}", &iter); 1086s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1086s # g_datalist_remove_data (&proxy->priv->qdata, key); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # g_variant_iter_free (iter); 1086s # for (n = 0; invalidated_properties[n] != NULL; n++) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1086s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1086s # #else 1086s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1086s # #endif 1086s # 1086s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusProxyClass *proxy_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1086s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1086s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1086s # 1086s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1086s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1086s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_sync: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_sync ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new_for_bus ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_sync: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_sync ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeleton: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeletonClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1086s # { 1086s # GValue *properties; 1086s # GList *changed_properties; 1086s # GSource *changed_properties_idle_source; 1086s # GMainContext *context; 1086s # GMutex lock; 1086s # }; 1086s # 1086s # static void 1086s # _org_project_useful_interface_skeleton_handle_method_call ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name, 1086s # const gchar *method_name, 1086s # GVariant *parameters, 1086s # GDBusMethodInvocation *invocation, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # _ExtendedGDBusMethodInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # guint num_extra; 1086s # gsize n; 1086s # guint signal_id; 1086s # GValue return_value = G_VALUE_INIT; 1086s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1086s # g_assert (info != NULL); 1086s # num_params = g_variant_n_children (parameters); 1086s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1086s # n = 0; 1086s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[n++], skeleton); 1086s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1086s # g_value_set_object (¶mv[n++], invocation); 1086s # if (info->pass_fdlist) 1086s # { 1086s # #ifdef G_OS_UNIX 1086s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1086s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1086s # #else 1086s # g_assert_not_reached (); 1086s # #endif 1086s # } 1086s # g_variant_iter_init (&iter, parameters); 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1086s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1086s # if (!g_value_get_boolean (&return_value)) 1086s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1086s # g_value_unset (&return_value); 1086s # for (n = 0; n < num_params + num_extra; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static GVariant * 1086s # _org_project_useful_interface_skeleton_handle_get_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *ret; 1086s # ret = NULL; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # g_value_init (&value, pspec->value_type); 1086s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_value_unset (&value); 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _org_project_useful_interface_skeleton_handle_set_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GVariant *variant, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # gboolean ret; 1086s # ret = FALSE; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # if (info->use_gvariant) 1086s # g_value_set_variant (&value, variant); 1086s # else 1086s # g_dbus_gvariant_to_gvalue (variant, &value); 1086s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # g_value_unset (&value); 1086s # ret = TRUE; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1086s # { 1086s # _org_project_useful_interface_skeleton_handle_method_call, 1086s # _org_project_useful_interface_skeleton_handle_get_property, 1086s # _org_project_useful_interface_skeleton_handle_set_property, 1086s # {NULL} 1086s # }; 1086s # 1086s # static GDBusInterfaceInfo * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return org_project_useful_interface_interface_info (); 1086s # } 1086s # 1086s # static GDBusInterfaceVTable * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1086s # } 1086s # 1086s # static GVariant * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1086s # 1086s # GVariantBuilder builder; 1086s # guint n; 1086s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1086s # goto out; 1086s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1086s # { 1086s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1086s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1086s # { 1086s # GVariant *value; 1086s # 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); 1086s # if (value != NULL) 1086s # { 1086s # g_variant_take_ref (value); 1086s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1086s # g_variant_unref (value); 1086s # } 1086s # } 1086s # } 1086s # out: 1086s # return g_variant_builder_end (&builder); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_skeleton_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # g_main_context_unref (skeleton->priv->context); 1086s # g_mutex_clear (&skeleton->priv->lock); 1086s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1086s # #else 1086s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1086s # #endif 1086s # 1086s # g_mutex_init (&skeleton->priv->lock); 1086s # skeleton->priv->context = g_main_context_ref_thread_default (); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusInterfaceSkeletonClass *skeleton_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1086s # 1086s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1086s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1086s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1086s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1086s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_skeleton_new: 1086s # * 1086s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_skeleton_new (void) 1086s # { 1086s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1086s # } 1086s # /tmp/tmp2a8key32/tmpbf_g1c4m.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2a8key32/tmpbf_g1c4m.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifdef HAVE_CONFIG_H 1086s # # include "config.h" 1086s # #endif 1086s # 1086s # #include 1086s # #ifdef G_OS_UNIX 1086s # # include 1086s # #endif 1086s # 1086s # #ifdef G_ENABLE_DEBUG 1086s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1086s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1086s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1086s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1086s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1086s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1086s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1086s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1086s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1086s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1086s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1086s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1086s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1086s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1086s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1086s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1086s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1086s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1086s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1086s # #else /* !G_ENABLE_DEBUG */ 1086s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1086s # * Do not access GValues directly in your code. Instead, use the 1086s # * g_value_get_*() functions 1086s # */ 1086s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1086s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1086s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1086s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1086s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1086s # #endif /* !G_ENABLE_DEBUG */ 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusArgInfo parent_struct; 1086s # gboolean use_gvariant; 1086s # } _ExtendedGDBusArgInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusMethodInfo parent_struct; 1086s # const gchar *signal_name; 1086s # gboolean pass_fdlist; 1086s # } _ExtendedGDBusMethodInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusSignalInfo parent_struct; 1086s # const gchar *signal_name; 1086s # } _ExtendedGDBusSignalInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusPropertyInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # guint use_gvariant : 1; 1086s # guint emits_changed_signal : 1; 1086s # } _ExtendedGDBusPropertyInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusInterfaceInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # } _ExtendedGDBusInterfaceInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # guint prop_id; 1086s # GValue orig_value; /* the value before the change */ 1086s # } ChangedProperty; 1086s # 1086s # static void 1086s # _changed_property_free (ChangedProperty *data) 1086s # { 1086s # g_value_unset (&data->orig_value); 1086s # g_free (data); 1086s # } 1086s # 1086s # static gboolean 1086s # _g_strv_equal0 (gchar **a, gchar **b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # guint n; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # if (g_strv_length (a) != g_strv_length (b)) 1086s # goto out; 1086s # for (n = 0; a[n] != NULL; n++) 1086s # if (g_strcmp0 (a[n], b[n]) != 0) 1086s # goto out; 1086s # ret = TRUE; 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _g_variant_equal0 (GVariant *a, GVariant *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # ret = g_variant_equal (a, b); 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # G_GNUC_UNUSED static gboolean 1086s # _g_value_equal (const GValue *a, const GValue *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1086s # switch (G_VALUE_TYPE (a)) 1086s # { 1086s # case G_TYPE_BOOLEAN: 1086s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1086s # break; 1086s # case G_TYPE_UCHAR: 1086s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1086s # break; 1086s # case G_TYPE_INT: 1086s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1086s # break; 1086s # case G_TYPE_UINT: 1086s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1086s # break; 1086s # case G_TYPE_INT64: 1086s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1086s # break; 1086s # case G_TYPE_UINT64: 1086s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1086s # break; 1086s # case G_TYPE_DOUBLE: 1086s # { 1086s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1086s # gdouble da = g_value_get_double (a); 1086s # gdouble db = g_value_get_double (b); 1086s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1086s # } 1086s # break; 1086s # case G_TYPE_STRING: 1086s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1086s # break; 1086s # case G_TYPE_VARIANT: 1086s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1086s # break; 1086s # default: 1086s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1086s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1086s # else 1086s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1086s # break; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static void 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint G_GNUC_UNUSED, 1086s # void *marshal_data) 1086s # { 1086s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (void *data1, 1086s # GDBusMethodInvocation *arg_method_invocation, 1086s # void *data2); 1086s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1086s # GCClosure *cc = (GCClosure*) closure; 1086s # void *data1, *data2; 1086s # gboolean v_return; 1086s # 1086s # g_return_if_fail (return_value != NULL); 1086s # g_return_if_fail (n_param_values == 2); 1086s # 1086s # if (G_CCLOSURE_SWAP_DATA (closure)) 1086s # { 1086s # data1 = closure->data; 1086s # data2 = g_value_peek_pointer (param_values + 0); 1086s # } 1086s # else 1086s # { 1086s # data1 = g_value_peek_pointer (param_values + 0); 1086s # data2 = closure->data; 1086s # } 1086s # 1086s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (marshal_data ? marshal_data : cc->callback); 1086s # 1086s # v_return = 1086s # callback (data1, 1086s # g_marshal_value_peek_object (param_values + 1), 1086s # data2); 1086s # 1086s # g_value_set_boolean (return_value, v_return); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ 1086s # * Code for interface org.project.UsefulInterface 1086s # * ------------------------------------------------------------------------ 1086s # */ 1086s # 1086s # /** 1086s # * SECTION:OrgProjectUsefulInterface 1086s # * @title: OrgProjectUsefulInterface 1086s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1086s # * 1086s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1086s # */ 1086s # 1086s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "arg_aay", 1086s # (gchar *) "aay", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "SingleArgMethodAay", 1086s # NULL, 1086s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 1086s # NULL 1086s # }, 1086s # "handle-single-arg-method-aay", 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "org.project.UsefulInterface", 1086s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1086s # NULL, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "org-project-useful-interface", 1086s # }; 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_interface_info: 1086s # * 1086s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1086s # * 1086s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1086s # */ 1086s # GDBusInterfaceInfo * 1086s # org_project_useful_interface_interface_info (void) 1086s # { 1086s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_override_properties: 1086s # * @klass: The class structure for a #GObject derived class. 1086s # * @property_id_begin: The property id to assign to the first overridden property. 1086s # * 1086s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1086s # * The properties are overridden in the order they are defined. 1086s # * 1086s # * Returns: The last property id. 1086s # */ 1086s # guint 1086s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1086s # { 1086s # return property_id_begin - 1; 1086s # } 1086s # 1086s # 1086s # inline static void 1086s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint, 1086s # void *marshal_data) 1086s # { 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1086s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1086s # } 1086s # 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterface: 1086s # * 1086s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceIface: 1086s # * @parent_iface: The parent interface. 1086s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1086s # * 1086s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1086s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1086s # 1086s # static void 1086s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1086s # { 1086s # /* GObject signals for incoming D-Bus method calls: */ 1086s # /** 1086s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: A #GDBusMethodInvocation. 1086s # * 1086s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1086s # * 1086s # * 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. 1086s # * 1086s # * 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. 1086s # */ 1086s # g_signal_new ("handle-single-arg-method-aay", 1086s # G_TYPE_FROM_INTERFACE (iface), 1086s # G_SIGNAL_RUN_LAST, 1086s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1086s # g_signal_accumulator_true_handled, 1086s # NULL, 1086s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1086s # G_TYPE_BOOLEAN, 1086s # 1, 1086s # G_TYPE_DBUS_METHOD_INVOCATION); 1086s # 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_aay: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1086s # */ 1086s # void 1086s # org_project_useful_interface_call_single_arg_method_aay ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodAay", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # callback, 1086s # user_data); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # gchar ***out_arg_aay, 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(^aay)", 1086s # out_arg_aay); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # gchar ***out_arg_aay, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodAay", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(^aay)", 1086s # out_arg_aay); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_complete_single_arg_method_aay: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1086s # * @arg_aay: Parameter to return. 1086s # * 1086s # * 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. 1086s # * 1086s # * This method will free @invocation, you cannot use it afterwards. 1086s # */ 1086s # void 1086s # org_project_useful_interface_complete_single_arg_method_aay ( 1086s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1086s # GDBusMethodInvocation *invocation, 1086s # const gchar *const *arg_aay) 1086s # { 1086s # g_dbus_method_invocation_return_value (invocation, 1086s # g_variant_new ("(^aay)", 1086s # arg_aay)); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxy: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxyClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceProxyPrivate 1086s # { 1086s # GData *qdata; 1086s # }; 1086s # 1086s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_proxy_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1086s # g_datalist_clear (&proxy->priv->qdata); 1086s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # const GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1086s # const gchar *sender_name G_GNUC_UNUSED, 1086s # const gchar *signal_name, 1086s # GVariant *parameters) 1086s # { 1086s # _ExtendedGDBusSignalInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # gsize n; 1086s # guint signal_id; 1086s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1086s # if (info == NULL) 1086s # return; 1086s # num_params = g_variant_n_children (parameters); 1086s # paramv = g_new0 (GValue, num_params + 1); 1086s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[0], proxy); 1086s # g_variant_iter_init (&iter, parameters); 1086s # n = 1; 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_signal_emitv (paramv, signal_id, 0, NULL); 1086s # for (n = 0; n < num_params + 1; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1086s # GVariant *changed_properties, 1086s # const gchar *const *invalidated_properties) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1086s # guint n; 1086s # const gchar *key; 1086s # GVariantIter *iter; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # g_variant_get (changed_properties, "a{sv}", &iter); 1086s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1086s # g_datalist_remove_data (&proxy->priv->qdata, key); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # g_variant_iter_free (iter); 1086s # for (n = 0; invalidated_properties[n] != NULL; n++) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1086s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1086s # #else 1086s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1086s # #endif 1086s # 1086s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusProxyClass *proxy_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1086s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1086s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1086s # 1086s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1086s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1086s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_sync: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_sync ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new_for_bus ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_sync: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_sync ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeleton: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeletonClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1086s # { 1086s # GValue *properties; 1086s # GList *changed_properties; 1086s # GSource *changed_properties_idle_source; 1086s # GMainContext *context; 1086s # GMutex lock; 1086s # }; 1086s # 1086s # static void 1086s # _org_project_useful_interface_skeleton_handle_method_call ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name, 1086s # const gchar *method_name, 1086s # GVariant *parameters, 1086s # GDBusMethodInvocation *invocation, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # _ExtendedGDBusMethodInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # guint num_extra; 1086s # gsize n; 1086s # guint signal_id; 1086s # GValue return_value = G_VALUE_INIT; 1086s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1086s # g_assert (info != NULL); 1086s # num_params = g_variant_n_children (parameters); 1086s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1086s # n = 0; 1086s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[n++], skeleton); 1086s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1086s # g_value_set_object (¶mv[n++], invocation); 1086s # if (info->pass_fdlist) 1086s # { 1086s # #ifdef G_OS_UNIX 1086s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1086s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1086s # #else 1086s # g_assert_not_reached (); 1086s # #endif 1086s # } 1086s # g_variant_iter_init (&iter, parameters); 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1086s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1086s # if (!g_value_get_boolean (&return_value)) 1086s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1086s # g_value_unset (&return_value); 1086s # for (n = 0; n < num_params + num_extra; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static GVariant * 1086s # _org_project_useful_interface_skeleton_handle_get_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *ret; 1086s # ret = NULL; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # g_value_init (&value, pspec->value_type); 1086s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_value_unset (&value); 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _org_project_useful_interface_skeleton_handle_set_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GVariant *variant, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # gboolean ret; 1086s # ret = FALSE; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # if (info->use_gvariant) 1086s # g_value_set_variant (&value, variant); 1086s # else 1086s # g_dbus_gvariant_to_gvalue (variant, &value); 1086s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # g_value_unset (&value); 1086s # ret = TRUE; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1086s # { 1086s # _org_project_useful_interface_skeleton_handle_method_call, 1086s # _org_project_useful_interface_skeleton_handle_get_property, 1086s # _org_project_useful_interface_skeleton_handle_set_property, 1086s # {NULL} 1086s # }; 1086s # 1086s # static GDBusInterfaceInfo * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return org_project_useful_interface_interface_info (); 1086s # } 1086s # 1086s # static GDBusInterfaceVTable * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1086s # } 1086s # 1086s # static GVariant * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1086s # 1086s # GVariantBuilder builder; 1086s # guint n; 1086s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1086s # goto out; 1086s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1086s # { 1086s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1086s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1086s # { 1086s # GVariant *value; 1086s # 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); 1086s # if (value != NULL) 1086s # { 1086s # g_variant_take_ref (value); 1086s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1086s # g_variant_unref (value); 1086s # } 1086s # } 1086s # } 1086s # out: 1086s # return g_variant_builder_end (&builder); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_skeleton_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # g_main_context_unref (skeleton->priv->context); 1086s # g_mutex_clear (&skeleton->priv->lock); 1086s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1086s # #else 1086s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1086s # #endif 1086s # 1086s # g_mutex_init (&skeleton->priv->lock); 1086s # skeleton->priv->context = g_main_context_ref_thread_default (); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusInterfaceSkeletonClass *skeleton_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1086s # 1086s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1086s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1086s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1086s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1086s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_skeleton_new: 1086s # * 1086s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_skeleton_new (void) 1086s # { 1086s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1086s # } 1086s # /tmp/tmp2a8key32/tmphkzpvb41.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2a8key32/tmphkzpvb41.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifdef HAVE_CONFIG_H 1086s # # include "config.h" 1086s # #endif 1086s # 1086s # #include 1086s # #ifdef G_OS_UNIX 1086s # # include 1086s # #endif 1086s # 1086s # #ifdef G_ENABLE_DEBUG 1086s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1086s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1086s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1086s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1086s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1086s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1086s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1086s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1086s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1086s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1086s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1086s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1086s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1086s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1086s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1086s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1086s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1086s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1086s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1086s # #else /* !G_ENABLE_DEBUG */ 1086s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1086s # * Do not access GValues directly in your code. Instead, use the 1086s # * g_value_get_*() functions 1086s # */ 1086s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1086s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1086s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1086s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1086s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1086s # #endif /* !G_ENABLE_DEBUG */ 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusArgInfo parent_struct; 1086s # gboolean use_gvariant; 1086s # } _ExtendedGDBusArgInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusMethodInfo parent_struct; 1086s # const gchar *signal_name; 1086s # gboolean pass_fdlist; 1086s # } _ExtendedGDBusMethodInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusSignalInfo parent_struct; 1086s # const gchar *signal_name; 1086s # } _ExtendedGDBusSignalInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusPropertyInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # guint use_gvariant : 1; 1086s # guint emits_changed_signal : 1; 1086s # } _ExtendedGDBusPropertyInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusInterfaceInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # } _ExtendedGDBusInterfaceInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # guint prop_id; 1086s # GValue orig_value; /* the value before the change */ 1086s # } ChangedProperty; 1086s # 1086s # static void 1086s # _changed_property_free (ChangedProperty *data) 1086s # { 1086s # g_value_unset (&data->orig_value); 1086s # g_free (data); 1086s # } 1086s # 1086s # static gboolean 1086s # _g_strv_equal0 (gchar **a, gchar **b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # guint n; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # if (g_strv_length (a) != g_strv_length (b)) 1086s # goto out; 1086s # for (n = 0; a[n] != NULL; n++) 1086s # if (g_strcmp0 (a[n], b[n]) != 0) 1086s # goto out; 1086s # ret = TRUE; 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _g_variant_equal0 (GVariant *a, GVariant *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # ret = g_variant_equal (a, b); 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # G_GNUC_UNUSED static gboolean 1086s # _g_value_equal (const GValue *a, const GValue *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1086s # switch (G_VALUE_TYPE (a)) 1086s # { 1086s # case G_TYPE_BOOLEAN: 1086s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1086s # break; 1086s # case G_TYPE_UCHAR: 1086s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1086s # break; 1086s # case G_TYPE_INT: 1086s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1086s # break; 1086s # case G_TYPE_UINT: 1086s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1086s # break; 1086s # case G_TYPE_INT64: 1086s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1086s # break; 1086s # case G_TYPE_UINT64: 1086s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1086s # break; 1086s # case G_TYPE_DOUBLE: 1086s # { 1086s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1086s # gdouble da = g_value_get_double (a); 1086s # gdouble db = g_value_get_double (b); 1086s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1086s # } 1086s # break; 1086s # case G_TYPE_STRING: 1086s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1086s # break; 1086s # case G_TYPE_VARIANT: 1086s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1086s # break; 1086s # default: 1086s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1086s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1086s # else 1086s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1086s # break; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static void 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint G_GNUC_UNUSED, 1086s # void *marshal_data) 1086s # { 1086s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (void *data1, 1086s # GDBusMethodInvocation *arg_method_invocation, 1086s # void *data2); 1086s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1086s # GCClosure *cc = (GCClosure*) closure; 1086s # void *data1, *data2; 1086s # gboolean v_return; 1086s # 1086s # g_return_if_fail (return_value != NULL); 1086s # g_return_if_fail (n_param_values == 2); 1086s # 1086s # if (G_CCLOSURE_SWAP_DATA (closure)) 1086s # { 1086s # data1 = closure->data; 1086s # data2 = g_value_peek_pointer (param_values + 0); 1086s # } 1086s # else 1086s # { 1086s # data1 = g_value_peek_pointer (param_values + 0); 1086s # data2 = closure->data; 1086s # } 1086s # 1086s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (marshal_data ? marshal_data : cc->callback); 1086s # 1086s # v_return = 1086s # callback (data1, 1086s # g_marshal_value_peek_object (param_values + 1), 1086s # data2); 1086s # 1086s # g_value_set_boolean (return_value, v_return); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ 1086s # * Code for interface org.project.UsefulInterface 1086s # * ------------------------------------------------------------------------ 1086s # */ 1086s # 1086s # /** 1086s # * SECTION:OrgProjectUsefulInterface 1086s # * @title: OrgProjectUsefulInterface 1086s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1086s # * 1086s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1086s # */ 1086s # 1086s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "arg_asv", 1086s # (gchar *) "a{sv}", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "SingleArgMethodAsv", 1086s # NULL, 1086s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 1086s # NULL 1086s # }, 1086s # "handle-single-arg-method-asv", 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1086s # { 1086s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "org.project.UsefulInterface", 1086s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1086s # NULL, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "org-project-useful-interface", 1086s # }; 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_interface_info: 1086s # * 1086s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1086s # * 1086s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1086s # */ 1086s # GDBusInterfaceInfo * 1086s # org_project_useful_interface_interface_info (void) 1086s # { 1086s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_override_properties: 1086s # * @klass: The class structure for a #GObject derived class. 1086s # * @property_id_begin: The property id to assign to the first overridden property. 1086s # * 1086s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1086s # * The properties are overridden in the order they are defined. 1086s # * 1086s # * Returns: The last property id. 1086s # */ 1086s # guint 1086s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1086s # { 1086s # return property_id_begin - 1; 1086s # } 1086s # 1086s # 1086s # inline static void 1086s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint, 1086s # void *marshal_data) 1086s # { 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1086s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1086s # } 1086s # 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterface: 1086s # * 1086s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceIface: 1086s # * @parent_iface: The parent interface. 1086s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1086s # * 1086s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1086s # */ 1086s # 1086s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1086s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1086s # 1086s # static void 1086s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1086s # { 1086s # /* GObject signals for incoming D-Bus method calls: */ 1086s # /** 1086s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: A #GDBusMethodInvocation. 1086s # * 1086s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1086s # * 1086s # * 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. 1086s # * 1086s # * 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. 1086s # */ 1086s # g_signal_new ("handle-single-arg-method-asv", 1086s # G_TYPE_FROM_INTERFACE (iface), 1086s # G_SIGNAL_RUN_LAST, 1086s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1086s # g_signal_accumulator_true_handled, 1086s # NULL, 1086s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1086s # G_TYPE_BOOLEAN, 1086s # 1, 1086s # G_TYPE_DBUS_METHOD_INVOCATION); 1086s # 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_asv: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1086s # */ 1086s # void 1086s # org_project_useful_interface_call_single_arg_method_asv ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodAsv", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # callback, 1086s # user_data); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # GVariant **out_arg_asv, 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(@a{sv})", 1086s # out_arg_asv); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1086s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1086s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1086s # OrgProjectUsefulInterface *proxy, 1086s # GVariant **out_arg_asv, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1086s # "SingleArgMethodAsv", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(@a{sv})", 1086s # out_arg_asv); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_complete_single_arg_method_asv: 1086s # * @object: A #OrgProjectUsefulInterface. 1086s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1086s # * @arg_asv: Parameter to return. 1086s # * 1086s # * 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. 1086s # * 1086s # * This method will free @invocation, you cannot use it afterwards. 1086s # */ 1086s # void 1086s # org_project_useful_interface_complete_single_arg_method_asv ( 1086s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1086s # GDBusMethodInvocation *invocation, 1086s # GVariant *arg_asv) 1086s # { 1086s # g_dbus_method_invocation_return_value (invocation, 1086s # g_variant_new ("(@a{sv})", 1086s # arg_asv)); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxy: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceProxyClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceProxyPrivate 1086s # { 1086s # GData *qdata; 1086s # }; 1086s # 1086s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_proxy_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1086s # g_datalist_clear (&proxy->priv->qdata); 1086s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # const GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1086s # const gchar *sender_name G_GNUC_UNUSED, 1086s # const gchar *signal_name, 1086s # GVariant *parameters) 1086s # { 1086s # _ExtendedGDBusSignalInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # gsize n; 1086s # guint signal_id; 1086s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1086s # if (info == NULL) 1086s # return; 1086s # num_params = g_variant_n_children (parameters); 1086s # paramv = g_new0 (GValue, num_params + 1); 1086s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[0], proxy); 1086s # g_variant_iter_init (&iter, parameters); 1086s # n = 1; 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_signal_emitv (paramv, signal_id, 0, NULL); 1086s # for (n = 0; n < num_params + 1; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1086s # GVariant *changed_properties, 1086s # const gchar *const *invalidated_properties) 1086s # { 1086s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1086s # guint n; 1086s # const gchar *key; 1086s # GVariantIter *iter; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # g_variant_get (changed_properties, "a{sv}", &iter); 1086s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1086s # g_datalist_remove_data (&proxy->priv->qdata, key); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # g_variant_iter_free (iter); 1086s # for (n = 0; invalidated_properties[n] != NULL; n++) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1086s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1086s # #else 1086s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1086s # #endif 1086s # 1086s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusProxyClass *proxy_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1086s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1086s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1086s # 1086s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1086s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1086s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_sync: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_sync ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_useful_interface_proxy_new_for_bus ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_proxy_new_for_bus_sync: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_proxy_new_for_bus_sync ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeleton: 1086s # * 1086s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectUsefulInterfaceSkeletonClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1086s # */ 1086s # 1086s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1086s # { 1086s # GValue *properties; 1086s # GList *changed_properties; 1086s # GSource *changed_properties_idle_source; 1086s # GMainContext *context; 1086s # GMutex lock; 1086s # }; 1086s # 1086s # static void 1086s # _org_project_useful_interface_skeleton_handle_method_call ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name, 1086s # const gchar *method_name, 1086s # GVariant *parameters, 1086s # GDBusMethodInvocation *invocation, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # _ExtendedGDBusMethodInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # guint num_extra; 1086s # gsize n; 1086s # guint signal_id; 1086s # GValue return_value = G_VALUE_INIT; 1086s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1086s # g_assert (info != NULL); 1086s # num_params = g_variant_n_children (parameters); 1086s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1086s # n = 0; 1086s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_set_object (¶mv[n++], skeleton); 1086s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1086s # g_value_set_object (¶mv[n++], invocation); 1086s # if (info->pass_fdlist) 1086s # { 1086s # #ifdef G_OS_UNIX 1086s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1086s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1086s # #else 1086s # g_assert_not_reached (); 1086s # #endif 1086s # } 1086s # g_variant_iter_init (&iter, parameters); 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1086s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1086s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1086s # if (!g_value_get_boolean (&return_value)) 1086s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1086s # g_value_unset (&return_value); 1086s # for (n = 0; n < num_params + num_extra; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static GVariant * 1086s # _org_project_useful_interface_skeleton_handle_get_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *ret; 1086s # ret = NULL; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # g_value_init (&value, pspec->value_type); 1086s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_value_unset (&value); 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _org_project_useful_interface_skeleton_handle_set_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GVariant *variant, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # gboolean ret; 1086s # ret = FALSE; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # if (info->use_gvariant) 1086s # g_value_set_variant (&value, variant); 1086s # else 1086s # g_dbus_gvariant_to_gvalue (variant, &value); 1086s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # g_value_unset (&value); 1086s # ret = TRUE; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1086s # { 1086s # _org_project_useful_interface_skeleton_handle_method_call, 1086s # _org_project_useful_interface_skeleton_handle_get_property, 1086s # _org_project_useful_interface_skeleton_handle_set_property, 1086s # {NULL} 1086s # }; 1086s # 1086s # static GDBusInterfaceInfo * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return org_project_useful_interface_interface_info (); 1086s # } 1086s # 1086s # static GDBusInterfaceVTable * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1086s # } 1086s # 1086s # static GVariant * 1086s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1086s # 1086s # GVariantBuilder builder; 1086s # guint n; 1086s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1086s # goto out; 1086s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1086s # { 1086s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1086s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1086s # { 1086s # GVariant *value; 1086s # 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); 1086s # if (value != NULL) 1086s # { 1086s # g_variant_take_ref (value); 1086s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1086s # g_variant_unref (value); 1086s # } 1086s # } 1086s # } 1086s # out: 1086s # return g_variant_builder_end (&builder); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_useful_interface_skeleton_finalize (GObject *object) 1086s # { 1086s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # g_main_context_unref (skeleton->priv->context); 1086s # g_mutex_clear (&skeleton->priv->lock); 1086s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1086s # #else 1086s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1086s # #endif 1086s # 1086s # g_mutex_init (&skeleton->priv->lock); 1086s # skeleton->priv->context = g_main_context_ref_thread_default (); 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusInterfaceSkeletonClass *skeleton_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1086s # 1086s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1086s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1086s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1086s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1086s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_useful_interface_skeleton_new: 1086s # * 1086s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1086s # */ 1086s # OrgProjectUsefulInterface * 1086s # org_project_useful_interface_skeleton_new (void) 1086s # { 1086s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1086s # } 1086s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 1086s # tmpdir: /tmp/tmpifdl4o_3 1086s # codegen: /usr/bin/gdbus-codegen 1086s # /tmp/tmpifdl4o_3/tmpgqcw84mm.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpifdl4o_3/tmpgqcw84mm.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifdef HAVE_CONFIG_H 1086s # # include "config.h" 1086s # #endif 1086s # 1086s # #include 1086s # #ifdef G_OS_UNIX 1086s # # include 1086s # #endif 1086s # 1086s # #ifdef G_ENABLE_DEBUG 1086s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1086s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1086s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1086s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1086s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1086s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1086s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1086s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1086s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1086s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1086s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1086s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1086s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1086s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1086s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1086s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1086s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1086s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1086s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1086s # #else /* !G_ENABLE_DEBUG */ 1086s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1086s # * Do not access GValues directly in your code. Instead, use the 1086s # * g_value_get_*() functions 1086s # */ 1086s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1086s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1086s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1086s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1086s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1086s # #endif /* !G_ENABLE_DEBUG */ 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusArgInfo parent_struct; 1086s # gboolean use_gvariant; 1086s # } _ExtendedGDBusArgInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusMethodInfo parent_struct; 1086s # const gchar *signal_name; 1086s # gboolean pass_fdlist; 1086s # } _ExtendedGDBusMethodInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusSignalInfo parent_struct; 1086s # const gchar *signal_name; 1086s # } _ExtendedGDBusSignalInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusPropertyInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # guint use_gvariant : 1; 1086s # guint emits_changed_signal : 1; 1086s # } _ExtendedGDBusPropertyInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusInterfaceInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # } _ExtendedGDBusInterfaceInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # guint prop_id; 1086s # GValue orig_value; /* the value before the change */ 1086s # } ChangedProperty; 1086s # 1086s # static void 1086s # _changed_property_free (ChangedProperty *data) 1086s # { 1086s # g_value_unset (&data->orig_value); 1086s # g_free (data); 1086s # } 1086s # 1086s # static gboolean 1086s # _g_strv_equal0 (gchar **a, gchar **b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # guint n; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # if (g_strv_length (a) != g_strv_length (b)) 1086s # goto out; 1086s # for (n = 0; a[n] != NULL; n++) 1086s # if (g_strcmp0 (a[n], b[n]) != 0) 1086s # goto out; 1086s # ret = TRUE; 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _g_variant_equal0 (GVariant *a, GVariant *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # ret = g_variant_equal (a, b); 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # G_GNUC_UNUSED static gboolean 1086s # _g_value_equal (const GValue *a, const GValue *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1086s # switch (G_VALUE_TYPE (a)) 1086s # { 1086s # case G_TYPE_BOOLEAN: 1086s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1086s # break; 1086s # case G_TYPE_UCHAR: 1086s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1086s # break; 1086s # case G_TYPE_INT: 1086s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1086s # break; 1086s # case G_TYPE_UINT: 1086s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1086s # break; 1086s # case G_TYPE_INT64: 1086s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1086s # break; 1086s # case G_TYPE_UINT64: 1086s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1086s # break; 1086s # case G_TYPE_DOUBLE: 1086s # { 1086s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1086s # gdouble da = g_value_get_double (a); 1086s # gdouble db = g_value_get_double (b); 1086s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1086s # } 1086s # break; 1086s # case G_TYPE_STRING: 1086s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1086s # break; 1086s # case G_TYPE_VARIANT: 1086s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1086s # break; 1086s # default: 1086s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1086s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1086s # else 1086s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1086s # break; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static void 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint G_GNUC_UNUSED, 1086s # void *marshal_data) 1086s # { 1086s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1086s # (void *data1, 1086s # GDBusMethodInvocation *arg_method_invocation, 1086s # gboolean arg_an_b, 1086s # guchar arg_an_y, 1086s # gint16 arg_an_n, 1086s # guint16 arg_an_q, 1086s # gint arg_an_i, 1086s # guint arg_an_u, 1086s # gint64 arg_an_x, 1086s # guint64 arg_an_t, 1086s # gdouble arg_an_d, 1086s # const gchar *arg_an_s, 1086s # const gchar *arg_an_o, 1086s # const gchar *arg_an_g, 1086s # GVariant *arg_an_h, 1086s # const gchar *arg_an_ay, 1086s # const gchar *const *arg_an_as, 1086s # const gchar *const *arg_an_ao, 1086s # const gchar *const *arg_an_aay, 1086s # GVariant *arg_an_asv, 1086s # void *data2); 1086s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1086s # GCClosure *cc = (GCClosure*) closure; 1086s # void *data1, *data2; 1086s # gboolean v_return; 1086s # 1086s # g_return_if_fail (return_value != NULL); 1086s # g_return_if_fail (n_param_values == 20); 1086s # 1086s # if (G_CCLOSURE_SWAP_DATA (closure)) 1086s # { 1086s # data1 = closure->data; 1086s # data2 = g_value_peek_pointer (param_values + 0); 1086s # } 1086s # else 1086s # { 1086s # data1 = g_value_peek_pointer (param_values + 0); 1086s # data2 = closure->data; 1086s # } 1086s # 1086s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1086s # (marshal_data ? marshal_data : cc->callback); 1086s # 1086s # v_return = 1086s # callback (data1, 1086s # g_marshal_value_peek_object (param_values + 1), 1086s # g_marshal_value_peek_boolean (param_values + 2), 1086s # g_marshal_value_peek_uchar (param_values + 3), 1086s # g_marshal_value_peek_int (param_values + 4), 1086s # g_marshal_value_peek_uint (param_values + 5), 1086s # g_marshal_value_peek_int (param_values + 6), 1086s # g_marshal_value_peek_uint (param_values + 7), 1086s # g_marshal_value_peek_int64 (param_values + 8), 1086s # g_marshal_value_peek_uint64 (param_values + 9), 1086s # g_marshal_value_peek_double (param_values + 10), 1086s # g_marshal_value_peek_string (param_values + 11), 1086s # g_marshal_value_peek_string (param_values + 12), 1086s # g_marshal_value_peek_string (param_values + 13), 1086s # g_marshal_value_peek_variant (param_values + 14), 1086s # g_marshal_value_peek_string (param_values + 15), 1086s # g_marshal_value_peek_boxed (param_values + 16), 1086s # g_marshal_value_peek_boxed (param_values + 17), 1086s # g_marshal_value_peek_boxed (param_values + 18), 1086s # g_marshal_value_peek_variant (param_values + 19), 1086s # data2); 1086s # 1086s # g_value_set_boolean (return_value, v_return); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ 1086s # * Code for interface org.project.CallableIface 1086s # * ------------------------------------------------------------------------ 1086s # */ 1086s # 1086s # /** 1086s # * SECTION:OrgProjectCallableIface 1086s # * @title: OrgProjectCallableIface 1086s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1086s # * 1086s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1086s # */ 1086s # 1086s # /* ---- Introspection data for org.project.CallableIface ---- */ 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_b", 1086s # (gchar *) "b", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_y", 1086s # (gchar *) "y", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_n", 1086s # (gchar *) "n", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_q", 1086s # (gchar *) "q", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_i", 1086s # (gchar *) "i", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_u", 1086s # (gchar *) "u", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_x", 1086s # (gchar *) "x", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_t", 1086s # (gchar *) "t", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_d", 1086s # (gchar *) "d", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_s", 1086s # (gchar *) "s", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_o", 1086s # (gchar *) "o", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_g", 1086s # (gchar *) "g", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_h", 1086s # (gchar *) "h", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_ay", 1086s # (gchar *) "ay", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_as", 1086s # (gchar *) "as", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_ao", 1086s # (gchar *) "ao", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_aay", 1086s # (gchar *) "aay", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_asv", 1086s # (gchar *) "a{sv}", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1086s # { 1086s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "MethodWithManyArgs", 1086s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "handle-method-with-many-args", 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_b", 1086s # (gchar *) "b", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_y", 1086s # (gchar *) "y", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_n", 1086s # (gchar *) "n", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_q", 1086s # (gchar *) "q", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_i", 1086s # (gchar *) "i", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_u", 1086s # (gchar *) "u", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_x", 1086s # (gchar *) "x", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_t", 1086s # (gchar *) "t", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_d", 1086s # (gchar *) "d", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_s", 1086s # (gchar *) "s", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_o", 1086s # (gchar *) "o", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_g", 1086s # (gchar *) "g", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_h", 1086s # (gchar *) "h", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_ay", 1086s # (gchar *) "ay", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_as", 1086s # (gchar *) "as", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_ao", 1086s # (gchar *) "ao", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_aay", 1086s # (gchar *) "aay", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_asv", 1086s # (gchar *) "a{sv}", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 1086s # { 1086s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 1086s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 1086s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 1086s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 1086s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 1086s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 1086s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 1086s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 1086s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 1086s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 1086s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 1086s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 1086s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 1086s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 1086s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 1086s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 1086s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 1086s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "SameMethodWithManyArgs", 1086s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "handle-same-method-with-many-args", 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1086s # { 1086s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1086s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "org.project.CallableIface", 1086s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1086s # NULL, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "org-project-callable-iface", 1086s # }; 1086s # 1086s # 1086s # /** 1086s # * org_project_callable_iface_interface_info: 1086s # * 1086s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1086s # * 1086s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1086s # */ 1086s # GDBusInterfaceInfo * 1086s # org_project_callable_iface_interface_info (void) 1086s # { 1086s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_override_properties: 1086s # * @klass: The class structure for a #GObject derived class. 1086s # * @property_id_begin: The property id to assign to the first overridden property. 1086s # * 1086s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1086s # * The properties are overridden in the order they are defined. 1086s # * 1086s # * Returns: The last property id. 1086s # */ 1086s # guint 1086s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1086s # { 1086s # return property_id_begin - 1; 1086s # } 1086s # 1086s # 1086s # inline static void 1086s # org_project_callable_iface_method_marshal_method_with_many_args ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint, 1086s # void *marshal_data) 1086s # { 1086s # _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, 1086s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1086s # } 1086s # 1086s # inline static void 1086s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint, 1086s # void *marshal_data) 1086s # { 1086s # _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, 1086s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1086s # } 1086s # 1086s # 1086s # /** 1086s # * OrgProjectCallableIface: 1086s # * 1086s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectCallableIfaceIface: 1086s # * @parent_iface: The parent interface. 1086s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1086s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 1086s # * 1086s # * Virtual table for the D-Bus interface org.project.CallableIface. 1086s # */ 1086s # 1086s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1086s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1086s # 1086s # static void 1086s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1086s # { 1086s # /* GObject signals for incoming D-Bus method calls: */ 1086s # /** 1086s # * OrgProjectCallableIface::handle-method-with-many-args: 1086s # * @object: A #OrgProjectCallableIface. 1086s # * @invocation: A #GDBusMethodInvocation. 1086s # * @arg_an_b: Argument passed by remote caller. 1086s # * @arg_an_y: Argument passed by remote caller. 1086s # * @arg_an_n: Argument passed by remote caller. 1086s # * @arg_an_q: Argument passed by remote caller. 1086s # * @arg_an_i: Argument passed by remote caller. 1086s # * @arg_an_u: Argument passed by remote caller. 1086s # * @arg_an_x: Argument passed by remote caller. 1086s # * @arg_an_t: Argument passed by remote caller. 1086s # * @arg_an_d: Argument passed by remote caller. 1086s # * @arg_an_s: Argument passed by remote caller. 1086s # * @arg_an_o: Argument passed by remote caller. 1086s # * @arg_an_g: Argument passed by remote caller. 1086s # * @arg_an_h: Argument passed by remote caller. 1086s # * @arg_an_ay: Argument passed by remote caller. 1086s # * @arg_an_as: Argument passed by remote caller. 1086s # * @arg_an_ao: Argument passed by remote caller. 1086s # * @arg_an_aay: Argument passed by remote caller. 1086s # * @arg_an_asv: Argument passed by remote caller. 1086s # * 1086s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1086s # * 1086s # * 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. 1086s # * 1086s # * 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. 1086s # */ 1086s # g_signal_new ("handle-method-with-many-args", 1086s # G_TYPE_FROM_INTERFACE (iface), 1086s # G_SIGNAL_RUN_LAST, 1086s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1086s # g_signal_accumulator_true_handled, 1086s # NULL, 1086s # org_project_callable_iface_method_marshal_method_with_many_args, 1086s # G_TYPE_BOOLEAN, 1086s # 19, 1086s # 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); 1086s # 1086s # /** 1086s # * OrgProjectCallableIface::handle-same-method-with-many-args: 1086s # * @object: A #OrgProjectCallableIface. 1086s # * @invocation: A #GDBusMethodInvocation. 1086s # * @arg_an_b: Argument passed by remote caller. 1086s # * @arg_an_y: Argument passed by remote caller. 1086s # * @arg_an_n: Argument passed by remote caller. 1086s # * @arg_an_q: Argument passed by remote caller. 1086s # * @arg_an_i: Argument passed by remote caller. 1086s # * @arg_an_u: Argument passed by remote caller. 1086s # * @arg_an_x: Argument passed by remote caller. 1086s # * @arg_an_t: Argument passed by remote caller. 1086s # * @arg_an_d: Argument passed by remote caller. 1086s # * @arg_an_s: Argument passed by remote caller. 1086s # * @arg_an_o: Argument passed by remote caller. 1086s # * @arg_an_g: Argument passed by remote caller. 1086s # * @arg_an_h: Argument passed by remote caller. 1086s # * @arg_an_ay: Argument passed by remote caller. 1086s # * @arg_an_as: Argument passed by remote caller. 1086s # * @arg_an_ao: Argument passed by remote caller. 1086s # * @arg_an_aay: Argument passed by remote caller. 1086s # * @arg_an_asv: Argument passed by remote caller. 1086s # * 1086s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 1086s # * 1086s # * 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. 1086s # * 1086s # * 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. 1086s # */ 1086s # g_signal_new ("handle-same-method-with-many-args", 1086s # G_TYPE_FROM_INTERFACE (iface), 1086s # G_SIGNAL_RUN_LAST, 1086s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 1086s # g_signal_accumulator_true_handled, 1086s # NULL, 1086s # org_project_callable_iface_method_marshal_same_method_with_many_args, 1086s # G_TYPE_BOOLEAN, 1086s # 19, 1086s # 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); 1086s # 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_call_method_with_many_args: 1086s # * @proxy: A #OrgProjectCallableIfaceProxy. 1086s # * @arg_an_b: Argument to pass with the method invocation. 1086s # * @arg_an_y: Argument to pass with the method invocation. 1086s # * @arg_an_n: Argument to pass with the method invocation. 1086s # * @arg_an_q: Argument to pass with the method invocation. 1086s # * @arg_an_i: Argument to pass with the method invocation. 1086s # * @arg_an_u: Argument to pass with the method invocation. 1086s # * @arg_an_x: Argument to pass with the method invocation. 1086s # * @arg_an_t: Argument to pass with the method invocation. 1086s # * @arg_an_d: Argument to pass with the method invocation. 1086s # * @arg_an_s: Argument to pass with the method invocation. 1086s # * @arg_an_o: Argument to pass with the method invocation. 1086s # * @arg_an_g: Argument to pass with the method invocation. 1086s # * @arg_an_h: Argument to pass with the method invocation. 1086s # * @arg_an_ay: Argument to pass with the method invocation. 1086s # * @arg_an_as: Argument to pass with the method invocation. 1086s # * @arg_an_ao: Argument to pass with the method invocation. 1086s # * @arg_an_aay: Argument to pass with the method invocation. 1086s # * @arg_an_asv: Argument to pass with the method invocation. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1086s # */ 1086s # void 1086s # org_project_callable_iface_call_method_with_many_args ( 1086s # OrgProjectCallableIface *proxy, 1086s # gboolean arg_an_b, 1086s # guchar arg_an_y, 1086s # gint16 arg_an_n, 1086s # guint16 arg_an_q, 1086s # gint arg_an_i, 1086s # guint arg_an_u, 1086s # gint64 arg_an_x, 1086s # guint64 arg_an_t, 1086s # gdouble arg_an_d, 1086s # const gchar *arg_an_s, 1086s # const gchar *arg_an_o, 1086s # const gchar *arg_an_g, 1086s # GVariant *arg_an_h, 1086s # const gchar *arg_an_ay, 1086s # const gchar *const *arg_an_as, 1086s # const gchar *const *arg_an_ao, 1086s # const gchar *const *arg_an_aay, 1086s # GVariant *arg_an_asv, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1086s # "MethodWithManyArgs", 1086s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1086s # arg_an_b, 1086s # arg_an_y, 1086s # arg_an_n, 1086s # arg_an_q, 1086s # arg_an_i, 1086s # arg_an_u, 1086s # arg_an_x, 1086s # arg_an_t, 1086s # arg_an_d, 1086s # arg_an_s, 1086s # arg_an_o, 1086s # arg_an_g, 1086s # arg_an_h, 1086s # arg_an_ay, 1086s # arg_an_as, 1086s # arg_an_ao, 1086s # arg_an_aay, 1086s # arg_an_asv), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # callback, 1086s # user_data); 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_call_method_with_many_args_finish: 1086s # * @proxy: A #OrgProjectCallableIfaceProxy. 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_callable_iface_call_method_with_many_args_finish ( 1086s # OrgProjectCallableIface *proxy, 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "()"); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_call_method_with_many_args_sync: 1086s # * @proxy: A #OrgProjectCallableIfaceProxy. 1086s # * @arg_an_b: Argument to pass with the method invocation. 1086s # * @arg_an_y: Argument to pass with the method invocation. 1086s # * @arg_an_n: Argument to pass with the method invocation. 1086s # * @arg_an_q: Argument to pass with the method invocation. 1086s # * @arg_an_i: Argument to pass with the method invocation. 1086s # * @arg_an_u: Argument to pass with the method invocation. 1086s # * @arg_an_x: Argument to pass with the method invocation. 1086s # * @arg_an_t: Argument to pass with the method invocation. 1086s # * @arg_an_d: Argument to pass with the method invocation. 1086s # * @arg_an_s: Argument to pass with the method invocation. 1086s # * @arg_an_o: Argument to pass with the method invocation. 1086s # * @arg_an_g: Argument to pass with the method invocation. 1086s # * @arg_an_h: Argument to pass with the method invocation. 1086s # * @arg_an_ay: Argument to pass with the method invocation. 1086s # * @arg_an_as: Argument to pass with the method invocation. 1086s # * @arg_an_ao: Argument to pass with the method invocation. 1086s # * @arg_an_aay: Argument to pass with the method invocation. 1086s # * @arg_an_asv: Argument to pass with the method invocation. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_callable_iface_call_method_with_many_args_sync ( 1086s # OrgProjectCallableIface *proxy, 1086s # gboolean arg_an_b, 1086s # guchar arg_an_y, 1086s # gint16 arg_an_n, 1086s # guint16 arg_an_q, 1086s # gint arg_an_i, 1086s # guint arg_an_u, 1086s # gint64 arg_an_x, 1086s # guint64 arg_an_t, 1086s # gdouble arg_an_d, 1086s # const gchar *arg_an_s, 1086s # const gchar *arg_an_o, 1086s # const gchar *arg_an_g, 1086s # GVariant *arg_an_h, 1086s # const gchar *arg_an_ay, 1086s # const gchar *const *arg_an_as, 1086s # const gchar *const *arg_an_ao, 1086s # const gchar *const *arg_an_aay, 1086s # GVariant *arg_an_asv, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1086s # "MethodWithManyArgs", 1086s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1086s # arg_an_b, 1086s # arg_an_y, 1086s # arg_an_n, 1086s # arg_an_q, 1086s # arg_an_i, 1086s # arg_an_u, 1086s # arg_an_x, 1086s # arg_an_t, 1086s # arg_an_d, 1086s # arg_an_s, 1086s # arg_an_o, 1086s # arg_an_g, 1086s # arg_an_h, 1086s # arg_an_ay, 1086s # arg_an_as, 1086s # arg_an_ao, 1086s # arg_an_aay, 1086s # arg_an_asv), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "()"); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_call_same_method_with_many_args: 1086s # * @proxy: A #OrgProjectCallableIfaceProxy. 1086s # * @arg_an_b: Argument to pass with the method invocation. 1086s # * @arg_an_y: Argument to pass with the method invocation. 1086s # * @arg_an_n: Argument to pass with the method invocation. 1086s # * @arg_an_q: Argument to pass with the method invocation. 1086s # * @arg_an_i: Argument to pass with the method invocation. 1086s # * @arg_an_u: Argument to pass with the method invocation. 1086s # * @arg_an_x: Argument to pass with the method invocation. 1086s # * @arg_an_t: Argument to pass with the method invocation. 1086s # * @arg_an_d: Argument to pass with the method invocation. 1086s # * @arg_an_s: Argument to pass with the method invocation. 1086s # * @arg_an_o: Argument to pass with the method invocation. 1086s # * @arg_an_g: Argument to pass with the method invocation. 1086s # * @arg_an_h: Argument to pass with the method invocation. 1086s # * @arg_an_ay: Argument to pass with the method invocation. 1086s # * @arg_an_as: Argument to pass with the method invocation. 1086s # * @arg_an_ao: Argument to pass with the method invocation. 1086s # * @arg_an_aay: Argument to pass with the method invocation. 1086s # * @arg_an_asv: Argument to pass with the method invocation. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 1086s # */ 1086s # void 1086s # org_project_callable_iface_call_same_method_with_many_args ( 1086s # OrgProjectCallableIface *proxy, 1086s # gboolean arg_an_b, 1086s # guchar arg_an_y, 1086s # gint16 arg_an_n, 1086s # guint16 arg_an_q, 1086s # gint arg_an_i, 1086s # guint arg_an_u, 1086s # gint64 arg_an_x, 1086s # guint64 arg_an_t, 1086s # gdouble arg_an_d, 1086s # const gchar *arg_an_s, 1086s # const gchar *arg_an_o, 1086s # const gchar *arg_an_g, 1086s # GVariant *arg_an_h, 1086s # const gchar *arg_an_ay, 1086s # const gchar *const *arg_an_as, 1086s # const gchar *const *arg_an_ao, 1086s # const gchar *const *arg_an_aay, 1086s # GVariant *arg_an_asv, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1086s # "SameMethodWithManyArgs", 1086s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1086s # arg_an_b, 1086s # arg_an_y, 1086s # arg_an_n, 1086s # arg_an_q, 1086s # arg_an_i, 1086s # arg_an_u, 1086s # arg_an_x, 1086s # arg_an_t, 1086s # arg_an_d, 1086s # arg_an_s, 1086s # arg_an_o, 1086s # arg_an_g, 1086s # arg_an_h, 1086s # arg_an_ay, 1086s # arg_an_as, 1086s # arg_an_ao, 1086s # arg_an_aay, 1086s # arg_an_asv), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # callback, 1086s # user_data); 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_call_same_method_with_many_args_finish: 1086s # * @proxy: A #OrgProjectCallableIfaceProxy. 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_callable_iface_call_same_method_with_many_args_finish ( 1086s # OrgProjectCallableIface *proxy, 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "()"); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_call_same_method_with_many_args_sync: 1086s # * @proxy: A #OrgProjectCallableIfaceProxy. 1086s # * @arg_an_b: Argument to pass with the method invocation. 1086s # * @arg_an_y: Argument to pass with the method invocation. 1086s # * @arg_an_n: Argument to pass with the method invocation. 1086s # * @arg_an_q: Argument to pass with the method invocation. 1086s # * @arg_an_i: Argument to pass with the method invocation. 1086s # * @arg_an_u: Argument to pass with the method invocation. 1086s # * @arg_an_x: Argument to pass with the method invocation. 1086s # * @arg_an_t: Argument to pass with the method invocation. 1086s # * @arg_an_d: Argument to pass with the method invocation. 1086s # * @arg_an_s: Argument to pass with the method invocation. 1086s # * @arg_an_o: Argument to pass with the method invocation. 1086s # * @arg_an_g: Argument to pass with the method invocation. 1086s # * @arg_an_h: Argument to pass with the method invocation. 1086s # * @arg_an_ay: Argument to pass with the method invocation. 1086s # * @arg_an_as: Argument to pass with the method invocation. 1086s # * @arg_an_ao: Argument to pass with the method invocation. 1086s # * @arg_an_aay: Argument to pass with the method invocation. 1086s # * @arg_an_asv: Argument to pass with the method invocation. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_callable_iface_call_same_method_with_many_args_sync ( 1086s # OrgProjectCallableIface *proxy, 1086s # gboolean arg_an_b, 1086s # guchar arg_an_y, 1086s # gint16 arg_an_n, 1086s # guint16 arg_an_q, 1086s # gint arg_an_i, 1086s # guint arg_an_u, 1086s # gint64 arg_an_x, 1086s # guint64 arg_an_t, 1086s # gdouble arg_an_d, 1086s # const gchar *arg_an_s, 1086s # const gchar *arg_an_o, 1086s # const gchar *arg_an_g, 1086s # GVariant *arg_an_h, 1086s # const gchar *arg_an_ay, 1086s # const gchar *const *arg_an_as, 1086s # const gchar *const *arg_an_ao, 1086s # const gchar *const *arg_an_aay, 1086s # GVariant *arg_an_asv, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1086s # "SameMethodWithManyArgs", 1086s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1086s # arg_an_b, 1086s # arg_an_y, 1086s # arg_an_n, 1086s # arg_an_q, 1086s # arg_an_i, 1086s # arg_an_u, 1086s # arg_an_x, 1086s # arg_an_t, 1086s # arg_an_d, 1086s # arg_an_s, 1086s # arg_an_o, 1086s # arg_an_g, 1086s # arg_an_h, 1086s # arg_an_ay, 1086s # arg_an_as, 1086s # arg_an_ao, 1086s # arg_an_aay, 1086s # arg_an_asv), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "()"); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_complete_method_with_many_args: 1086s # * @object: A #OrgProjectCallableIface. 1086s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1086s # * 1086s # * 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. 1086s # * 1086s # * This method will free @invocation, you cannot use it afterwards. 1086s # */ 1086s # void 1086s # org_project_callable_iface_complete_method_with_many_args ( 1086s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1086s # GDBusMethodInvocation *invocation) 1086s # { 1086s # g_dbus_method_invocation_return_value (invocation, 1086s # g_variant_new ("()")); 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_complete_same_method_with_many_args: 1086s # * @object: A #OrgProjectCallableIface. 1086s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1086s # * 1086s # * 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. 1086s # * 1086s # * This method will free @invocation, you cannot use it afterwards. 1086s # */ 1086s # void 1086s # org_project_callable_iface_complete_same_method_with_many_args ( 1086s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1086s # GDBusMethodInvocation *invocation) 1086s # { 1086s # g_dbus_method_invocation_return_value (invocation, 1086s # g_variant_new ("()")); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectCallableIfaceProxy: 1086s # * 1086s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectCallableIfaceProxyClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectCallableIfaceProxy. 1086s # */ 1086s # 1086s # struct _OrgProjectCallableIfaceProxyPrivate 1086s # { 1086s # GData *qdata; 1086s # }; 1086s # 1086s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_callable_iface_proxy_finalize (GObject *object) 1086s # { 1086s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1086s # g_datalist_clear (&proxy->priv->qdata); 1086s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # const GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1086s # const gchar *sender_name G_GNUC_UNUSED, 1086s # const gchar *signal_name, 1086s # GVariant *parameters) 1086s # { 1086s # _ExtendedGDBusSignalInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # gsize n; 1086s # guint signal_id; 1086s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1086s # if (info == NULL) 1086s # return; 1086s # num_params = g_variant_n_children (parameters); 1086s # paramv = g_new0 (GValue, num_params + 1); 1086s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1086s # g_value_set_object (¶mv[0], proxy); 1086s # g_variant_iter_init (&iter, parameters); 1086s # n = 1; 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1086s # g_signal_emitv (paramv, signal_id, 0, NULL); 1086s # for (n = 0; n < num_params + 1; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1086s # GVariant *changed_properties, 1086s # const gchar *const *invalidated_properties) 1086s # { 1086s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1086s # guint n; 1086s # const gchar *key; 1086s # GVariantIter *iter; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # g_variant_get (changed_properties, "a{sv}", &iter); 1086s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1086s # g_datalist_remove_data (&proxy->priv->qdata, key); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # g_variant_iter_free (iter); 1086s # for (n = 0; invalidated_properties[n] != NULL; n++) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1086s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1086s # #else 1086s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1086s # #endif 1086s # 1086s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusProxyClass *proxy_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1086s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1086s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1086s # 1086s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1086s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1086s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_proxy_new: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_callable_iface_proxy_new ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # 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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_proxy_new_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectCallableIface * 1086s # org_project_callable_iface_proxy_new_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_proxy_new_sync: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectCallableIface * 1086s # org_project_callable_iface_proxy_new_sync ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /** 1086s # * org_project_callable_iface_proxy_new_for_bus: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_callable_iface_proxy_new_for_bus ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # 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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_proxy_new_for_bus_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectCallableIface * 1086s # org_project_callable_iface_proxy_new_for_bus_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_proxy_new_for_bus_sync: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectCallableIface * 1086s # org_project_callable_iface_proxy_new_for_bus_sync ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectCallableIfaceSkeleton: 1086s # * 1086s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectCallableIfaceSkeletonClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1086s # */ 1086s # 1086s # struct _OrgProjectCallableIfaceSkeletonPrivate 1086s # { 1086s # GValue *properties; 1086s # GList *changed_properties; 1086s # GSource *changed_properties_idle_source; 1086s # GMainContext *context; 1086s # GMutex lock; 1086s # }; 1086s # 1086s # static void 1086s # _org_project_callable_iface_skeleton_handle_method_call ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name, 1086s # const gchar *method_name, 1086s # GVariant *parameters, 1086s # GDBusMethodInvocation *invocation, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1086s # _ExtendedGDBusMethodInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # guint num_extra; 1086s # gsize n; 1086s # guint signal_id; 1086s # GValue return_value = G_VALUE_INIT; 1086s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1086s # g_assert (info != NULL); 1086s # num_params = g_variant_n_children (parameters); 1086s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1086s # n = 0; 1086s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1086s # g_value_set_object (¶mv[n++], skeleton); 1086s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1086s # g_value_set_object (¶mv[n++], invocation); 1086s # if (info->pass_fdlist) 1086s # { 1086s # #ifdef G_OS_UNIX 1086s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1086s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1086s # #else 1086s # g_assert_not_reached (); 1086s # #endif 1086s # } 1086s # g_variant_iter_init (&iter, parameters); 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1086s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1086s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1086s # if (!g_value_get_boolean (&return_value)) 1086s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1086s # g_value_unset (&return_value); 1086s # for (n = 0; n < num_params + num_extra; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static GVariant * 1086s # _org_project_callable_iface_skeleton_handle_get_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *ret; 1086s # ret = NULL; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # g_value_init (&value, pspec->value_type); 1086s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_value_unset (&value); 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _org_project_callable_iface_skeleton_handle_set_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GVariant *variant, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # gboolean ret; 1086s # ret = FALSE; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # if (info->use_gvariant) 1086s # g_value_set_variant (&value, variant); 1086s # else 1086s # g_dbus_gvariant_to_gvalue (variant, &value); 1086s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # g_value_unset (&value); 1086s # ret = TRUE; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1086s # { 1086s # _org_project_callable_iface_skeleton_handle_method_call, 1086s # _org_project_callable_iface_skeleton_handle_get_property, 1086s # _org_project_callable_iface_skeleton_handle_set_property, 1086s # {NULL} 1086s # }; 1086s # 1086s # static GDBusInterfaceInfo * 1086s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return org_project_callable_iface_interface_info (); 1086s # } 1086s # 1086s # static GDBusInterfaceVTable * 1086s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1086s # } 1086s # 1086s # static GVariant * 1086s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1086s # 1086s # GVariantBuilder builder; 1086s # guint n; 1086s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1086s # goto out; 1086s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1086s # { 1086s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1086s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1086s # { 1086s # GVariant *value; 1086s # 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); 1086s # if (value != NULL) 1086s # { 1086s # g_variant_take_ref (value); 1086s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1086s # g_variant_unref (value); 1086s # } 1086s # } 1086s # } 1086s # out: 1086s # return g_variant_builder_end (&builder); 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_callable_iface_skeleton_finalize (GObject *object) 1086s # { 1086s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # g_main_context_unref (skeleton->priv->context); 1086s # g_mutex_clear (&skeleton->priv->lock); 1086s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1086s # #else 1086s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1086s # #endif 1086s # 1086s # g_mutex_init (&skeleton->priv->lock); 1086s # skeleton->priv->context = g_main_context_ref_thread_default (); 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusInterfaceSkeletonClass *skeleton_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1086s # 1086s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1086s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1086s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1086s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1086s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_skeleton_new: 1086s # * 1086s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1086s # */ 1086s # OrgProjectCallableIface * 1086s # org_project_callable_iface_skeleton_new (void) 1086s # { 1086s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ 1086s # * Code for interface org.project.OtherCallableIface 1086s # * ------------------------------------------------------------------------ 1086s # */ 1086s # 1086s # /** 1086s # * SECTION:OrgProjectOtherCallableIface 1086s # * @title: OrgProjectOtherCallableIface 1086s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1086s # * 1086s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1086s # */ 1086s # 1086s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_b", 1086s # (gchar *) "b", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_y", 1086s # (gchar *) "y", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_n", 1086s # (gchar *) "n", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_q", 1086s # (gchar *) "q", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_i", 1086s # (gchar *) "i", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_u", 1086s # (gchar *) "u", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_x", 1086s # (gchar *) "x", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_t", 1086s # (gchar *) "t", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_d", 1086s # (gchar *) "d", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_s", 1086s # (gchar *) "s", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_o", 1086s # (gchar *) "o", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_g", 1086s # (gchar *) "g", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_h", 1086s # (gchar *) "h", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_ay", 1086s # (gchar *) "ay", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_as", 1086s # (gchar *) "as", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_ao", 1086s # (gchar *) "ao", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_aay", 1086s # (gchar *) "aay", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_asv", 1086s # (gchar *) "a{sv}", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1086s # { 1086s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1086s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1086s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1086s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1086s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1086s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1086s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1086s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1086s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1086s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1086s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1086s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1086s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1086s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1086s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1086s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1086s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1086s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "MethodWithManyArgs", 1086s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "handle-method-with-many-args", 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1086s # { 1086s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "org.project.OtherCallableIface", 1086s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1086s # NULL, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "org-project-other-callable-iface", 1086s # }; 1086s # 1086s # 1086s # /** 1086s # * org_project_other_callable_iface_interface_info: 1086s # * 1086s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1086s # * 1086s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1086s # */ 1086s # GDBusInterfaceInfo * 1086s # org_project_other_callable_iface_interface_info (void) 1086s # { 1086s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1086s # } 1086s # 1086s # /** 1086s # * org_project_other_callable_iface_override_properties: 1086s # * @klass: The class structure for a #GObject derived class. 1086s # * @property_id_begin: The property id to assign to the first overridden property. 1086s # * 1086s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1086s # * The properties are overridden in the order they are defined. 1086s # * 1086s # * Returns: The last property id. 1086s # */ 1086s # guint 1086s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1086s # { 1086s # return property_id_begin - 1; 1086s # } 1086s # 1086s # 1086s # inline static void 1086s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint, 1086s # void *marshal_data) 1086s # { 1086s # _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, 1086s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1086s # } 1086s # 1086s # 1086s # /** 1086s # * OrgProjectOtherCallableIface: 1086s # * 1086s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectOtherCallableIfaceIface: 1086s # * @parent_iface: The parent interface. 1086s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 1086s # * 1086s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1086s # */ 1086s # 1086s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1086s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1086s # 1086s # static void 1086s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1086s # { 1086s # /* GObject signals for incoming D-Bus method calls: */ 1086s # /** 1086s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 1086s # * @object: A #OrgProjectOtherCallableIface. 1086s # * @invocation: A #GDBusMethodInvocation. 1086s # * @arg_an_b: Argument passed by remote caller. 1086s # * @arg_an_y: Argument passed by remote caller. 1086s # * @arg_an_n: Argument passed by remote caller. 1086s # * @arg_an_q: Argument passed by remote caller. 1086s # * @arg_an_i: Argument passed by remote caller. 1086s # * @arg_an_u: Argument passed by remote caller. 1086s # * @arg_an_x: Argument passed by remote caller. 1086s # * @arg_an_t: Argument passed by remote caller. 1086s # * @arg_an_d: Argument passed by remote caller. 1086s # * @arg_an_s: Argument passed by remote caller. 1086s # * @arg_an_o: Argument passed by remote caller. 1086s # * @arg_an_g: Argument passed by remote caller. 1086s # * @arg_an_h: Argument passed by remote caller. 1086s # * @arg_an_ay: Argument passed by remote caller. 1086s # * @arg_an_as: Argument passed by remote caller. 1086s # * @arg_an_ao: Argument passed by remote caller. 1086s # * @arg_an_aay: Argument passed by remote caller. 1086s # * @arg_an_asv: Argument passed by remote caller. 1086s # * 1086s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1086s # * 1086s # * 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. 1086s # * 1086s # * 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. 1086s # */ 1086s # g_signal_new ("handle-method-with-many-args", 1086s # G_TYPE_FROM_INTERFACE (iface), 1086s # G_SIGNAL_RUN_LAST, 1086s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 1086s # g_signal_accumulator_true_handled, 1086s # NULL, 1086s # org_project_other_callable_iface_method_marshal_method_with_many_args, 1086s # G_TYPE_BOOLEAN, 1086s # 19, 1086s # 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); 1086s # 1086s # } 1086s # 1086s # /** 1086s # * org_project_other_callable_iface_call_method_with_many_args: 1086s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1086s # * @arg_an_b: Argument to pass with the method invocation. 1086s # * @arg_an_y: Argument to pass with the method invocation. 1086s # * @arg_an_n: Argument to pass with the method invocation. 1086s # * @arg_an_q: Argument to pass with the method invocation. 1086s # * @arg_an_i: Argument to pass with the method invocation. 1086s # * @arg_an_u: Argument to pass with the method invocation. 1086s # * @arg_an_x: Argument to pass with the method invocation. 1086s # * @arg_an_t: Argument to pass with the method invocation. 1086s # * @arg_an_d: Argument to pass with the method invocation. 1086s # * @arg_an_s: Argument to pass with the method invocation. 1086s # * @arg_an_o: Argument to pass with the method invocation. 1086s # * @arg_an_g: Argument to pass with the method invocation. 1086s # * @arg_an_h: Argument to pass with the method invocation. 1086s # * @arg_an_ay: Argument to pass with the method invocation. 1086s # * @arg_an_as: Argument to pass with the method invocation. 1086s # * @arg_an_ao: Argument to pass with the method invocation. 1086s # * @arg_an_aay: Argument to pass with the method invocation. 1086s # * @arg_an_asv: Argument to pass with the method invocation. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1086s # */ 1086s # void 1086s # org_project_other_callable_iface_call_method_with_many_args ( 1086s # OrgProjectOtherCallableIface *proxy, 1086s # gboolean arg_an_b, 1086s # guchar arg_an_y, 1086s # gint16 arg_an_n, 1086s # guint16 arg_an_q, 1086s # gint arg_an_i, 1086s # guint arg_an_u, 1086s # gint64 arg_an_x, 1086s # guint64 arg_an_t, 1086s # gdouble arg_an_d, 1086s # const gchar *arg_an_s, 1086s # const gchar *arg_an_o, 1086s # const gchar *arg_an_g, 1086s # GVariant *arg_an_h, 1086s # const gchar *arg_an_ay, 1086s # const gchar *const *arg_an_as, 1086s # const gchar *const *arg_an_ao, 1086s # const gchar *const *arg_an_aay, 1086s # GVariant *arg_an_asv, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1086s # "MethodWithManyArgs", 1086s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1086s # arg_an_b, 1086s # arg_an_y, 1086s # arg_an_n, 1086s # arg_an_q, 1086s # arg_an_i, 1086s # arg_an_u, 1086s # arg_an_x, 1086s # arg_an_t, 1086s # arg_an_d, 1086s # arg_an_s, 1086s # arg_an_o, 1086s # arg_an_g, 1086s # arg_an_h, 1086s # arg_an_ay, 1086s # arg_an_as, 1086s # arg_an_ao, 1086s # arg_an_aay, 1086s # arg_an_asv), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # callback, 1086s # user_data); 1086s # } 1086s # 1086s # /** 1086s # * org_project_other_callable_iface_call_method_with_many_args_finish: 1086s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_other_callable_iface_call_method_with_many_args_finish ( 1086s # OrgProjectOtherCallableIface *proxy, 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "()"); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_other_callable_iface_call_method_with_many_args_sync: 1086s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1086s # * @arg_an_b: Argument to pass with the method invocation. 1086s # * @arg_an_y: Argument to pass with the method invocation. 1086s # * @arg_an_n: Argument to pass with the method invocation. 1086s # * @arg_an_q: Argument to pass with the method invocation. 1086s # * @arg_an_i: Argument to pass with the method invocation. 1086s # * @arg_an_u: Argument to pass with the method invocation. 1086s # * @arg_an_x: Argument to pass with the method invocation. 1086s # * @arg_an_t: Argument to pass with the method invocation. 1086s # * @arg_an_d: Argument to pass with the method invocation. 1086s # * @arg_an_s: Argument to pass with the method invocation. 1086s # * @arg_an_o: Argument to pass with the method invocation. 1086s # * @arg_an_g: Argument to pass with the method invocation. 1086s # * @arg_an_h: Argument to pass with the method invocation. 1086s # * @arg_an_ay: Argument to pass with the method invocation. 1086s # * @arg_an_as: Argument to pass with the method invocation. 1086s # * @arg_an_ao: Argument to pass with the method invocation. 1086s # * @arg_an_aay: Argument to pass with the method invocation. 1086s # * @arg_an_asv: Argument to pass with the method invocation. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_other_callable_iface_call_method_with_many_args_sync ( 1086s # OrgProjectOtherCallableIface *proxy, 1086s # gboolean arg_an_b, 1086s # guchar arg_an_y, 1086s # gint16 arg_an_n, 1086s # guint16 arg_an_q, 1086s # gint arg_an_i, 1086s # guint arg_an_u, 1086s # gint64 arg_an_x, 1086s # guint64 arg_an_t, 1086s # gdouble arg_an_d, 1086s # const gchar *arg_an_s, 1086s # const gchar *arg_an_o, 1086s # const gchar *arg_an_g, 1086s # GVariant *arg_an_h, 1086s # const gchar *arg_an_ay, 1086s # const gchar *const *arg_an_as, 1086s # const gchar *const *arg_an_ao, 1086s # const gchar *const *arg_an_aay, 1086s # GVariant *arg_an_asv, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1086s # "MethodWithManyArgs", 1086s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1086s # arg_an_b, 1086s # arg_an_y, 1086s # arg_an_n, 1086s # arg_an_q, 1086s # arg_an_i, 1086s # arg_an_u, 1086s # arg_an_x, 1086s # arg_an_t, 1086s # arg_an_d, 1086s # arg_an_s, 1086s # arg_an_o, 1086s # arg_an_g, 1086s # arg_an_h, 1086s # arg_an_ay, 1086s # arg_an_as, 1086s # arg_an_ao, 1086s # arg_an_aay, 1086s # arg_an_asv), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "()"); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_other_callable_iface_complete_method_with_many_args: 1086s # * @object: A #OrgProjectOtherCallableIface. 1086s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1086s # * 1086s # * 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. 1086s # * 1086s # * This method will free @invocation, you cannot use it afterwards. 1086s # */ 1086s # void 1086s # org_project_other_callable_iface_complete_method_with_many_args ( 1086s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1086s # GDBusMethodInvocation *invocation) 1086s # { 1086s # g_dbus_method_invocation_return_value (invocation, 1086s # g_variant_new ("()")); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectOtherCallableIfaceProxy: 1086s # * 1086s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectOtherCallableIfaceProxyClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1086s # */ 1086s # 1086s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1086s # { 1086s # GData *qdata; 1086s # }; 1086s # 1086s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1086s # { 1086s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1086s # g_datalist_clear (&proxy->priv->qdata); 1086s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # const GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1086s # const gchar *sender_name G_GNUC_UNUSED, 1086s # const gchar *signal_name, 1086s # GVariant *parameters) 1086s # { 1086s # _ExtendedGDBusSignalInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # gsize n; 1086s # guint signal_id; 1086s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1086s # if (info == NULL) 1086s # return; 1086s # num_params = g_variant_n_children (parameters); 1086s # paramv = g_new0 (GValue, num_params + 1); 1086s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1086s # g_value_set_object (¶mv[0], proxy); 1086s # g_variant_iter_init (&iter, parameters); 1086s # n = 1; 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1086s # g_signal_emitv (paramv, signal_id, 0, NULL); 1086s # for (n = 0; n < num_params + 1; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static void 1086s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1086s # GVariant *changed_properties, 1086s # const gchar *const *invalidated_properties) 1086s # { 1086s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1086s # guint n; 1086s # const gchar *key; 1086s # GVariantIter *iter; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # g_variant_get (changed_properties, "a{sv}", &iter); 1086s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1086s # g_datalist_remove_data (&proxy->priv->qdata, key); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # g_variant_iter_free (iter); 1086s # for (n = 0; invalidated_properties[n] != NULL; n++) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1086s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1086s # #else 1086s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1086s # #endif 1086s # 1086s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1086s # } 1086s # 1086s # static void 1086s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusProxyClass *proxy_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1086s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1086s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1086s # 1086s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1086s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1086s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_other_callable_iface_proxy_new: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_other_callable_iface_proxy_new ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # 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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_other_callable_iface_proxy_new_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectOtherCallableIface * 1086s # org_project_other_callable_iface_proxy_new_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_other_callable_iface_proxy_new_sync: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectOtherCallableIface * 1086s # org_project_other_callable_iface_proxy_new_sync ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /** 1086s # * org_project_other_callable_iface_proxy_new_for_bus: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_other_callable_iface_proxy_new_for_bus ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # 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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectOtherCallableIface * 1086s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectOtherCallableIface * 1086s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectOtherCallableIfaceSkeleton: 1086s # * 1086s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectOtherCallableIfaceSkeletonClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1086s # */ 1086s # 1086s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1086s # { 1086s # GValue *properties; 1086s # GList *changed_properties; 1086s # GSource *changed_properties_idle_source; 1086s # GMainContext *context; 1086s # GMutex lock; 1086s # }; 1086s # 1086s # static void 1086s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name, 1086s # const gchar *method_name, 1086s # GVariant *parameters, 1086s # GDBusMethodInvocation *invocation, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1086s # _ExtendedGDBusMethodInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # guint num_extra; 1086s # gsize n; 1086s # guint signal_id; 1086s # GValue return_value = G_VALUE_INIT; 1086s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1086s # g_assert (info != NULL); 1086s # num_params = g_variant_n_children (parameters); 1086s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1086s # n = 0; 1086s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1086s # g_value_set_object (¶mv[n++], skeleton); 1086s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1086s # g_value_set_object (¶mv[n++], invocation); 1086s # if (info->pass_fdlist) 1086s # { 1086s # #ifdef G_OS_UNIX 1086s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1086s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1086s # #else 1086s # g_assert_not_reached (); 1086s # #endif 1086s # } 1086s # g_variant_iter_init (&iter, parameters); 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1086s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1086s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1086s # if (!g_value_get_boolean (&return_value)) 1086s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1086s # g_value_unset (&return_value); 1086s # for (n = 0; n < num_params + num_extra; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static GVariant * 1086s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *ret; 1086s # ret = NULL; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # g_value_init (&value, pspec->value_type); 1086s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_value_unset (&value); 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GVariant *variant, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # gboolean ret; 1086s # ret = FALSE; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # if (info->use_gvariant) 1086s # g_value_set_variant (&value, variant); 1086s # else 1086s # g_dbus_gvariant_to_gvalue (variant, &value); 1086s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # g_value_unset (&value); 1086s # ret = TRUE; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1086s # { 1086s # _org_project_other_callable_iface_skeleton_handle_method_call, 1086s # _org_project_other_callable_iface_skeleton_handle_get_property, 1086s # _org_project_other_callable_iface_skeleton_handle_set_property, 1086s # {NULL} 1086s # }; 1086s # 1086s # static GDBusInterfaceInfo * 1086s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return org_project_other_callable_iface_interface_info (); 1086s # } 1086s # 1086s # static GDBusInterfaceVTable * 1086s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1086s # } 1086s # 1086s # static GVariant * 1086s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1086s # 1086s # GVariantBuilder builder; 1086s # guint n; 1086s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1086s # goto out; 1086s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1086s # { 1086s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1086s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1086s # { 1086s # GVariant *value; 1086s # 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); 1086s # if (value != NULL) 1086s # { 1086s # g_variant_take_ref (value); 1086s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1086s # g_variant_unref (value); 1086s # } 1086s # } 1086s # } 1086s # out: 1086s # return g_variant_builder_end (&builder); 1086s # } 1086s # 1086s # static void 1086s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1086s # { 1086s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # g_main_context_unref (skeleton->priv->context); 1086s # g_mutex_clear (&skeleton->priv->lock); 1086s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1086s # #else 1086s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1086s # #endif 1086s # 1086s # g_mutex_init (&skeleton->priv->lock); 1086s # skeleton->priv->context = g_main_context_ref_thread_default (); 1086s # } 1086s # 1086s # static void 1086s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusInterfaceSkeletonClass *skeleton_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1086s # 1086s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1086s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1086s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1086s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1086s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_other_callable_iface_skeleton_new: 1086s # * 1086s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1086s # */ 1086s # OrgProjectOtherCallableIface * 1086s # org_project_other_callable_iface_skeleton_new (void) 1086s # { 1086s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1086s # } 1086s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 1086s # tmpdir: /tmp/tmpwr29hb5q 1086s # codegen: /usr/bin/gdbus-codegen 1086s # /tmp/tmpwr29hb5q/tmpjw0ryi1f.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwr29hb5q/tmpjw0ryi1f.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifdef HAVE_CONFIG_H 1086s # # include "config.h" 1086s # #endif 1086s # 1086s # #include 1086s # #ifdef G_OS_UNIX 1086s # # include 1086s # #endif 1086s # 1086s # #ifdef G_ENABLE_DEBUG 1086s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1086s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1086s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1086s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1086s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1086s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1086s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1086s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1086s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1086s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1086s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1086s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1086s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1086s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1086s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1086s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1086s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1086s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1086s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1086s # #else /* !G_ENABLE_DEBUG */ 1086s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1086s # * Do not access GValues directly in your code. Instead, use the 1086s # * g_value_get_*() functions 1086s # */ 1086s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1086s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1086s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1086s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1086s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1086s # #endif /* !G_ENABLE_DEBUG */ 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusArgInfo parent_struct; 1086s # gboolean use_gvariant; 1086s # } _ExtendedGDBusArgInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusMethodInfo parent_struct; 1086s # const gchar *signal_name; 1086s # gboolean pass_fdlist; 1086s # } _ExtendedGDBusMethodInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusSignalInfo parent_struct; 1086s # const gchar *signal_name; 1086s # } _ExtendedGDBusSignalInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusPropertyInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # guint use_gvariant : 1; 1086s # guint emits_changed_signal : 1; 1086s # } _ExtendedGDBusPropertyInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusInterfaceInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # } _ExtendedGDBusInterfaceInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # guint prop_id; 1086s # GValue orig_value; /* the value before the change */ 1086s # } ChangedProperty; 1086s # 1086s # static void 1086s # _changed_property_free (ChangedProperty *data) 1086s # { 1086s # g_value_unset (&data->orig_value); 1086s # g_free (data); 1086s # } 1086s # 1086s # static gboolean 1086s # _g_strv_equal0 (gchar **a, gchar **b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # guint n; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # if (g_strv_length (a) != g_strv_length (b)) 1086s # goto out; 1086s # for (n = 0; a[n] != NULL; n++) 1086s # if (g_strcmp0 (a[n], b[n]) != 0) 1086s # goto out; 1086s # ret = TRUE; 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _g_variant_equal0 (GVariant *a, GVariant *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # ret = g_variant_equal (a, b); 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # G_GNUC_UNUSED static gboolean 1086s # _g_value_equal (const GValue *a, const GValue *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1086s # switch (G_VALUE_TYPE (a)) 1086s # { 1086s # case G_TYPE_BOOLEAN: 1086s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1086s # break; 1086s # case G_TYPE_UCHAR: 1086s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1086s # break; 1086s # case G_TYPE_INT: 1086s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1086s # break; 1086s # case G_TYPE_UINT: 1086s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1086s # break; 1086s # case G_TYPE_INT64: 1086s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1086s # break; 1086s # case G_TYPE_UINT64: 1086s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1086s # break; 1086s # case G_TYPE_DOUBLE: 1086s # { 1086s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1086s # gdouble da = g_value_get_double (a); 1086s # gdouble db = g_value_get_double (b); 1086s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1086s # } 1086s # break; 1086s # case G_TYPE_STRING: 1086s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1086s # break; 1086s # case G_TYPE_VARIANT: 1086s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1086s # break; 1086s # default: 1086s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1086s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1086s # else 1086s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1086s # break; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static void 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint G_GNUC_UNUSED, 1086s # void *marshal_data) 1086s # { 1086s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (void *data1, 1086s # GDBusMethodInvocation *arg_method_invocation, 1086s # void *data2); 1086s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1086s # GCClosure *cc = (GCClosure*) closure; 1086s # void *data1, *data2; 1086s # gboolean v_return; 1086s # 1086s # g_return_if_fail (return_value != NULL); 1086s # g_return_if_fail (n_param_values == 2); 1086s # 1086s # if (G_CCLOSURE_SWAP_DATA (closure)) 1086s # { 1086s # data1 = closure->data; 1086s # data2 = g_value_peek_pointer (param_values + 0); 1086s # } 1086s # else 1086s # { 1086s # data1 = g_value_peek_pointer (param_values + 0); 1086s # data2 = closure->data; 1086s # } 1086s # 1086s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1086s # (marshal_data ? marshal_data : cc->callback); 1086s # 1086s # v_return = 1086s # callback (data1, 1086s # g_marshal_value_peek_object (param_values + 1), 1086s # data2); 1086s # 1086s # g_value_set_boolean (return_value, v_return); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ 1086s # * Code for interface org.project.CallableIface 1086s # * ------------------------------------------------------------------------ 1086s # */ 1086s # 1086s # /** 1086s # * SECTION:OrgProjectCallableIface 1086s # * @title: OrgProjectCallableIface 1086s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1086s # * 1086s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1086s # */ 1086s # 1086s # /* ---- Introspection data for org.project.CallableIface ---- */ 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_b", 1086s # (gchar *) "b", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_y", 1086s # (gchar *) "y", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_n", 1086s # (gchar *) "n", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_q", 1086s # (gchar *) "q", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_i", 1086s # (gchar *) "i", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_u", 1086s # (gchar *) "u", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_x", 1086s # (gchar *) "x", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_t", 1086s # (gchar *) "t", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_d", 1086s # (gchar *) "d", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_s", 1086s # (gchar *) "s", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_o", 1086s # (gchar *) "o", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_g", 1086s # (gchar *) "g", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_h", 1086s # (gchar *) "h", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_ay", 1086s # (gchar *) "ay", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_as", 1086s # (gchar *) "as", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_ao", 1086s # (gchar *) "ao", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_aay", 1086s # (gchar *) "aay", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "an_asv", 1086s # (gchar *) "a{sv}", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 1086s # { 1086s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 1086s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "MethodWithManyArgs", 1086s # NULL, 1086s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 1086s # NULL 1086s # }, 1086s # "handle-method-with-many-args", 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1086s # { 1086s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "org.project.CallableIface", 1086s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1086s # NULL, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "org-project-callable-iface", 1086s # }; 1086s # 1086s # 1086s # /** 1086s # * org_project_callable_iface_interface_info: 1086s # * 1086s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1086s # * 1086s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1086s # */ 1086s # GDBusInterfaceInfo * 1086s # org_project_callable_iface_interface_info (void) 1086s # { 1086s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_override_properties: 1086s # * @klass: The class structure for a #GObject derived class. 1086s # * @property_id_begin: The property id to assign to the first overridden property. 1086s # * 1086s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1086s # * The properties are overridden in the order they are defined. 1086s # * 1086s # * Returns: The last property id. 1086s # */ 1086s # guint 1086s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1086s # { 1086s # return property_id_begin - 1; 1086s # } 1086s # 1086s # 1086s # inline static void 1086s # org_project_callable_iface_method_marshal_method_with_many_args ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint, 1086s # void *marshal_data) 1086s # { 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1086s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1086s # } 1086s # 1086s # 1086s # /** 1086s # * OrgProjectCallableIface: 1086s # * 1086s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectCallableIfaceIface: 1086s # * @parent_iface: The parent interface. 1086s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1086s # * 1086s # * Virtual table for the D-Bus interface org.project.CallableIface. 1086s # */ 1086s # 1086s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1086s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1086s # 1086s # static void 1086s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1086s # { 1086s # /* GObject signals for incoming D-Bus method calls: */ 1086s # /** 1086s # * OrgProjectCallableIface::handle-method-with-many-args: 1086s # * @object: A #OrgProjectCallableIface. 1086s # * @invocation: A #GDBusMethodInvocation. 1086s # * 1086s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1086s # * 1086s # * 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. 1086s # * 1086s # * 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. 1086s # */ 1086s # g_signal_new ("handle-method-with-many-args", 1086s # G_TYPE_FROM_INTERFACE (iface), 1086s # G_SIGNAL_RUN_LAST, 1086s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1086s # g_signal_accumulator_true_handled, 1086s # NULL, 1086s # org_project_callable_iface_method_marshal_method_with_many_args, 1086s # G_TYPE_BOOLEAN, 1086s # 1, 1086s # G_TYPE_DBUS_METHOD_INVOCATION); 1086s # 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_call_method_with_many_args: 1086s # * @proxy: A #OrgProjectCallableIfaceProxy. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1086s # */ 1086s # void 1086s # org_project_callable_iface_call_method_with_many_args ( 1086s # OrgProjectCallableIface *proxy, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1086s # "MethodWithManyArgs", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # callback, 1086s # user_data); 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_call_method_with_many_args_finish: 1086s # * @proxy: A #OrgProjectCallableIfaceProxy. 1086s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_callable_iface_call_method_with_many_args_finish ( 1086s # OrgProjectCallableIface *proxy, 1086s # gboolean *out_an_b, 1086s # guchar *out_an_y, 1086s # gint16 *out_an_n, 1086s # guint16 *out_an_q, 1086s # gint *out_an_i, 1086s # guint *out_an_u, 1086s # gint64 *out_an_x, 1086s # guint64 *out_an_t, 1086s # gdouble *out_an_d, 1086s # gchar **out_an_s, 1086s # gchar **out_an_o, 1086s # gchar **out_an_g, 1086s # GVariant **out_an_h, 1086s # gchar **out_an_ay, 1086s # gchar ***out_an_as, 1086s # gchar ***out_an_ao, 1086s # gchar ***out_an_aay, 1086s # GVariant **out_an_asv, 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1086s # out_an_b, 1086s # out_an_y, 1086s # out_an_n, 1086s # out_an_q, 1086s # out_an_i, 1086s # out_an_u, 1086s # out_an_x, 1086s # out_an_t, 1086s # out_an_d, 1086s # out_an_s, 1086s # out_an_o, 1086s # out_an_g, 1086s # out_an_h, 1086s # out_an_ay, 1086s # out_an_as, 1086s # out_an_ao, 1086s # out_an_aay, 1086s # out_an_asv); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_call_method_with_many_args_sync: 1086s # * @proxy: A #OrgProjectCallableIfaceProxy. 1086s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1086s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # org_project_callable_iface_call_method_with_many_args_sync ( 1086s # OrgProjectCallableIface *proxy, 1086s # gboolean *out_an_b, 1086s # guchar *out_an_y, 1086s # gint16 *out_an_n, 1086s # guint16 *out_an_q, 1086s # gint *out_an_i, 1086s # guint *out_an_u, 1086s # gint64 *out_an_x, 1086s # guint64 *out_an_t, 1086s # gdouble *out_an_d, 1086s # gchar **out_an_s, 1086s # gchar **out_an_o, 1086s # gchar **out_an_g, 1086s # GVariant **out_an_h, 1086s # gchar **out_an_ay, 1086s # gchar ***out_an_as, 1086s # gchar ***out_an_ao, 1086s # gchar ***out_an_aay, 1086s # GVariant **out_an_asv, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1086s # "MethodWithManyArgs", 1086s # g_variant_new ("()"), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # cancellable, 1086s # error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1086s # out_an_b, 1086s # out_an_y, 1086s # out_an_n, 1086s # out_an_q, 1086s # out_an_i, 1086s # out_an_u, 1086s # out_an_x, 1086s # out_an_t, 1086s # out_an_d, 1086s # out_an_s, 1086s # out_an_o, 1086s # out_an_g, 1086s # out_an_h, 1086s # out_an_ay, 1086s # out_an_as, 1086s # out_an_ao, 1086s # out_an_aay, 1086s # out_an_asv); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_complete_method_with_many_args: 1086s # * @object: A #OrgProjectCallableIface. 1086s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1086s # * @an_b: Parameter to return. 1086s # * @an_y: Parameter to return. 1086s # * @an_n: Parameter to return. 1086s # * @an_q: Parameter to return. 1086s # * @an_i: Parameter to return. 1086s # * @an_u: Parameter to return. 1086s # * @an_x: Parameter to return. 1086s # * @an_t: Parameter to return. 1086s # * @an_d: Parameter to return. 1086s # * @an_s: Parameter to return. 1086s # * @an_o: Parameter to return. 1086s # * @an_g: Parameter to return. 1086s # * @an_h: Parameter to return. 1086s # * @an_ay: Parameter to return. 1086s # * @an_as: Parameter to return. 1086s # * @an_ao: Parameter to return. 1086s # * @an_aay: Parameter to return. 1086s # * @an_asv: Parameter to return. 1086s # * 1086s # * 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. 1086s # * 1086s # * This method will free @invocation, you cannot use it afterwards. 1086s # */ 1086s # void 1086s # org_project_callable_iface_complete_method_with_many_args ( 1086s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1086s # GDBusMethodInvocation *invocation, 1086s # gboolean an_b, 1086s # guchar an_y, 1086s # gint16 an_n, 1086s # guint16 an_q, 1086s # gint an_i, 1086s # guint an_u, 1086s # gint64 an_x, 1086s # guint64 an_t, 1086s # gdouble an_d, 1086s # const gchar *an_s, 1086s # const gchar *an_o, 1086s # const gchar *an_g, 1086s # GVariant *an_h, 1086s # const gchar *an_ay, 1086s # const gchar *const *an_as, 1086s # const gchar *const *an_ao, 1086s # const gchar *const *an_aay, 1086s # GVariant *an_asv) 1086s # { 1086s # g_dbus_method_invocation_return_value (invocation, 1086s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1086s # an_b, 1086s # an_y, 1086s # an_n, 1086s # an_q, 1086s # an_i, 1086s # an_u, 1086s # an_x, 1086s # an_t, 1086s # an_d, 1086s # an_s, 1086s # an_o, 1086s # an_g, 1086s # an_h, 1086s # an_ay, 1086s # an_as, 1086s # an_ao, 1086s # an_aay, 1086s # an_asv)); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectCallableIfaceProxy: 1086s # * 1086s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectCallableIfaceProxyClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectCallableIfaceProxy. 1086s # */ 1086s # 1086s # struct _OrgProjectCallableIfaceProxyPrivate 1086s # { 1086s # GData *qdata; 1086s # }; 1086s # 1086s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_callable_iface_proxy_finalize (GObject *object) 1086s # { 1086s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1086s # g_datalist_clear (&proxy->priv->qdata); 1086s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # const GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1086s # const gchar *sender_name G_GNUC_UNUSED, 1086s # const gchar *signal_name, 1086s # GVariant *parameters) 1086s # { 1086s # _ExtendedGDBusSignalInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # gsize n; 1086s # guint signal_id; 1086s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1086s # if (info == NULL) 1086s # return; 1086s # num_params = g_variant_n_children (parameters); 1086s # paramv = g_new0 (GValue, num_params + 1); 1086s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1086s # g_value_set_object (¶mv[0], proxy); 1086s # g_variant_iter_init (&iter, parameters); 1086s # n = 1; 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1086s # g_signal_emitv (paramv, signal_id, 0, NULL); 1086s # for (n = 0; n < num_params + 1; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1086s # GVariant *changed_properties, 1086s # const gchar *const *invalidated_properties) 1086s # { 1086s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1086s # guint n; 1086s # const gchar *key; 1086s # GVariantIter *iter; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # g_variant_get (changed_properties, "a{sv}", &iter); 1086s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1086s # g_datalist_remove_data (&proxy->priv->qdata, key); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # g_variant_iter_free (iter); 1086s # for (n = 0; invalidated_properties[n] != NULL; n++) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1086s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1086s # #else 1086s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1086s # #endif 1086s # 1086s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusProxyClass *proxy_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1086s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1086s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1086s # 1086s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1086s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1086s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_proxy_new: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_callable_iface_proxy_new ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # 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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_proxy_new_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectCallableIface * 1086s # org_project_callable_iface_proxy_new_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_proxy_new_sync: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectCallableIface * 1086s # org_project_callable_iface_proxy_new_sync ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /** 1086s # * org_project_callable_iface_proxy_new_for_bus: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1086s # * 1086s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # org_project_callable_iface_proxy_new_for_bus ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # 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); 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_proxy_new_for_bus_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectCallableIface * 1086s # org_project_callable_iface_proxy_new_for_bus_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_proxy_new_for_bus_sync: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # OrgProjectCallableIface * 1086s # org_project_callable_iface_proxy_new_for_bus_sync ( 1086s # GBusType bus_type, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * OrgProjectCallableIfaceSkeleton: 1086s # * 1086s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * OrgProjectCallableIfaceSkeletonClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1086s # */ 1086s # 1086s # struct _OrgProjectCallableIfaceSkeletonPrivate 1086s # { 1086s # GValue *properties; 1086s # GList *changed_properties; 1086s # GSource *changed_properties_idle_source; 1086s # GMainContext *context; 1086s # GMutex lock; 1086s # }; 1086s # 1086s # static void 1086s # _org_project_callable_iface_skeleton_handle_method_call ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name, 1086s # const gchar *method_name, 1086s # GVariant *parameters, 1086s # GDBusMethodInvocation *invocation, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1086s # _ExtendedGDBusMethodInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # guint num_extra; 1086s # gsize n; 1086s # guint signal_id; 1086s # GValue return_value = G_VALUE_INIT; 1086s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1086s # g_assert (info != NULL); 1086s # num_params = g_variant_n_children (parameters); 1086s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1086s # n = 0; 1086s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1086s # g_value_set_object (¶mv[n++], skeleton); 1086s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1086s # g_value_set_object (¶mv[n++], invocation); 1086s # if (info->pass_fdlist) 1086s # { 1086s # #ifdef G_OS_UNIX 1086s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1086s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1086s # #else 1086s # g_assert_not_reached (); 1086s # #endif 1086s # } 1086s # g_variant_iter_init (&iter, parameters); 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1086s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1086s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1086s # if (!g_value_get_boolean (&return_value)) 1086s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1086s # g_value_unset (&return_value); 1086s # for (n = 0; n < num_params + num_extra; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static GVariant * 1086s # _org_project_callable_iface_skeleton_handle_get_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # GVariant *ret; 1086s # ret = NULL; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # g_value_init (&value, pspec->value_type); 1086s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1086s # g_value_unset (&value); 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _org_project_callable_iface_skeleton_handle_set_property ( 1086s # GDBusConnection *connection G_GNUC_UNUSED, 1086s # const gchar *sender G_GNUC_UNUSED, 1086s # const gchar *object_path G_GNUC_UNUSED, 1086s # const gchar *interface_name G_GNUC_UNUSED, 1086s # const gchar *property_name, 1086s # GVariant *variant, 1086s # GError **error, 1086s # gpointer user_data) 1086s # { 1086s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1086s # GValue value = G_VALUE_INIT; 1086s # GParamSpec *pspec; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # gboolean ret; 1086s # ret = FALSE; 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1086s # g_assert (info != NULL); 1086s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1086s # if (pspec == NULL) 1086s # { 1086s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1086s # } 1086s # else 1086s # { 1086s # if (info->use_gvariant) 1086s # g_value_set_variant (&value, variant); 1086s # else 1086s # g_dbus_gvariant_to_gvalue (variant, &value); 1086s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1086s # g_value_unset (&value); 1086s # ret = TRUE; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1086s # { 1086s # _org_project_callable_iface_skeleton_handle_method_call, 1086s # _org_project_callable_iface_skeleton_handle_get_property, 1086s # _org_project_callable_iface_skeleton_handle_set_property, 1086s # {NULL} 1086s # }; 1086s # 1086s # static GDBusInterfaceInfo * 1086s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return org_project_callable_iface_interface_info (); 1086s # } 1086s # 1086s # static GDBusInterfaceVTable * 1086s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1086s # { 1086s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1086s # } 1086s # 1086s # static GVariant * 1086s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1086s # { 1086s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1086s # 1086s # GVariantBuilder builder; 1086s # guint n; 1086s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1086s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1086s # goto out; 1086s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1086s # { 1086s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1086s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1086s # { 1086s # GVariant *value; 1086s # 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); 1086s # if (value != NULL) 1086s # { 1086s # g_variant_take_ref (value); 1086s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1086s # g_variant_unref (value); 1086s # } 1086s # } 1086s # } 1086s # out: 1086s # return g_variant_builder_end (&builder); 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1086s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # org_project_callable_iface_skeleton_finalize (GObject *object) 1086s # { 1086s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1086s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1086s # if (skeleton->priv->changed_properties_idle_source != NULL) 1086s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1086s # g_main_context_unref (skeleton->priv->context); 1086s # g_mutex_clear (&skeleton->priv->lock); 1086s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1086s # #else 1086s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1086s # #endif 1086s # 1086s # g_mutex_init (&skeleton->priv->lock); 1086s # skeleton->priv->context = g_main_context_ref_thread_default (); 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusInterfaceSkeletonClass *skeleton_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1086s # 1086s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1086s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1086s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1086s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1086s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * org_project_callable_iface_skeleton_new: 1086s # * 1086s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1086s # * 1086s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1086s # */ 1086s # OrgProjectCallableIface * 1086s # org_project_callable_iface_skeleton_new (void) 1086s # { 1086s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1086s # } 1086s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 1086s # tmpdir: /tmp/tmp4vdz8h7a 1086s # codegen: /usr/bin/gdbus-codegen 1086s # /tmp/tmp4vdz8h7a/tmpya7fm_h2.xml: 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # 1086s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4vdz8h7a/tmpya7fm_h2.xml', '--output', '-', '--body'] 1086s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1086s # Output: /* 1086s # * This file is generated by gdbus-codegen, do not modify it. 1086s # * 1086s # * The license of this code is the same as for the D-Bus interface description 1086s # * it was derived from. Note that it links to GLib, so must comply with the 1086s # * LGPL linking clauses. 1086s # */ 1086s # 1086s # #ifdef HAVE_CONFIG_H 1086s # # include "config.h" 1086s # #endif 1086s # 1086s # #include 1086s # #ifdef G_OS_UNIX 1086s # # include 1086s # #endif 1086s # 1086s # #ifdef G_ENABLE_DEBUG 1086s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1086s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1086s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1086s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1086s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1086s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1086s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1086s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1086s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1086s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1086s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1086s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1086s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1086s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1086s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1086s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1086s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1086s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1086s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1086s # #else /* !G_ENABLE_DEBUG */ 1086s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1086s # * Do not access GValues directly in your code. Instead, use the 1086s # * g_value_get_*() functions 1086s # */ 1086s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1086s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1086s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1086s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1086s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1086s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1086s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1086s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1086s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1086s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1086s # #endif /* !G_ENABLE_DEBUG */ 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusArgInfo parent_struct; 1086s # gboolean use_gvariant; 1086s # } _ExtendedGDBusArgInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusMethodInfo parent_struct; 1086s # const gchar *signal_name; 1086s # gboolean pass_fdlist; 1086s # } _ExtendedGDBusMethodInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusSignalInfo parent_struct; 1086s # const gchar *signal_name; 1086s # } _ExtendedGDBusSignalInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusPropertyInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # guint use_gvariant : 1; 1086s # guint emits_changed_signal : 1; 1086s # } _ExtendedGDBusPropertyInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # GDBusInterfaceInfo parent_struct; 1086s # const gchar *hyphen_name; 1086s # } _ExtendedGDBusInterfaceInfo; 1086s # 1086s # typedef struct 1086s # { 1086s # const _ExtendedGDBusPropertyInfo *info; 1086s # guint prop_id; 1086s # GValue orig_value; /* the value before the change */ 1086s # } ChangedProperty; 1086s # 1086s # static void 1086s # _changed_property_free (ChangedProperty *data) 1086s # { 1086s # g_value_unset (&data->orig_value); 1086s # g_free (data); 1086s # } 1086s # 1086s # static gboolean 1086s # _g_strv_equal0 (gchar **a, gchar **b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # guint n; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # if (g_strv_length (a) != g_strv_length (b)) 1086s # goto out; 1086s # for (n = 0; a[n] != NULL; n++) 1086s # if (g_strcmp0 (a[n], b[n]) != 0) 1086s # goto out; 1086s # ret = TRUE; 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # static gboolean 1086s # _g_variant_equal0 (GVariant *a, GVariant *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # if (a == NULL && b == NULL) 1086s # { 1086s # ret = TRUE; 1086s # goto out; 1086s # } 1086s # if (a == NULL || b == NULL) 1086s # goto out; 1086s # ret = g_variant_equal (a, b); 1086s # out: 1086s # return ret; 1086s # } 1086s # 1086s # G_GNUC_UNUSED static gboolean 1086s # _g_value_equal (const GValue *a, const GValue *b) 1086s # { 1086s # gboolean ret = FALSE; 1086s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1086s # switch (G_VALUE_TYPE (a)) 1086s # { 1086s # case G_TYPE_BOOLEAN: 1086s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1086s # break; 1086s # case G_TYPE_UCHAR: 1086s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1086s # break; 1086s # case G_TYPE_INT: 1086s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1086s # break; 1086s # case G_TYPE_UINT: 1086s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1086s # break; 1086s # case G_TYPE_INT64: 1086s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1086s # break; 1086s # case G_TYPE_UINT64: 1086s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1086s # break; 1086s # case G_TYPE_DOUBLE: 1086s # { 1086s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1086s # gdouble da = g_value_get_double (a); 1086s # gdouble db = g_value_get_double (b); 1086s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1086s # } 1086s # break; 1086s # case G_TYPE_STRING: 1086s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1086s # break; 1086s # case G_TYPE_VARIANT: 1086s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1086s # break; 1086s # default: 1086s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1086s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1086s # else 1086s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1086s # break; 1086s # } 1086s # return ret; 1086s # } 1086s # 1086s # static void 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint G_GNUC_UNUSED, 1086s # void *marshal_data) 1086s # { 1086s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1086s # (void *data1, 1086s # GUnixFDList *arg_fd_list, 1086s # GDBusMethodInvocation *arg_method_invocation, 1086s # const gchar *arg_greeting, 1086s # void *data2); 1086s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 1086s # GCClosure *cc = (GCClosure*) closure; 1086s # void *data1, *data2; 1086s # gboolean v_return; 1086s # 1086s # g_return_if_fail (return_value != NULL); 1086s # g_return_if_fail (n_param_values == 4); 1086s # 1086s # if (G_CCLOSURE_SWAP_DATA (closure)) 1086s # { 1086s # data1 = closure->data; 1086s # data2 = g_value_peek_pointer (param_values + 0); 1086s # } 1086s # else 1086s # { 1086s # data1 = g_value_peek_pointer (param_values + 0); 1086s # data2 = closure->data; 1086s # } 1086s # 1086s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1086s # (marshal_data ? marshal_data : cc->callback); 1086s # 1086s # v_return = 1086s # callback (data1, 1086s # g_marshal_value_peek_object (param_values + 1), 1086s # g_marshal_value_peek_object (param_values + 2), 1086s # g_marshal_value_peek_string (param_values + 3), 1086s # data2); 1086s # 1086s # g_value_set_boolean (return_value, v_return); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ 1086s # * Code for interface test.FDPassing 1086s # * ------------------------------------------------------------------------ 1086s # */ 1086s # 1086s # /** 1086s # * SECTION:TestFDPassing 1086s # * @title: TestFDPassing 1086s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 1086s # * 1086s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 1086s # */ 1086s # 1086s # /* ---- Introspection data for test.FDPassing ---- */ 1086s # 1086s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "greeting", 1086s # (gchar *) "s", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 1086s # { 1086s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "response", 1086s # (gchar *) "s", 1086s # NULL 1086s # }, 1086s # FALSE 1086s # }; 1086s # 1086s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 1086s # { 1086s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "HelloFD", 1086s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 1086s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 1086s # NULL 1086s # }, 1086s # "handle-hello-fd", 1086s # TRUE 1086s # }; 1086s # 1086s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 1086s # { 1086s # &_test_fdpassing_method_info_hello_fd.parent_struct, 1086s # NULL 1086s # }; 1086s # 1086s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 1086s # { 1086s # { 1086s # -1, 1086s # (gchar *) "test.FDPassing", 1086s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 1086s # NULL, 1086s # NULL, 1086s # NULL 1086s # }, 1086s # "test-fdpassing", 1086s # }; 1086s # 1086s # 1086s # /** 1086s # * test_fdpassing_interface_info: 1086s # * 1086s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 1086s # * 1086s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1086s # */ 1086s # GDBusInterfaceInfo * 1086s # test_fdpassing_interface_info (void) 1086s # { 1086s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 1086s # } 1086s # 1086s # /** 1086s # * test_fdpassing_override_properties: 1086s # * @klass: The class structure for a #GObject derived class. 1086s # * @property_id_begin: The property id to assign to the first overridden property. 1086s # * 1086s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 1086s # * The properties are overridden in the order they are defined. 1086s # * 1086s # * Returns: The last property id. 1086s # */ 1086s # guint 1086s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1086s # { 1086s # return property_id_begin - 1; 1086s # } 1086s # 1086s # 1086s # inline static void 1086s # test_fdpassing_method_marshal_hello_fd ( 1086s # GClosure *closure, 1086s # GValue *return_value, 1086s # unsigned int n_param_values, 1086s # const GValue *param_values, 1086s # void *invocation_hint, 1086s # void *marshal_data) 1086s # { 1086s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 1086s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1086s # } 1086s # 1086s # 1086s # /** 1086s # * TestFDPassing: 1086s # * 1086s # * Abstract interface type for the D-Bus interface test.FDPassing. 1086s # */ 1086s # 1086s # /** 1086s # * TestFDPassingIface: 1086s # * @parent_iface: The parent interface. 1086s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 1086s # * 1086s # * Virtual table for the D-Bus interface test.FDPassing. 1086s # */ 1086s # 1086s # typedef TestFDPassingIface TestFDPassingInterface; 1086s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 1086s # 1086s # static void 1086s # test_fdpassing_default_init (TestFDPassingIface *iface) 1086s # { 1086s # /* GObject signals for incoming D-Bus method calls: */ 1086s # /** 1086s # * TestFDPassing::handle-hello-fd: 1086s # * @object: A #TestFDPassing. 1086s # * @invocation: A #GDBusMethodInvocation. 1086s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1086s # * @arg_greeting: Argument passed by remote caller. 1086s # * 1086s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 1086s # * 1086s # * 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. 1086s # * 1086s # * 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. 1086s # */ 1086s # g_signal_new ("handle-hello-fd", 1086s # G_TYPE_FROM_INTERFACE (iface), 1086s # G_SIGNAL_RUN_LAST, 1086s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 1086s # g_signal_accumulator_true_handled, 1086s # NULL, 1086s # test_fdpassing_method_marshal_hello_fd, 1086s # G_TYPE_BOOLEAN, 1086s # 3, 1086s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 1086s # 1086s # } 1086s # 1086s # /** 1086s # * test_fdpassing_call_hello_fd: 1086s # * @proxy: A #TestFDPassingProxy. 1086s # * @arg_greeting: Argument to pass with the method invocation. 1086s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 1086s # * 1086s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 1086s # */ 1086s # void 1086s # test_fdpassing_call_hello_fd ( 1086s # TestFDPassing *proxy, 1086s # const gchar *arg_greeting, 1086s # GUnixFDList *fd_list, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 1086s # "HelloFD", 1086s # g_variant_new ("(s)", 1086s # arg_greeting), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # fd_list, 1086s # cancellable, 1086s # callback, 1086s # user_data); 1086s # } 1086s # 1086s # /** 1086s # * test_fdpassing_call_hello_fd_finish: 1086s # * @proxy: A #TestFDPassingProxy. 1086s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # test_fdpassing_call_hello_fd_finish ( 1086s # TestFDPassing *proxy, 1086s # gchar **out_response, 1086s # GUnixFDList **out_fd_list, 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(s)", 1086s # out_response); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * test_fdpassing_call_hello_fd_sync: 1086s # * @proxy: A #TestFDPassingProxy. 1086s # * @arg_greeting: Argument to pass with the method invocation. 1086s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1086s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1086s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL. 1086s # * 1086s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1086s # * 1086s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 1086s # * 1086s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1086s # */ 1086s # gboolean 1086s # test_fdpassing_call_hello_fd_sync ( 1086s # TestFDPassing *proxy, 1086s # const gchar *arg_greeting, 1086s # GUnixFDList *fd_list, 1086s # gchar **out_response, 1086s # GUnixFDList **out_fd_list, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GVariant *_ret; 1086s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 1086s # "HelloFD", 1086s # g_variant_new ("(s)", 1086s # arg_greeting), 1086s # G_DBUS_CALL_FLAGS_NONE, 1086s # -1, 1086s # fd_list, 1086s # out_fd_list, 1086s # cancellable, 1086s # error); 1086s # if (_ret == NULL) 1086s # goto _out; 1086s # g_variant_get (_ret, 1086s # "(s)", 1086s # out_response); 1086s # g_variant_unref (_ret); 1086s # _out: 1086s # return _ret != NULL; 1086s # } 1086s # 1086s # /** 1086s # * test_fdpassing_complete_hello_fd: 1086s # * @object: A #TestFDPassing. 1086s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1086s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1086s # * @response: Parameter to return. 1086s # * 1086s # * 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. 1086s # * 1086s # * This method will free @invocation, you cannot use it afterwards. 1086s # */ 1086s # void 1086s # test_fdpassing_complete_hello_fd ( 1086s # TestFDPassing *object G_GNUC_UNUSED, 1086s # GDBusMethodInvocation *invocation, 1086s # GUnixFDList *fd_list, 1086s # const gchar *response) 1086s # { 1086s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 1086s # g_variant_new ("(s)", 1086s # response), 1086s # fd_list); 1086s # } 1086s # 1086s # /* ------------------------------------------------------------------------ */ 1086s # 1086s # /** 1086s # * TestFDPassingProxy: 1086s # * 1086s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 1086s # */ 1086s # 1086s # /** 1086s # * TestFDPassingProxyClass: 1086s # * @parent_class: The parent class. 1086s # * 1086s # * Class structure for #TestFDPassingProxy. 1086s # */ 1086s # 1086s # struct _TestFDPassingProxyPrivate 1086s # { 1086s # GData *qdata; 1086s # }; 1086s # 1086s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1086s # G_ADD_PRIVATE (TestFDPassingProxy) 1086s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1086s # 1086s # #else 1086s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1086s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1086s # 1086s # #endif 1086s # static void 1086s # test_fdpassing_proxy_finalize (GObject *object) 1086s # { 1086s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 1086s # g_datalist_clear (&proxy->priv->qdata); 1086s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 1086s # } 1086s # 1086s # static void 1086s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 1086s # guint prop_id G_GNUC_UNUSED, 1086s # const GValue *value G_GNUC_UNUSED, 1086s # GParamSpec *pspec G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # static void 1086s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 1086s # const gchar *sender_name G_GNUC_UNUSED, 1086s # const gchar *signal_name, 1086s # GVariant *parameters) 1086s # { 1086s # _ExtendedGDBusSignalInfo *info; 1086s # GVariantIter iter; 1086s # GVariant *child; 1086s # GValue *paramv; 1086s # gsize num_params; 1086s # gsize n; 1086s # guint signal_id; 1086s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 1086s # if (info == NULL) 1086s # return; 1086s # num_params = g_variant_n_children (parameters); 1086s # paramv = g_new0 (GValue, num_params + 1); 1086s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 1086s # g_value_set_object (¶mv[0], proxy); 1086s # g_variant_iter_init (&iter, parameters); 1086s # n = 1; 1086s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1086s # { 1086s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1086s # if (arg_info->use_gvariant) 1086s # { 1086s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1086s # g_value_set_variant (¶mv[n], child); 1086s # n++; 1086s # } 1086s # else 1086s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1086s # g_variant_unref (child); 1086s # } 1086s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1086s # g_signal_emitv (paramv, signal_id, 0, NULL); 1086s # for (n = 0; n < num_params + 1; n++) 1086s # g_value_unset (¶mv[n]); 1086s # g_free (paramv); 1086s # } 1086s # 1086s # static void 1086s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 1086s # GVariant *changed_properties, 1086s # const gchar *const *invalidated_properties) 1086s # { 1086s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 1086s # guint n; 1086s # const gchar *key; 1086s # GVariantIter *iter; 1086s # _ExtendedGDBusPropertyInfo *info; 1086s # g_variant_get (changed_properties, "a{sv}", &iter); 1086s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 1086s # g_datalist_remove_data (&proxy->priv->qdata, key); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # g_variant_iter_free (iter); 1086s # for (n = 0; invalidated_properties[n] != NULL; n++) 1086s # { 1086s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 1086s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1086s # if (info != NULL) 1086s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1086s # } 1086s # } 1086s # 1086s # static void 1086s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 1086s # { 1086s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1086s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 1086s # #else 1086s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 1086s # #endif 1086s # 1086s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 1086s # } 1086s # 1086s # static void 1086s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 1086s # { 1086s # GObjectClass *gobject_class; 1086s # GDBusProxyClass *proxy_class; 1086s # 1086s # gobject_class = G_OBJECT_CLASS (klass); 1086s # gobject_class->finalize = test_fdpassing_proxy_finalize; 1086s # gobject_class->get_property = test_fdpassing_proxy_get_property; 1086s # gobject_class->set_property = test_fdpassing_proxy_set_property; 1086s # 1086s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1086s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 1086s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 1086s # 1086s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1086s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 1086s # #endif 1086s # } 1086s # 1086s # static void 1086s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1086s # { 1086s # } 1086s # 1086s # /** 1086s # * test_fdpassing_proxy_new: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 1086s # * 1086s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1086s # test_fdpassing_proxy_new ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GAsyncReadyCallback callback, 1086s # gpointer user_data) 1086s # { 1086s # 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); 1086s # } 1086s # 1086s # /** 1086s # * test_fdpassing_proxy_new_finish: 1086s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Finishes an operation started with test_fdpassing_proxy_new(). 1086s # * 1086s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # TestFDPassing * 1086s # test_fdpassing_proxy_new_finish ( 1086s # GAsyncResult *res, 1086s # GError **error) 1086s # { 1086s # GObject *ret; 1086s # GObject *source_object; 1086s # source_object = g_async_result_get_source_object (res); 1086s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1086s # g_object_unref (source_object); 1086s # if (ret != NULL) 1086s # return TEST_FDPASSING (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # /** 1086s # * test_fdpassing_proxy_new_sync: 1086s # * @connection: A #GDBusConnection. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @error: Return location for error or %NULL 1086s # * 1086s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 1086s # * 1086s # * The calling thread is blocked until a reply is received. 1086s # * 1086s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 1086s # * 1086s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1086s # */ 1086s # TestFDPassing * 1086s # test_fdpassing_proxy_new_sync ( 1086s # GDBusConnection *connection, 1086s # GDBusProxyFlags flags, 1086s # const gchar *name, 1086s # const gchar *object_path, 1086s # GCancellable *cancellable, 1086s # GError **error) 1086s # { 1086s # GInitable *ret; 1086s # 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); 1086s # if (ret != NULL) 1086s # return TEST_FDPASSING (ret); 1086s # else 1086s # return NULL; 1086s # } 1086s # 1086s # 1086s # /** 1086s # * test_fdpassing_proxy_new_for_bus: 1086s # * @bus_type: A #GBusType. 1086s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1086s # * @name: A bus name (well-known or unique). 1086s # * @object_path: An object path. 1086s # * @cancellable: (nullable): A #GCancellable or %NULL. 1086s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1086s # * @user_data: User data to pass to @callback. 1086s # * 1086s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1086s # * 1086s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1086s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 1086s # * 1086s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1086s # */ 1086s # void 1087s # test_fdpassing_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # 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); 1087s # } 1087s # 1087s # /** 1087s # * test_fdpassing_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # TestFDPassing * 1087s # test_fdpassing_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return TEST_FDPASSING (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * test_fdpassing_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # TestFDPassing * 1087s # test_fdpassing_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return TEST_FDPASSING (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * TestFDPassingSkeleton: 1087s # * 1087s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * TestFDPassingSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #TestFDPassingSkeleton. 1087s # */ 1087s # 1087s # struct _TestFDPassingSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _test_fdpassing_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _test_fdpassing_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # GVariant *ret; 1087s # ret = NULL; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # g_value_init (&value, pspec->value_type); 1087s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1087s # g_value_unset (&value); 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _test_fdpassing_skeleton_handle_set_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GVariant *variant, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # gboolean ret; 1087s # ret = FALSE; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # if (info->use_gvariant) 1087s # g_value_set_variant (&value, variant); 1087s # else 1087s # g_dbus_gvariant_to_gvalue (variant, &value); 1087s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # g_value_unset (&value); 1087s # ret = TRUE; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 1087s # { 1087s # _test_fdpassing_skeleton_handle_method_call, 1087s # _test_fdpassing_skeleton_handle_get_property, 1087s # _test_fdpassing_skeleton_handle_set_property, 1087s # {NULL} 1087s # }; 1087s # 1087s # static GDBusInterfaceInfo * 1087s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return test_fdpassing_interface_info (); 1087s # } 1087s # 1087s # static GDBusInterfaceVTable * 1087s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 1087s # } 1087s # 1087s # static GVariant * 1087s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1087s # { 1087s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 1087s # 1087s # GVariantBuilder builder; 1087s # guint n; 1087s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 1087s # goto out; 1087s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 1087s # { 1087s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 1087s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1087s # { 1087s # GVariant *value; 1087s # 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); 1087s # if (value != NULL) 1087s # { 1087s # g_variant_take_ref (value); 1087s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1087s # g_variant_unref (value); 1087s # } 1087s # } 1087s # } 1087s # out: 1087s # return g_variant_builder_end (&builder); 1087s # } 1087s # 1087s # static void 1087s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_ADD_PRIVATE (TestFDPassingSkeleton) 1087s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # test_fdpassing_skeleton_finalize (GObject *object) 1087s # { 1087s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 1087s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1087s # if (skeleton->priv->changed_properties_idle_source != NULL) 1087s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1087s # g_main_context_unref (skeleton->priv->context); 1087s # g_mutex_clear (&skeleton->priv->lock); 1087s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 1087s # #else 1087s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 1087s # #endif 1087s # 1087s # g_mutex_init (&skeleton->priv->lock); 1087s # skeleton->priv->context = g_main_context_ref_thread_default (); 1087s # } 1087s # 1087s # static void 1087s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusInterfaceSkeletonClass *skeleton_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 1087s # 1087s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1087s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 1087s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 1087s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 1087s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * test_fdpassing_skeleton_new: 1087s # * 1087s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 1087s # * 1087s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 1087s # */ 1087s # TestFDPassing * 1087s # test_fdpassing_skeleton_new (void) 1087s # { 1087s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 1087s # } 1087s ok 15 __main__.TestCodegen.test_generate_rst 1087s # tmpdir: /tmp/tmpbmwqmtpv 1087s # codegen: /usr/bin/gdbus-codegen 1087s # /tmp/tmpbmwqmtpv/tmp5bpda9bq.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbmwqmtpv/tmp5bpda9bq.xml', '--generate-rst', 'test'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: 1087s ok 16 __main__.TestCodegen.test_generate_rst_method 1087s # tmpdir: /tmp/tmp_xv_qfes 1087s # codegen: /usr/bin/gdbus-codegen 1087s # /tmp/tmp_xv_qfes/tmp4_d4a0ot.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_xv_qfes/tmp4_d4a0ot.xml', '--generate-rst', 'test'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: 1087s ok 17 __main__.TestCodegen.test_generate_rst_property 1087s # tmpdir: /tmp/tmp1ogd1q4x 1087s # codegen: /usr/bin/gdbus-codegen 1087s # /tmp/tmp1ogd1q4x/tmp4v1i80ky.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1ogd1q4x/tmp4v1i80ky.xml', '--generate-rst', 'test'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: 1087s ok 18 __main__.TestCodegen.test_generate_rst_signal 1087s # tmpdir: /tmp/tmp83zd7obk 1087s # codegen: /usr/bin/gdbus-codegen 1087s # /tmp/tmp83zd7obk/tmpk807v3lr.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp83zd7obk/tmpk807v3lr.xml', '--generate-rst', 'test'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: 1087s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 1087s # tmpdir: /tmp/tmp35fjh_rj 1087s # codegen: /usr/bin/gdbus-codegen 1087s # /tmp/tmp35fjh_rj/tmpvkrtdp6c.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp35fjh_rj/tmpvkrtdp6c.xml', '--output', '-', '--body'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: /* 1087s # * This file is generated by gdbus-codegen, do not modify it. 1087s # * 1087s # * The license of this code is the same as for the D-Bus interface description 1087s # * it was derived from. Note that it links to GLib, so must comply with the 1087s # * LGPL linking clauses. 1087s # */ 1087s # 1087s # #ifdef HAVE_CONFIG_H 1087s # # include "config.h" 1087s # #endif 1087s # 1087s # #include 1087s # #ifdef G_OS_UNIX 1087s # # include 1087s # #endif 1087s # 1087s # #ifdef G_ENABLE_DEBUG 1087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1087s # #else /* !G_ENABLE_DEBUG */ 1087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1087s # * Do not access GValues directly in your code. Instead, use the 1087s # * g_value_get_*() functions 1087s # */ 1087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1087s # #endif /* !G_ENABLE_DEBUG */ 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusArgInfo parent_struct; 1087s # gboolean use_gvariant; 1087s # } _ExtendedGDBusArgInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusMethodInfo parent_struct; 1087s # const gchar *signal_name; 1087s # gboolean pass_fdlist; 1087s # } _ExtendedGDBusMethodInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusSignalInfo parent_struct; 1087s # const gchar *signal_name; 1087s # } _ExtendedGDBusSignalInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusPropertyInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # guint use_gvariant : 1; 1087s # guint emits_changed_signal : 1; 1087s # } _ExtendedGDBusPropertyInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusInterfaceInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # } _ExtendedGDBusInterfaceInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # const _ExtendedGDBusPropertyInfo *info; 1087s # guint prop_id; 1087s # GValue orig_value; /* the value before the change */ 1087s # } ChangedProperty; 1087s # 1087s # static void 1087s # _changed_property_free (ChangedProperty *data) 1087s # { 1087s # g_value_unset (&data->orig_value); 1087s # g_free (data); 1087s # } 1087s # 1087s # static gboolean 1087s # _g_strv_equal0 (gchar **a, gchar **b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # guint n; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # if (g_strv_length (a) != g_strv_length (b)) 1087s # goto out; 1087s # for (n = 0; a[n] != NULL; n++) 1087s # if (g_strcmp0 (a[n], b[n]) != 0) 1087s # goto out; 1087s # ret = TRUE; 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _g_variant_equal0 (GVariant *a, GVariant *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # ret = g_variant_equal (a, b); 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # G_GNUC_UNUSED static gboolean 1087s # _g_value_equal (const GValue *a, const GValue *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1087s # switch (G_VALUE_TYPE (a)) 1087s # { 1087s # case G_TYPE_BOOLEAN: 1087s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1087s # break; 1087s # case G_TYPE_UCHAR: 1087s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1087s # break; 1087s # case G_TYPE_INT: 1087s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1087s # break; 1087s # case G_TYPE_UINT: 1087s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1087s # break; 1087s # case G_TYPE_INT64: 1087s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1087s # break; 1087s # case G_TYPE_UINT64: 1087s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1087s # break; 1087s # case G_TYPE_DOUBLE: 1087s # { 1087s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1087s # gdouble da = g_value_get_double (a); 1087s # gdouble db = g_value_get_double (b); 1087s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1087s # } 1087s # break; 1087s # case G_TYPE_STRING: 1087s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1087s # break; 1087s # case G_TYPE_VARIANT: 1087s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1087s # break; 1087s # default: 1087s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1087s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1087s # else 1087s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1087s # break; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static void 1087s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1087s # GClosure *closure, 1087s # GValue *return_value G_GNUC_UNUSED, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint G_GNUC_UNUSED, 1087s # void *marshal_data) 1087s # { 1087s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1087s # (void *data1, 1087s # gboolean arg_an_b, 1087s # guchar arg_an_y, 1087s # gint16 arg_an_n, 1087s # guint16 arg_an_q, 1087s # gint arg_an_i, 1087s # guint arg_an_u, 1087s # gint64 arg_an_x, 1087s # guint64 arg_an_t, 1087s # gdouble arg_an_d, 1087s # const gchar *arg_an_s, 1087s # const gchar *arg_an_o, 1087s # const gchar *arg_an_g, 1087s # GVariant *arg_an_h, 1087s # const gchar *arg_an_ay, 1087s # const gchar *const *arg_an_as, 1087s # const gchar *const *arg_an_ao, 1087s # const gchar *const *arg_an_aay, 1087s # GVariant *arg_an_asv, 1087s # void *data2); 1087s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1087s # GCClosure *cc = (GCClosure*) closure; 1087s # void *data1, *data2; 1087s # 1087s # g_return_if_fail (n_param_values == 19); 1087s # 1087s # if (G_CCLOSURE_SWAP_DATA (closure)) 1087s # { 1087s # data1 = closure->data; 1087s # data2 = g_value_peek_pointer (param_values + 0); 1087s # } 1087s # else 1087s # { 1087s # data1 = g_value_peek_pointer (param_values + 0); 1087s # data2 = closure->data; 1087s # } 1087s # 1087s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1087s # (marshal_data ? marshal_data : cc->callback); 1087s # 1087s # callback (data1, 1087s # g_marshal_value_peek_boolean (param_values + 1), 1087s # g_marshal_value_peek_uchar (param_values + 2), 1087s # g_marshal_value_peek_int (param_values + 3), 1087s # g_marshal_value_peek_uint (param_values + 4), 1087s # g_marshal_value_peek_int (param_values + 5), 1087s # g_marshal_value_peek_uint (param_values + 6), 1087s # g_marshal_value_peek_int64 (param_values + 7), 1087s # g_marshal_value_peek_uint64 (param_values + 8), 1087s # g_marshal_value_peek_double (param_values + 9), 1087s # g_marshal_value_peek_string (param_values + 10), 1087s # g_marshal_value_peek_string (param_values + 11), 1087s # g_marshal_value_peek_string (param_values + 12), 1087s # g_marshal_value_peek_variant (param_values + 13), 1087s # g_marshal_value_peek_string (param_values + 14), 1087s # g_marshal_value_peek_boxed (param_values + 15), 1087s # g_marshal_value_peek_boxed (param_values + 16), 1087s # g_marshal_value_peek_boxed (param_values + 17), 1087s # g_marshal_value_peek_variant (param_values + 18), 1087s # data2); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.SignalingIface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectSignalingIface 1087s # * @title: OrgProjectSignalingIface 1087s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1087s # */ 1087s # 1087s # enum 1087s # { 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1087s # }; 1087s # 1087s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1087s # 1087s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_b", 1087s # (gchar *) "b", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_y", 1087s # (gchar *) "y", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_n", 1087s # (gchar *) "n", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_q", 1087s # (gchar *) "q", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_i", 1087s # (gchar *) "i", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_u", 1087s # (gchar *) "u", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_x", 1087s # (gchar *) "x", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_t", 1087s # (gchar *) "t", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_d", 1087s # (gchar *) "d", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_s", 1087s # (gchar *) "s", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_o", 1087s # (gchar *) "o", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_g", 1087s # (gchar *) "g", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_h", 1087s # (gchar *) "h", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_ay", 1087s # (gchar *) "ay", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_as", 1087s # (gchar *) "as", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_ao", 1087s # (gchar *) "ao", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_aay", 1087s # (gchar *) "aay", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_asv", 1087s # (gchar *) "a{sv}", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SignalWithManyArgs", 1087s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1087s # NULL 1087s # }, 1087s # "signal-with-many-args" 1087s # }; 1087s # 1087s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.SignalingIface", 1087s # NULL, 1087s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-signaling-iface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_signaling_iface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_signaling_iface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceIface: 1087s # * @parent_iface: The parent interface. 1087s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1087s # * 1087s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1087s # */ 1087s # 1087s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1087s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1087s # 1087s # static void 1087s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1087s # { 1087s # /* GObject signals for received D-Bus signals: */ 1087s # /** 1087s # * OrgProjectSignalingIface::signal-with-many-args: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_b: Argument. 1087s # * @arg_an_y: Argument. 1087s # * @arg_an_n: Argument. 1087s # * @arg_an_q: Argument. 1087s # * @arg_an_i: Argument. 1087s # * @arg_an_u: Argument. 1087s # * @arg_an_x: Argument. 1087s # * @arg_an_t: Argument. 1087s # * @arg_an_d: Argument. 1087s # * @arg_an_s: Argument. 1087s # * @arg_an_o: Argument. 1087s # * @arg_an_g: Argument. 1087s # * @arg_an_h: Argument. 1087s # * @arg_an_ay: Argument. 1087s # * @arg_an_as: Argument. 1087s # * @arg_an_ao: Argument. 1087s # * @arg_an_aay: Argument. 1087s # * @arg_an_asv: Argument. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1087s # g_signal_new ("signal-with-many-args", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1087s # G_TYPE_NONE, 1087s # 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); 1087s # 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_signal_with_many_args: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_b: Argument to pass with the signal. 1087s # * @arg_an_y: Argument to pass with the signal. 1087s # * @arg_an_n: Argument to pass with the signal. 1087s # * @arg_an_q: Argument to pass with the signal. 1087s # * @arg_an_i: Argument to pass with the signal. 1087s # * @arg_an_u: Argument to pass with the signal. 1087s # * @arg_an_x: Argument to pass with the signal. 1087s # * @arg_an_t: Argument to pass with the signal. 1087s # * @arg_an_d: Argument to pass with the signal. 1087s # * @arg_an_s: Argument to pass with the signal. 1087s # * @arg_an_o: Argument to pass with the signal. 1087s # * @arg_an_g: Argument to pass with the signal. 1087s # * @arg_an_h: Argument to pass with the signal. 1087s # * @arg_an_ay: Argument to pass with the signal. 1087s # * @arg_an_as: Argument to pass with the signal. 1087s # * @arg_an_ao: Argument to pass with the signal. 1087s # * @arg_an_aay: Argument to pass with the signal. 1087s # * @arg_an_asv: Argument to pass with the signal. 1087s # * 1087s # * Emits the "SignalWithManyArgs" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_signal_with_many_args ( 1087s # OrgProjectSignalingIface *object, 1087s # gboolean arg_an_b, 1087s # guchar arg_an_y, 1087s # gint16 arg_an_n, 1087s # guint16 arg_an_q, 1087s # gint arg_an_i, 1087s # guint arg_an_u, 1087s # gint64 arg_an_x, 1087s # guint64 arg_an_t, 1087s # gdouble arg_an_d, 1087s # const gchar *arg_an_s, 1087s # const gchar *arg_an_o, 1087s # const gchar *arg_an_g, 1087s # GVariant *arg_an_h, 1087s # const gchar *arg_an_ay, 1087s # const gchar *const *arg_an_as, 1087s # const gchar *const *arg_an_ao, 1087s # const gchar *const *arg_an_aay, 1087s # GVariant *arg_an_asv) 1087s # { 1087s # 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); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceProxy: 1087s # * 1087s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceProxyClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectSignalingIfaceProxy. 1087s # */ 1087s # 1087s # struct _OrgProjectSignalingIfaceProxyPrivate 1087s # { 1087s # GData *qdata; 1087s # }; 1087s # 1087s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_signaling_iface_proxy_finalize (GObject *object) 1087s # { 1087s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1087s # g_datalist_clear (&proxy->priv->qdata); 1087s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # const GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1087s # const gchar *sender_name G_GNUC_UNUSED, 1087s # const gchar *signal_name, 1087s # GVariant *parameters) 1087s # { 1087s # _ExtendedGDBusSignalInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # gsize n; 1087s # guint signal_id; 1087s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1087s # if (info == NULL) 1087s # return; 1087s # num_params = g_variant_n_children (parameters); 1087s # paramv = g_new0 (GValue, num_params + 1); 1087s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_set_object (¶mv[0], proxy); 1087s # g_variant_iter_init (&iter, parameters); 1087s # n = 1; 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_signal_emitv (paramv, signal_id, 0, NULL); 1087s # for (n = 0; n < num_params + 1; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1087s # GVariant *changed_properties, 1087s # const gchar *const *invalidated_properties) 1087s # { 1087s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1087s # guint n; 1087s # const gchar *key; 1087s # GVariantIter *iter; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # g_variant_get (changed_properties, "a{sv}", &iter); 1087s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1087s # g_datalist_remove_data (&proxy->priv->qdata, key); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # g_variant_iter_free (iter); 1087s # for (n = 0; invalidated_properties[n] != NULL; n++) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1087s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1087s # #else 1087s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1087s # #endif 1087s # 1087s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusProxyClass *proxy_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1087s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1087s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1087s # 1087s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1087s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1087s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_proxy_new ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # 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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_sync: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_sync ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # 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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceSkeleton: 1087s # * 1087s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1087s # */ 1087s # 1087s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _org_project_signaling_iface_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _org_project_signaling_iface_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # GVariant *ret; 1087s # ret = NULL; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # g_value_init (&value, pspec->value_type); 1087s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1087s # g_value_unset (&value); 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _org_project_signaling_iface_skeleton_handle_set_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GVariant *variant, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # gboolean ret; 1087s # ret = FALSE; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # if (info->use_gvariant) 1087s # g_value_set_variant (&value, variant); 1087s # else 1087s # g_dbus_gvariant_to_gvalue (variant, &value); 1087s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # g_value_unset (&value); 1087s # ret = TRUE; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1087s # { 1087s # _org_project_signaling_iface_skeleton_handle_method_call, 1087s # _org_project_signaling_iface_skeleton_handle_get_property, 1087s # _org_project_signaling_iface_skeleton_handle_set_property, 1087s # {NULL} 1087s # }; 1087s # 1087s # static GDBusInterfaceInfo * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return org_project_signaling_iface_interface_info (); 1087s # } 1087s # 1087s # static GDBusInterfaceVTable * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1087s # } 1087s # 1087s # static GVariant * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1087s # 1087s # GVariantBuilder builder; 1087s # guint n; 1087s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1087s # goto out; 1087s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1087s # { 1087s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1087s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1087s # { 1087s # GVariant *value; 1087s # 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); 1087s # if (value != NULL) 1087s # { 1087s # g_variant_take_ref (value); 1087s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1087s # g_variant_unref (value); 1087s # } 1087s # } 1087s # } 1087s # out: 1087s # return g_variant_builder_end (&builder); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1087s # OrgProjectSignalingIface *object, 1087s # gboolean arg_an_b, 1087s # guchar arg_an_y, 1087s # gint16 arg_an_n, 1087s # guint16 arg_an_q, 1087s # gint arg_an_i, 1087s # guint arg_an_u, 1087s # gint64 arg_an_x, 1087s # guint64 arg_an_t, 1087s # gdouble arg_an_d, 1087s # const gchar *arg_an_s, 1087s # const gchar *arg_an_o, 1087s # const gchar *arg_an_g, 1087s # GVariant *arg_an_h, 1087s # const gchar *arg_an_ay, 1087s # const gchar *const *arg_an_as, 1087s # const gchar *const *arg_an_ao, 1087s # const gchar *const *arg_an_aay, 1087s # GVariant *arg_an_asv) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1087s # arg_an_b, 1087s # arg_an_y, 1087s # arg_an_n, 1087s # arg_an_q, 1087s # arg_an_i, 1087s # arg_an_u, 1087s # arg_an_x, 1087s # arg_an_t, 1087s # arg_an_d, 1087s # arg_an_s, 1087s # arg_an_o, 1087s # arg_an_g, 1087s # arg_an_h, 1087s # arg_an_ay, 1087s # arg_an_as, 1087s # arg_an_ao, 1087s # arg_an_aay, 1087s # arg_an_asv)); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1087s # if (skeleton->priv->changed_properties_idle_source != NULL) 1087s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1087s # g_main_context_unref (skeleton->priv->context); 1087s # g_mutex_clear (&skeleton->priv->lock); 1087s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1087s # #else 1087s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1087s # #endif 1087s # 1087s # g_mutex_init (&skeleton->priv->lock); 1087s # skeleton->priv->context = g_main_context_ref_thread_default (); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusInterfaceSkeletonClass *skeleton_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1087s # 1087s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1087s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1087s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1087s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1087s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1087s # { 1087s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_skeleton_new: 1087s # * 1087s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_skeleton_new (void) 1087s # { 1087s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1087s # } 1087s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 1087s # tmpdir: /tmp/tmpty8qvt8k 1087s # codegen: /usr/bin/gdbus-codegen 1087s # /tmp/tmpty8qvt8k/tmpaux5ti_q.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpty8qvt8k/tmpaux5ti_q.xml', '--output', '-', '--body'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: /* 1087s # * This file is generated by gdbus-codegen, do not modify it. 1087s # * 1087s # * The license of this code is the same as for the D-Bus interface description 1087s # * it was derived from. Note that it links to GLib, so must comply with the 1087s # * LGPL linking clauses. 1087s # */ 1087s # 1087s # #ifdef HAVE_CONFIG_H 1087s # # include "config.h" 1087s # #endif 1087s # 1087s # #include 1087s # #ifdef G_OS_UNIX 1087s # # include 1087s # #endif 1087s # 1087s # #ifdef G_ENABLE_DEBUG 1087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1087s # #else /* !G_ENABLE_DEBUG */ 1087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1087s # * Do not access GValues directly in your code. Instead, use the 1087s # * g_value_get_*() functions 1087s # */ 1087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1087s # #endif /* !G_ENABLE_DEBUG */ 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusArgInfo parent_struct; 1087s # gboolean use_gvariant; 1087s # } _ExtendedGDBusArgInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusMethodInfo parent_struct; 1087s # const gchar *signal_name; 1087s # gboolean pass_fdlist; 1087s # } _ExtendedGDBusMethodInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusSignalInfo parent_struct; 1087s # const gchar *signal_name; 1087s # } _ExtendedGDBusSignalInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusPropertyInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # guint use_gvariant : 1; 1087s # guint emits_changed_signal : 1; 1087s # } _ExtendedGDBusPropertyInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusInterfaceInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # } _ExtendedGDBusInterfaceInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # const _ExtendedGDBusPropertyInfo *info; 1087s # guint prop_id; 1087s # GValue orig_value; /* the value before the change */ 1087s # } ChangedProperty; 1087s # 1087s # static void 1087s # _changed_property_free (ChangedProperty *data) 1087s # { 1087s # g_value_unset (&data->orig_value); 1087s # g_free (data); 1087s # } 1087s # 1087s # static gboolean 1087s # _g_strv_equal0 (gchar **a, gchar **b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # guint n; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # if (g_strv_length (a) != g_strv_length (b)) 1087s # goto out; 1087s # for (n = 0; a[n] != NULL; n++) 1087s # if (g_strcmp0 (a[n], b[n]) != 0) 1087s # goto out; 1087s # ret = TRUE; 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _g_variant_equal0 (GVariant *a, GVariant *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # ret = g_variant_equal (a, b); 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # G_GNUC_UNUSED static gboolean 1087s # _g_value_equal (const GValue *a, const GValue *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1087s # switch (G_VALUE_TYPE (a)) 1087s # { 1087s # case G_TYPE_BOOLEAN: 1087s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1087s # break; 1087s # case G_TYPE_UCHAR: 1087s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1087s # break; 1087s # case G_TYPE_INT: 1087s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1087s # break; 1087s # case G_TYPE_UINT: 1087s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1087s # break; 1087s # case G_TYPE_INT64: 1087s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1087s # break; 1087s # case G_TYPE_UINT64: 1087s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1087s # break; 1087s # case G_TYPE_DOUBLE: 1087s # { 1087s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1087s # gdouble da = g_value_get_double (a); 1087s # gdouble db = g_value_get_double (b); 1087s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1087s # } 1087s # break; 1087s # case G_TYPE_STRING: 1087s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1087s # break; 1087s # case G_TYPE_VARIANT: 1087s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1087s # break; 1087s # default: 1087s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1087s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1087s # else 1087s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1087s # break; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static void 1087s # _g_dbus_codegen_marshal_VOID__INT64 ( 1087s # GClosure *closure, 1087s # GValue *return_value G_GNUC_UNUSED, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint G_GNUC_UNUSED, 1087s # void *marshal_data) 1087s # { 1087s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1087s # (void *data1, 1087s # gint64 arg_an_x, 1087s # void *data2); 1087s # _GDbusCodegenMarshalVoid_Int64Func callback; 1087s # GCClosure *cc = (GCClosure*) closure; 1087s # void *data1, *data2; 1087s # 1087s # g_return_if_fail (n_param_values == 2); 1087s # 1087s # if (G_CCLOSURE_SWAP_DATA (closure)) 1087s # { 1087s # data1 = closure->data; 1087s # data2 = g_value_peek_pointer (param_values + 0); 1087s # } 1087s # else 1087s # { 1087s # data1 = g_value_peek_pointer (param_values + 0); 1087s # data2 = closure->data; 1087s # } 1087s # 1087s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1087s # (marshal_data ? marshal_data : cc->callback); 1087s # 1087s # callback (data1, 1087s # g_marshal_value_peek_int64 (param_values + 1), 1087s # data2); 1087s # } 1087s # 1087s # static void 1087s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1087s # GClosure *closure, 1087s # GValue *return_value G_GNUC_UNUSED, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint G_GNUC_UNUSED, 1087s # void *marshal_data) 1087s # { 1087s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1087s # (void *data1, 1087s # guint64 arg_an_t, 1087s # void *data2); 1087s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1087s # GCClosure *cc = (GCClosure*) closure; 1087s # void *data1, *data2; 1087s # 1087s # g_return_if_fail (n_param_values == 2); 1087s # 1087s # if (G_CCLOSURE_SWAP_DATA (closure)) 1087s # { 1087s # data1 = closure->data; 1087s # data2 = g_value_peek_pointer (param_values + 0); 1087s # } 1087s # else 1087s # { 1087s # data1 = g_value_peek_pointer (param_values + 0); 1087s # data2 = closure->data; 1087s # } 1087s # 1087s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1087s # (marshal_data ? marshal_data : cc->callback); 1087s # 1087s # callback (data1, 1087s # g_marshal_value_peek_uint64 (param_values + 1), 1087s # data2); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.SignalingIface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectSignalingIface 1087s # * @title: OrgProjectSignalingIface 1087s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1087s # */ 1087s # 1087s # enum 1087s # { 1087s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 1087s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1087s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1087s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1087s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1087s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1087s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1087s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1087s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1087s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1087s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1087s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1087s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1087s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1087s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1087s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1087s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1087s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1087s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1087s # }; 1087s # 1087s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 1087s # 1087s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "NoArgSignal", 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "no-arg-signal" 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_b", 1087s # (gchar *) "b", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgSignalB", 1087s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1087s # NULL 1087s # }, 1087s # "single-arg-signal-b" 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_y", 1087s # (gchar *) "y", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgSignalY", 1087s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1087s # NULL 1087s # }, 1087s # "single-arg-signal-y" 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_n", 1087s # (gchar *) "n", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgSignalN", 1087s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1087s # NULL 1087s # }, 1087s # "single-arg-signal-n" 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_q", 1087s # (gchar *) "q", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgSignalQ", 1087s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1087s # NULL 1087s # }, 1087s # "single-arg-signal-q" 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_i", 1087s # (gchar *) "i", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgSignalI", 1087s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1087s # NULL 1087s # }, 1087s # "single-arg-signal-i" 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_u", 1087s # (gchar *) "u", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgSignalU", 1087s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1087s # NULL 1087s # }, 1087s # "single-arg-signal-u" 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_x", 1087s # (gchar *) "x", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgSignalX", 1087s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1087s # NULL 1087s # }, 1087s # "single-arg-signal-x" 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_t", 1087s # (gchar *) "t", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgSignalT", 1087s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1087s # NULL 1087s # }, 1087s # "single-arg-signal-t" 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_d", 1087s # (gchar *) "d", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgSignalD", 1087s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1087s # NULL 1087s # }, 1087s # "single-arg-signal-d" 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_s", 1087s # (gchar *) "s", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgSignalS", 1087s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1087s # NULL 1087s # }, 1087s # "single-arg-signal-s" 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_o", 1087s # (gchar *) "o", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgSignalO", 1087s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1087s # NULL 1087s # }, 1087s # "single-arg-signal-o" 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_g", 1087s # (gchar *) "g", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgSignalG", 1087s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1087s # NULL 1087s # }, 1087s # "single-arg-signal-g" 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_h", 1087s # (gchar *) "h", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgSignalH", 1087s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1087s # NULL 1087s # }, 1087s # "single-arg-signal-h" 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_ay", 1087s # (gchar *) "ay", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgSignalAY", 1087s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1087s # NULL 1087s # }, 1087s # "single-arg-signal-ay" 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_as", 1087s # (gchar *) "as", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgSignalAS", 1087s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1087s # NULL 1087s # }, 1087s # "single-arg-signal-as" 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_ao", 1087s # (gchar *) "ao", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgSignalAO", 1087s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1087s # NULL 1087s # }, 1087s # "single-arg-signal-ao" 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_aay", 1087s # (gchar *) "aay", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgSignalAAY", 1087s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1087s # NULL 1087s # }, 1087s # "single-arg-signal-aay" 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "an_asv", 1087s # (gchar *) "a{sv}", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgSignalASV", 1087s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1087s # NULL 1087s # }, 1087s # "single-arg-signal-asv" 1087s # }; 1087s # 1087s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.SignalingIface", 1087s # NULL, 1087s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-signaling-iface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_signaling_iface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_signaling_iface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__VOID (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__UCHAR (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__INT (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__UINT (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__INT (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__UINT (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__DOUBLE (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__STRING (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__STRING (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__STRING (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__VARIANT (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__STRING (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__BOXED (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__BOXED (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__BOXED (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__VARIANT (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceIface: 1087s # * @parent_iface: The parent interface. 1087s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 1087s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1087s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1087s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1087s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1087s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1087s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1087s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1087s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1087s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1087s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1087s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1087s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1087s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1087s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1087s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1087s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1087s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1087s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1087s # * 1087s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1087s # */ 1087s # 1087s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1087s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1087s # 1087s # static void 1087s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1087s # { 1087s # /* GObject signals for received D-Bus signals: */ 1087s # /** 1087s # * OrgProjectSignalingIface::no-arg-signal: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 1087s # g_signal_new ("no-arg-signal", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_no_arg_signal, 1087s # G_TYPE_NONE, 1087s # 0); 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface::single-arg-signal-b: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_b: Argument. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1087s # g_signal_new ("single-arg-signal-b", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1087s # G_TYPE_NONE, 1087s # 1, G_TYPE_BOOLEAN); 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface::single-arg-signal-y: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_y: Argument. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1087s # g_signal_new ("single-arg-signal-y", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1087s # G_TYPE_NONE, 1087s # 1, G_TYPE_UCHAR); 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface::single-arg-signal-n: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_n: Argument. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1087s # g_signal_new ("single-arg-signal-n", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1087s # G_TYPE_NONE, 1087s # 1, G_TYPE_INT); 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface::single-arg-signal-q: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_q: Argument. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1087s # g_signal_new ("single-arg-signal-q", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1087s # G_TYPE_NONE, 1087s # 1, G_TYPE_UINT); 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface::single-arg-signal-i: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_i: Argument. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1087s # g_signal_new ("single-arg-signal-i", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1087s # G_TYPE_NONE, 1087s # 1, G_TYPE_INT); 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface::single-arg-signal-u: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_u: Argument. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1087s # g_signal_new ("single-arg-signal-u", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1087s # G_TYPE_NONE, 1087s # 1, G_TYPE_UINT); 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface::single-arg-signal-x: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_x: Argument. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1087s # g_signal_new ("single-arg-signal-x", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1087s # G_TYPE_NONE, 1087s # 1, G_TYPE_INT64); 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface::single-arg-signal-t: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_t: Argument. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1087s # g_signal_new ("single-arg-signal-t", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1087s # G_TYPE_NONE, 1087s # 1, G_TYPE_UINT64); 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface::single-arg-signal-d: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_d: Argument. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1087s # g_signal_new ("single-arg-signal-d", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1087s # G_TYPE_NONE, 1087s # 1, G_TYPE_DOUBLE); 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface::single-arg-signal-s: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_s: Argument. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1087s # g_signal_new ("single-arg-signal-s", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1087s # G_TYPE_NONE, 1087s # 1, G_TYPE_STRING); 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface::single-arg-signal-o: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_o: Argument. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1087s # g_signal_new ("single-arg-signal-o", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1087s # G_TYPE_NONE, 1087s # 1, G_TYPE_STRING); 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface::single-arg-signal-g: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_g: Argument. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1087s # g_signal_new ("single-arg-signal-g", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1087s # G_TYPE_NONE, 1087s # 1, G_TYPE_STRING); 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface::single-arg-signal-h: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_h: Argument. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1087s # g_signal_new ("single-arg-signal-h", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1087s # G_TYPE_NONE, 1087s # 1, G_TYPE_VARIANT); 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface::single-arg-signal-ay: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_ay: Argument. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1087s # g_signal_new ("single-arg-signal-ay", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1087s # G_TYPE_NONE, 1087s # 1, G_TYPE_STRING); 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface::single-arg-signal-as: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_as: Argument. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1087s # g_signal_new ("single-arg-signal-as", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1087s # G_TYPE_NONE, 1087s # 1, G_TYPE_STRV); 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface::single-arg-signal-ao: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_ao: Argument. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1087s # g_signal_new ("single-arg-signal-ao", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1087s # G_TYPE_NONE, 1087s # 1, G_TYPE_STRV); 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface::single-arg-signal-aay: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_aay: Argument. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1087s # g_signal_new ("single-arg-signal-aay", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1087s # G_TYPE_NONE, 1087s # 1, G_TYPE_STRV); 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface::single-arg-signal-asv: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_asv: Argument. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1087s # g_signal_new ("single-arg-signal-asv", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1087s # G_TYPE_NONE, 1087s # 1, G_TYPE_VARIANT); 1087s # 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_no_arg_signal: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * 1087s # * Emits the "NoArgSignal" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_no_arg_signal ( 1087s # OrgProjectSignalingIface *object) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_single_arg_signal_b: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_b: Argument to pass with the signal. 1087s # * 1087s # * Emits the "SingleArgSignalB" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_single_arg_signal_b ( 1087s # OrgProjectSignalingIface *object, 1087s # gboolean arg_an_b) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_single_arg_signal_y: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_y: Argument to pass with the signal. 1087s # * 1087s # * Emits the "SingleArgSignalY" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_single_arg_signal_y ( 1087s # OrgProjectSignalingIface *object, 1087s # guchar arg_an_y) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_single_arg_signal_n: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_n: Argument to pass with the signal. 1087s # * 1087s # * Emits the "SingleArgSignalN" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_single_arg_signal_n ( 1087s # OrgProjectSignalingIface *object, 1087s # gint16 arg_an_n) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_single_arg_signal_q: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_q: Argument to pass with the signal. 1087s # * 1087s # * Emits the "SingleArgSignalQ" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_single_arg_signal_q ( 1087s # OrgProjectSignalingIface *object, 1087s # guint16 arg_an_q) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_single_arg_signal_i: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_i: Argument to pass with the signal. 1087s # * 1087s # * Emits the "SingleArgSignalI" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_single_arg_signal_i ( 1087s # OrgProjectSignalingIface *object, 1087s # gint arg_an_i) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_single_arg_signal_u: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_u: Argument to pass with the signal. 1087s # * 1087s # * Emits the "SingleArgSignalU" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_single_arg_signal_u ( 1087s # OrgProjectSignalingIface *object, 1087s # guint arg_an_u) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_single_arg_signal_x: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_x: Argument to pass with the signal. 1087s # * 1087s # * Emits the "SingleArgSignalX" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_single_arg_signal_x ( 1087s # OrgProjectSignalingIface *object, 1087s # gint64 arg_an_x) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_single_arg_signal_t: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_t: Argument to pass with the signal. 1087s # * 1087s # * Emits the "SingleArgSignalT" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_single_arg_signal_t ( 1087s # OrgProjectSignalingIface *object, 1087s # guint64 arg_an_t) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_single_arg_signal_d: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_d: Argument to pass with the signal. 1087s # * 1087s # * Emits the "SingleArgSignalD" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_single_arg_signal_d ( 1087s # OrgProjectSignalingIface *object, 1087s # gdouble arg_an_d) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_single_arg_signal_s: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_s: Argument to pass with the signal. 1087s # * 1087s # * Emits the "SingleArgSignalS" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_single_arg_signal_s ( 1087s # OrgProjectSignalingIface *object, 1087s # const gchar *arg_an_s) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_single_arg_signal_o: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_o: Argument to pass with the signal. 1087s # * 1087s # * Emits the "SingleArgSignalO" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_single_arg_signal_o ( 1087s # OrgProjectSignalingIface *object, 1087s # const gchar *arg_an_o) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_single_arg_signal_g: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_g: Argument to pass with the signal. 1087s # * 1087s # * Emits the "SingleArgSignalG" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_single_arg_signal_g ( 1087s # OrgProjectSignalingIface *object, 1087s # const gchar *arg_an_g) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_single_arg_signal_h: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_h: Argument to pass with the signal. 1087s # * 1087s # * Emits the "SingleArgSignalH" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_single_arg_signal_h ( 1087s # OrgProjectSignalingIface *object, 1087s # GVariant *arg_an_h) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_ay: Argument to pass with the signal. 1087s # * 1087s # * Emits the "SingleArgSignalAY" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1087s # OrgProjectSignalingIface *object, 1087s # const gchar *arg_an_ay) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_single_arg_signal_as: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_as: Argument to pass with the signal. 1087s # * 1087s # * Emits the "SingleArgSignalAS" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_single_arg_signal_as ( 1087s # OrgProjectSignalingIface *object, 1087s # const gchar *const *arg_an_as) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_ao: Argument to pass with the signal. 1087s # * 1087s # * Emits the "SingleArgSignalAO" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1087s # OrgProjectSignalingIface *object, 1087s # const gchar *const *arg_an_ao) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_aay: Argument to pass with the signal. 1087s # * 1087s # * Emits the "SingleArgSignalAAY" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1087s # OrgProjectSignalingIface *object, 1087s # const gchar *const *arg_an_aay) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_an_asv: Argument to pass with the signal. 1087s # * 1087s # * Emits the "SingleArgSignalASV" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1087s # OrgProjectSignalingIface *object, 1087s # GVariant *arg_an_asv) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceProxy: 1087s # * 1087s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceProxyClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectSignalingIfaceProxy. 1087s # */ 1087s # 1087s # struct _OrgProjectSignalingIfaceProxyPrivate 1087s # { 1087s # GData *qdata; 1087s # }; 1087s # 1087s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_signaling_iface_proxy_finalize (GObject *object) 1087s # { 1087s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1087s # g_datalist_clear (&proxy->priv->qdata); 1087s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # const GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1087s # const gchar *sender_name G_GNUC_UNUSED, 1087s # const gchar *signal_name, 1087s # GVariant *parameters) 1087s # { 1087s # _ExtendedGDBusSignalInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # gsize n; 1087s # guint signal_id; 1087s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1087s # if (info == NULL) 1087s # return; 1087s # num_params = g_variant_n_children (parameters); 1087s # paramv = g_new0 (GValue, num_params + 1); 1087s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_set_object (¶mv[0], proxy); 1087s # g_variant_iter_init (&iter, parameters); 1087s # n = 1; 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_signal_emitv (paramv, signal_id, 0, NULL); 1087s # for (n = 0; n < num_params + 1; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1087s # GVariant *changed_properties, 1087s # const gchar *const *invalidated_properties) 1087s # { 1087s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1087s # guint n; 1087s # const gchar *key; 1087s # GVariantIter *iter; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # g_variant_get (changed_properties, "a{sv}", &iter); 1087s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1087s # g_datalist_remove_data (&proxy->priv->qdata, key); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # g_variant_iter_free (iter); 1087s # for (n = 0; invalidated_properties[n] != NULL; n++) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1087s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1087s # #else 1087s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1087s # #endif 1087s # 1087s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusProxyClass *proxy_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1087s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1087s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1087s # 1087s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1087s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1087s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_proxy_new ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # 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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_sync: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_sync ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # 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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceSkeleton: 1087s # * 1087s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1087s # */ 1087s # 1087s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _org_project_signaling_iface_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _org_project_signaling_iface_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # GVariant *ret; 1087s # ret = NULL; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # g_value_init (&value, pspec->value_type); 1087s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1087s # g_value_unset (&value); 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _org_project_signaling_iface_skeleton_handle_set_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GVariant *variant, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # gboolean ret; 1087s # ret = FALSE; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # if (info->use_gvariant) 1087s # g_value_set_variant (&value, variant); 1087s # else 1087s # g_dbus_gvariant_to_gvalue (variant, &value); 1087s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # g_value_unset (&value); 1087s # ret = TRUE; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1087s # { 1087s # _org_project_signaling_iface_skeleton_handle_method_call, 1087s # _org_project_signaling_iface_skeleton_handle_get_property, 1087s # _org_project_signaling_iface_skeleton_handle_set_property, 1087s # {NULL} 1087s # }; 1087s # 1087s # static GDBusInterfaceInfo * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return org_project_signaling_iface_interface_info (); 1087s # } 1087s # 1087s # static GDBusInterfaceVTable * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1087s # } 1087s # 1087s # static GVariant * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1087s # 1087s # GVariantBuilder builder; 1087s # guint n; 1087s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1087s # goto out; 1087s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1087s # { 1087s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1087s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1087s # { 1087s # GVariant *value; 1087s # 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); 1087s # if (value != NULL) 1087s # { 1087s # g_variant_take_ref (value); 1087s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1087s # g_variant_unref (value); 1087s # } 1087s # } 1087s # } 1087s # out: 1087s # return g_variant_builder_end (&builder); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_no_arg_signal ( 1087s # OrgProjectSignalingIface *object) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1087s # OrgProjectSignalingIface *object, 1087s # gboolean arg_an_b) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1087s # arg_an_b)); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1087s # OrgProjectSignalingIface *object, 1087s # guchar arg_an_y) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1087s # arg_an_y)); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1087s # OrgProjectSignalingIface *object, 1087s # gint16 arg_an_n) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1087s # arg_an_n)); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1087s # OrgProjectSignalingIface *object, 1087s # guint16 arg_an_q) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1087s # arg_an_q)); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1087s # OrgProjectSignalingIface *object, 1087s # gint arg_an_i) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1087s # arg_an_i)); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1087s # OrgProjectSignalingIface *object, 1087s # guint arg_an_u) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1087s # arg_an_u)); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1087s # OrgProjectSignalingIface *object, 1087s # gint64 arg_an_x) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1087s # arg_an_x)); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1087s # OrgProjectSignalingIface *object, 1087s # guint64 arg_an_t) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1087s # arg_an_t)); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1087s # OrgProjectSignalingIface *object, 1087s # gdouble arg_an_d) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1087s # arg_an_d)); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1087s # OrgProjectSignalingIface *object, 1087s # const gchar *arg_an_s) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1087s # arg_an_s)); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1087s # OrgProjectSignalingIface *object, 1087s # const gchar *arg_an_o) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1087s # arg_an_o)); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1087s # OrgProjectSignalingIface *object, 1087s # const gchar *arg_an_g) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1087s # arg_an_g)); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1087s # OrgProjectSignalingIface *object, 1087s # GVariant *arg_an_h) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1087s # arg_an_h)); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1087s # OrgProjectSignalingIface *object, 1087s # const gchar *arg_an_ay) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1087s # arg_an_ay)); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1087s # OrgProjectSignalingIface *object, 1087s # const gchar *const *arg_an_as) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1087s # arg_an_as)); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1087s # OrgProjectSignalingIface *object, 1087s # const gchar *const *arg_an_ao) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1087s # arg_an_ao)); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1087s # OrgProjectSignalingIface *object, 1087s # const gchar *const *arg_an_aay) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1087s # arg_an_aay)); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1087s # OrgProjectSignalingIface *object, 1087s # GVariant *arg_an_asv) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1087s # arg_an_asv)); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1087s # if (skeleton->priv->changed_properties_idle_source != NULL) 1087s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1087s # g_main_context_unref (skeleton->priv->context); 1087s # g_mutex_clear (&skeleton->priv->lock); 1087s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1087s # #else 1087s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1087s # #endif 1087s # 1087s # g_mutex_init (&skeleton->priv->lock); 1087s # skeleton->priv->context = g_main_context_ref_thread_default (); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusInterfaceSkeletonClass *skeleton_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1087s # 1087s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1087s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1087s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1087s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1087s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1087s # { 1087s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 1087s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1087s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1087s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1087s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1087s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1087s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1087s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1087s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1087s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1087s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1087s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1087s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1087s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1087s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1087s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1087s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1087s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1087s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_skeleton_new: 1087s # * 1087s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_skeleton_new (void) 1087s # { 1087s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1087s # } 1087s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 1087s # tmpdir: /tmp/tmpoqujb1wu 1087s # codegen: /usr/bin/gdbus-codegen 1087s # /tmp/tmpoqujb1wu/tmpur7h4aza.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoqujb1wu/tmpur7h4aza.xml', '--output', '-', '--body'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: /* 1087s # * This file is generated by gdbus-codegen, do not modify it. 1087s # * 1087s # * The license of this code is the same as for the D-Bus interface description 1087s # * it was derived from. Note that it links to GLib, so must comply with the 1087s # * LGPL linking clauses. 1087s # */ 1087s # 1087s # #ifdef HAVE_CONFIG_H 1087s # # include "config.h" 1087s # #endif 1087s # 1087s # #include 1087s # #ifdef G_OS_UNIX 1087s # # include 1087s # #endif 1087s # 1087s # #ifdef G_ENABLE_DEBUG 1087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1087s # #else /* !G_ENABLE_DEBUG */ 1087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1087s # * Do not access GValues directly in your code. Instead, use the 1087s # * g_value_get_*() functions 1087s # */ 1087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1087s # #endif /* !G_ENABLE_DEBUG */ 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusArgInfo parent_struct; 1087s # gboolean use_gvariant; 1087s # } _ExtendedGDBusArgInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusMethodInfo parent_struct; 1087s # const gchar *signal_name; 1087s # gboolean pass_fdlist; 1087s # } _ExtendedGDBusMethodInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusSignalInfo parent_struct; 1087s # const gchar *signal_name; 1087s # } _ExtendedGDBusSignalInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusPropertyInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # guint use_gvariant : 1; 1087s # guint emits_changed_signal : 1; 1087s # } _ExtendedGDBusPropertyInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusInterfaceInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # } _ExtendedGDBusInterfaceInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # const _ExtendedGDBusPropertyInfo *info; 1087s # guint prop_id; 1087s # GValue orig_value; /* the value before the change */ 1087s # } ChangedProperty; 1087s # 1087s # static void 1087s # _changed_property_free (ChangedProperty *data) 1087s # { 1087s # g_value_unset (&data->orig_value); 1087s # g_free (data); 1087s # } 1087s # 1087s # static gboolean 1087s # _g_strv_equal0 (gchar **a, gchar **b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # guint n; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # if (g_strv_length (a) != g_strv_length (b)) 1087s # goto out; 1087s # for (n = 0; a[n] != NULL; n++) 1087s # if (g_strcmp0 (a[n], b[n]) != 0) 1087s # goto out; 1087s # ret = TRUE; 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _g_variant_equal0 (GVariant *a, GVariant *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # ret = g_variant_equal (a, b); 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # G_GNUC_UNUSED static gboolean 1087s # _g_value_equal (const GValue *a, const GValue *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1087s # switch (G_VALUE_TYPE (a)) 1087s # { 1087s # case G_TYPE_BOOLEAN: 1087s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1087s # break; 1087s # case G_TYPE_UCHAR: 1087s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1087s # break; 1087s # case G_TYPE_INT: 1087s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1087s # break; 1087s # case G_TYPE_UINT: 1087s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1087s # break; 1087s # case G_TYPE_INT64: 1087s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1087s # break; 1087s # case G_TYPE_UINT64: 1087s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1087s # break; 1087s # case G_TYPE_DOUBLE: 1087s # { 1087s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1087s # gdouble da = g_value_get_double (a); 1087s # gdouble db = g_value_get_double (b); 1087s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1087s # } 1087s # break; 1087s # case G_TYPE_STRING: 1087s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1087s # break; 1087s # case G_TYPE_VARIANT: 1087s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1087s # break; 1087s # default: 1087s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1087s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1087s # else 1087s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1087s # break; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.UsefulInterface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectUsefulInterface 1087s # * @title: OrgProjectUsefulInterface 1087s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1087s # */ 1087s # 1087s # enum 1087s # { 1087s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1087s # }; 1087s # 1087s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1087s # 1087s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SimpleSignal", 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "simple-signal" 1087s # }; 1087s # 1087s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1087s # { 1087s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.UsefulInterface", 1087s # NULL, 1087s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-useful-interface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_useful_interface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_useful_interface_signal_marshal_simple_signal ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__VOID (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceIface: 1087s # * @parent_iface: The parent interface. 1087s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1087s # * 1087s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1087s # */ 1087s # 1087s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1087s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1087s # 1087s # static void 1087s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1087s # { 1087s # /* GObject signals for received D-Bus signals: */ 1087s # /** 1087s # * OrgProjectUsefulInterface::simple-signal: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1087s # g_signal_new ("simple-signal", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1087s # NULL, 1087s # NULL, 1087s # org_project_useful_interface_signal_marshal_simple_signal, 1087s # G_TYPE_NONE, 1087s # 0); 1087s # 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_emit_simple_signal: 1087s # * @object: A #OrgProjectUsefulInterface. 1087s # * 1087s # * Emits the "SimpleSignal" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_useful_interface_emit_simple_signal ( 1087s # OrgProjectUsefulInterface *object) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxy: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceProxyClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceProxyPrivate 1087s # { 1087s # GData *qdata; 1087s # }; 1087s # 1087s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_proxy_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1087s # g_datalist_clear (&proxy->priv->qdata); 1087s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # const GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1087s # const gchar *sender_name G_GNUC_UNUSED, 1087s # const gchar *signal_name, 1087s # GVariant *parameters) 1087s # { 1087s # _ExtendedGDBusSignalInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # gsize n; 1087s # guint signal_id; 1087s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1087s # if (info == NULL) 1087s # return; 1087s # num_params = g_variant_n_children (parameters); 1087s # paramv = g_new0 (GValue, num_params + 1); 1087s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[0], proxy); 1087s # g_variant_iter_init (&iter, parameters); 1087s # n = 1; 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_signal_emitv (paramv, signal_id, 0, NULL); 1087s # for (n = 0; n < num_params + 1; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1087s # GVariant *changed_properties, 1087s # const gchar *const *invalidated_properties) 1087s # { 1087s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1087s # guint n; 1087s # const gchar *key; 1087s # GVariantIter *iter; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # g_variant_get (changed_properties, "a{sv}", &iter); 1087s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1087s # g_datalist_remove_data (&proxy->priv->qdata, key); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # g_variant_iter_free (iter); 1087s # for (n = 0; invalidated_properties[n] != NULL; n++) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1087s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1087s # #else 1087s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1087s # #endif 1087s # 1087s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusProxyClass *proxy_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1087s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1087s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1087s # 1087s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1087s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1087s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_sync: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_sync ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_useful_interface_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # g_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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeleton: 1087s # * 1087s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectUsefulInterfaceSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1087s # */ 1087s # 1087s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _org_project_useful_interface_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _org_project_useful_interface_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # GVariant *ret; 1087s # ret = NULL; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # g_value_init (&value, pspec->value_type); 1087s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1087s # g_value_unset (&value); 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _org_project_useful_interface_skeleton_handle_set_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GVariant *variant, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # gboolean ret; 1087s # ret = FALSE; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # if (info->use_gvariant) 1087s # g_value_set_variant (&value, variant); 1087s # else 1087s # g_dbus_gvariant_to_gvalue (variant, &value); 1087s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # g_value_unset (&value); 1087s # ret = TRUE; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1087s # { 1087s # _org_project_useful_interface_skeleton_handle_method_call, 1087s # _org_project_useful_interface_skeleton_handle_get_property, 1087s # _org_project_useful_interface_skeleton_handle_set_property, 1087s # {NULL} 1087s # }; 1087s # 1087s # static GDBusInterfaceInfo * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return org_project_useful_interface_interface_info (); 1087s # } 1087s # 1087s # static GDBusInterfaceVTable * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1087s # } 1087s # 1087s # static GVariant * 1087s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1087s # 1087s # GVariantBuilder builder; 1087s # guint n; 1087s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1087s # goto out; 1087s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1087s # { 1087s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1087s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1087s # { 1087s # GVariant *value; 1087s # 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); 1087s # if (value != NULL) 1087s # { 1087s # g_variant_take_ref (value); 1087s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1087s # g_variant_unref (value); 1087s # } 1087s # } 1087s # } 1087s # out: 1087s # return g_variant_builder_end (&builder); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # _org_project_useful_interface_on_signal_simple_signal ( 1087s # OrgProjectUsefulInterface *object) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_useful_interface_skeleton_finalize (GObject *object) 1087s # { 1087s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1087s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1087s # if (skeleton->priv->changed_properties_idle_source != NULL) 1087s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1087s # g_main_context_unref (skeleton->priv->context); 1087s # g_mutex_clear (&skeleton->priv->lock); 1087s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1087s # #else 1087s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1087s # #endif 1087s # 1087s # g_mutex_init (&skeleton->priv->lock); 1087s # skeleton->priv->context = g_main_context_ref_thread_default (); 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusInterfaceSkeletonClass *skeleton_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1087s # 1087s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1087s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1087s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1087s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1087s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1087s # { 1087s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1087s # } 1087s # 1087s # /** 1087s # * org_project_useful_interface_skeleton_new: 1087s # * 1087s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1087s # */ 1087s # OrgProjectUsefulInterface * 1087s # org_project_useful_interface_skeleton_new (void) 1087s # { 1087s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.OtherIface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectOtherIface 1087s # * @title: OrgProjectOtherIface 1087s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1087s # */ 1087s # 1087s # enum 1087s # { 1087s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1087s # }; 1087s # 1087s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1087s # 1087s # /* ---- Introspection data for org.project.OtherIface ---- */ 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SimpleSignal", 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "simple-signal" 1087s # }; 1087s # 1087s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1087s # { 1087s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.OtherIface", 1087s # NULL, 1087s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-other-iface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_other_iface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_other_iface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_other_iface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_other_iface_signal_marshal_simple_signal ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__VOID (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectOtherIface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectOtherIfaceIface: 1087s # * @parent_iface: The parent interface. 1087s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1087s # * 1087s # * Virtual table for the D-Bus interface org.project.OtherIface. 1087s # */ 1087s # 1087s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1087s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1087s # 1087s # static void 1087s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1087s # { 1087s # /* GObject signals for received D-Bus signals: */ 1087s # /** 1087s # * OrgProjectOtherIface::simple-signal: 1087s # * @object: A #OrgProjectOtherIface. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1087s # g_signal_new ("simple-signal", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1087s # NULL, 1087s # NULL, 1087s # org_project_other_iface_signal_marshal_simple_signal, 1087s # G_TYPE_NONE, 1087s # 0); 1087s # 1087s # } 1087s # 1087s # /** 1087s # * org_project_other_iface_emit_simple_signal: 1087s # * @object: A #OrgProjectOtherIface. 1087s # * 1087s # * Emits the "SimpleSignal" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_other_iface_emit_simple_signal ( 1087s # OrgProjectOtherIface *object) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectOtherIfaceProxy: 1087s # * 1087s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectOtherIfaceProxyClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectOtherIfaceProxy. 1087s # */ 1087s # 1087s # struct _OrgProjectOtherIfaceProxyPrivate 1087s # { 1087s # GData *qdata; 1087s # }; 1087s # 1087s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_other_iface_proxy_finalize (GObject *object) 1087s # { 1087s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1087s # g_datalist_clear (&proxy->priv->qdata); 1087s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # const GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1087s # const gchar *sender_name G_GNUC_UNUSED, 1087s # const gchar *signal_name, 1087s # GVariant *parameters) 1087s # { 1087s # _ExtendedGDBusSignalInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # gsize n; 1087s # guint signal_id; 1087s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1087s # if (info == NULL) 1087s # return; 1087s # num_params = g_variant_n_children (parameters); 1087s # paramv = g_new0 (GValue, num_params + 1); 1087s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1087s # g_value_set_object (¶mv[0], proxy); 1087s # g_variant_iter_init (&iter, parameters); 1087s # n = 1; 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1087s # g_signal_emitv (paramv, signal_id, 0, NULL); 1087s # for (n = 0; n < num_params + 1; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static void 1087s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1087s # GVariant *changed_properties, 1087s # const gchar *const *invalidated_properties) 1087s # { 1087s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1087s # guint n; 1087s # const gchar *key; 1087s # GVariantIter *iter; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # g_variant_get (changed_properties, "a{sv}", &iter); 1087s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1087s # g_datalist_remove_data (&proxy->priv->qdata, key); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # g_variant_iter_free (iter); 1087s # for (n = 0; invalidated_properties[n] != NULL; n++) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1087s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # } 1087s # 1087s # static void 1087s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1087s # #else 1087s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1087s # #endif 1087s # 1087s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1087s # } 1087s # 1087s # static void 1087s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusProxyClass *proxy_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1087s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1087s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1087s # 1087s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1087s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1087s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_other_iface_proxy_new: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_other_iface_proxy_new ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # 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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_other_iface_proxy_new_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectOtherIface * 1087s # org_project_other_iface_proxy_new_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_OTHER_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_other_iface_proxy_new_sync: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectOtherIface * 1087s # org_project_other_iface_proxy_new_sync ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_OTHER_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /** 1087s # * org_project_other_iface_proxy_new_for_bus: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_other_iface_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # 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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_other_iface_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectOtherIface * 1087s # org_project_other_iface_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_OTHER_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_other_iface_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectOtherIface * 1087s # org_project_other_iface_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_OTHER_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectOtherIfaceSkeleton: 1087s # * 1087s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectOtherIfaceSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1087s # */ 1087s # 1087s # struct _OrgProjectOtherIfaceSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _org_project_other_iface_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _org_project_other_iface_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # GVariant *ret; 1087s # ret = NULL; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # g_value_init (&value, pspec->value_type); 1087s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1087s # g_value_unset (&value); 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _org_project_other_iface_skeleton_handle_set_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GVariant *variant, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # gboolean ret; 1087s # ret = FALSE; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # if (info->use_gvariant) 1087s # g_value_set_variant (&value, variant); 1087s # else 1087s # g_dbus_gvariant_to_gvalue (variant, &value); 1087s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # g_value_unset (&value); 1087s # ret = TRUE; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1087s # { 1087s # _org_project_other_iface_skeleton_handle_method_call, 1087s # _org_project_other_iface_skeleton_handle_get_property, 1087s # _org_project_other_iface_skeleton_handle_set_property, 1087s # {NULL} 1087s # }; 1087s # 1087s # static GDBusInterfaceInfo * 1087s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return org_project_other_iface_interface_info (); 1087s # } 1087s # 1087s # static GDBusInterfaceVTable * 1087s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1087s # } 1087s # 1087s # static GVariant * 1087s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1087s # { 1087s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1087s # 1087s # GVariantBuilder builder; 1087s # guint n; 1087s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1087s # goto out; 1087s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1087s # { 1087s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1087s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1087s # { 1087s # GVariant *value; 1087s # 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); 1087s # if (value != NULL) 1087s # { 1087s # g_variant_take_ref (value); 1087s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1087s # g_variant_unref (value); 1087s # } 1087s # } 1087s # } 1087s # out: 1087s # return g_variant_builder_end (&builder); 1087s # } 1087s # 1087s # static void 1087s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # _org_project_other_iface_on_signal_simple_signal ( 1087s # OrgProjectOtherIface *object) 1087s # { 1087s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_other_iface_skeleton_finalize (GObject *object) 1087s # { 1087s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1087s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1087s # if (skeleton->priv->changed_properties_idle_source != NULL) 1087s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1087s # g_main_context_unref (skeleton->priv->context); 1087s # g_mutex_clear (&skeleton->priv->lock); 1087s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1087s # #else 1087s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1087s # #endif 1087s # 1087s # g_mutex_init (&skeleton->priv->lock); 1087s # skeleton->priv->context = g_main_context_ref_thread_default (); 1087s # } 1087s # 1087s # static void 1087s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusInterfaceSkeletonClass *skeleton_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1087s # 1087s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1087s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1087s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1087s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1087s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1087s # { 1087s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1087s # } 1087s # 1087s # /** 1087s # * org_project_other_iface_skeleton_new: 1087s # * 1087s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1087s # */ 1087s # OrgProjectOtherIface * 1087s # org_project_other_iface_skeleton_new (void) 1087s # { 1087s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1087s # } 1087s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1087s # tmpdir: /tmp/tmprma065md 1087s # codegen: /usr/bin/gdbus-codegen 1087s # /tmp/tmprma065md/tmp5kh6ejl7.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprma065md/tmp5kh6ejl7.xml', '--output', '-', '--body'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: /* 1087s # * This file is generated by gdbus-codegen, do not modify it. 1087s # * 1087s # * The license of this code is the same as for the D-Bus interface description 1087s # * it was derived from. Note that it links to GLib, so must comply with the 1087s # * LGPL linking clauses. 1087s # */ 1087s # 1087s # #ifdef HAVE_CONFIG_H 1087s # # include "config.h" 1087s # #endif 1087s # 1087s # #include 1087s # #ifdef G_OS_UNIX 1087s # # include 1087s # #endif 1087s # 1087s # #ifdef G_ENABLE_DEBUG 1087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1087s # #else /* !G_ENABLE_DEBUG */ 1087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1087s # * Do not access GValues directly in your code. Instead, use the 1087s # * g_value_get_*() functions 1087s # */ 1087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1087s # #endif /* !G_ENABLE_DEBUG */ 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusArgInfo parent_struct; 1087s # gboolean use_gvariant; 1087s # } _ExtendedGDBusArgInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusMethodInfo parent_struct; 1087s # const gchar *signal_name; 1087s # gboolean pass_fdlist; 1087s # } _ExtendedGDBusMethodInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusSignalInfo parent_struct; 1087s # const gchar *signal_name; 1087s # } _ExtendedGDBusSignalInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusPropertyInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # guint use_gvariant : 1; 1087s # guint emits_changed_signal : 1; 1087s # } _ExtendedGDBusPropertyInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusInterfaceInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # } _ExtendedGDBusInterfaceInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # const _ExtendedGDBusPropertyInfo *info; 1087s # guint prop_id; 1087s # GValue orig_value; /* the value before the change */ 1087s # } ChangedProperty; 1087s # 1087s # static void 1087s # _changed_property_free (ChangedProperty *data) 1087s # { 1087s # g_value_unset (&data->orig_value); 1087s # g_free (data); 1087s # } 1087s # 1087s # static gboolean 1087s # _g_strv_equal0 (gchar **a, gchar **b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # guint n; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # if (g_strv_length (a) != g_strv_length (b)) 1087s # goto out; 1087s # for (n = 0; a[n] != NULL; n++) 1087s # if (g_strcmp0 (a[n], b[n]) != 0) 1087s # goto out; 1087s # ret = TRUE; 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _g_variant_equal0 (GVariant *a, GVariant *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # ret = g_variant_equal (a, b); 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # G_GNUC_UNUSED static gboolean 1087s # _g_value_equal (const GValue *a, const GValue *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1087s # switch (G_VALUE_TYPE (a)) 1087s # { 1087s # case G_TYPE_BOOLEAN: 1087s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1087s # break; 1087s # case G_TYPE_UCHAR: 1087s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1087s # break; 1087s # case G_TYPE_INT: 1087s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1087s # break; 1087s # case G_TYPE_UINT: 1087s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1087s # break; 1087s # case G_TYPE_INT64: 1087s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1087s # break; 1087s # case G_TYPE_UINT64: 1087s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1087s # break; 1087s # case G_TYPE_DOUBLE: 1087s # { 1087s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1087s # gdouble da = g_value_get_double (a); 1087s # gdouble db = g_value_get_double (b); 1087s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1087s # } 1087s # break; 1087s # case G_TYPE_STRING: 1087s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1087s # break; 1087s # case G_TYPE_VARIANT: 1087s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1087s # break; 1087s # default: 1087s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1087s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1087s # else 1087s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1087s # break; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.SignalingIface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectSignalingIface 1087s # * @title: OrgProjectSignalingIface 1087s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1087s # */ 1087s # 1087s # enum 1087s # { 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1087s # }; 1087s # 1087s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1087s # 1087s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SimpleSignal", 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "simple-signal" 1087s # }; 1087s # 1087s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.SignalingIface", 1087s # NULL, 1087s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-signaling-iface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_signaling_iface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_signaling_iface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_simple_signal ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__VOID (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceIface: 1087s # * @parent_iface: The parent interface. 1087s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1087s # * 1087s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1087s # */ 1087s # 1087s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1087s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1087s # 1087s # static void 1087s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1087s # { 1087s # /* GObject signals for received D-Bus signals: */ 1087s # /** 1087s # * OrgProjectSignalingIface::simple-signal: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1087s # g_signal_new ("simple-signal", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_simple_signal, 1087s # G_TYPE_NONE, 1087s # 0); 1087s # 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_simple_signal: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * 1087s # * Emits the "SimpleSignal" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_simple_signal ( 1087s # OrgProjectSignalingIface *object) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceProxy: 1087s # * 1087s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceProxyClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectSignalingIfaceProxy. 1087s # */ 1087s # 1087s # struct _OrgProjectSignalingIfaceProxyPrivate 1087s # { 1087s # GData *qdata; 1087s # }; 1087s # 1087s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_signaling_iface_proxy_finalize (GObject *object) 1087s # { 1087s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1087s # g_datalist_clear (&proxy->priv->qdata); 1087s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # const GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1087s # const gchar *sender_name G_GNUC_UNUSED, 1087s # const gchar *signal_name, 1087s # GVariant *parameters) 1087s # { 1087s # _ExtendedGDBusSignalInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # gsize n; 1087s # guint signal_id; 1087s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1087s # if (info == NULL) 1087s # return; 1087s # num_params = g_variant_n_children (parameters); 1087s # paramv = g_new0 (GValue, num_params + 1); 1087s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_set_object (¶mv[0], proxy); 1087s # g_variant_iter_init (&iter, parameters); 1087s # n = 1; 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_signal_emitv (paramv, signal_id, 0, NULL); 1087s # for (n = 0; n < num_params + 1; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1087s # GVariant *changed_properties, 1087s # const gchar *const *invalidated_properties) 1087s # { 1087s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1087s # guint n; 1087s # const gchar *key; 1087s # GVariantIter *iter; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # g_variant_get (changed_properties, "a{sv}", &iter); 1087s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1087s # g_datalist_remove_data (&proxy->priv->qdata, key); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # g_variant_iter_free (iter); 1087s # for (n = 0; invalidated_properties[n] != NULL; n++) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1087s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1087s # #else 1087s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1087s # #endif 1087s # 1087s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusProxyClass *proxy_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1087s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1087s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1087s # 1087s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1087s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1087s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_proxy_new ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # 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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_sync: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_sync ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # 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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceSkeleton: 1087s # * 1087s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1087s # */ 1087s # 1087s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _org_project_signaling_iface_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _org_project_signaling_iface_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # GVariant *ret; 1087s # ret = NULL; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # g_value_init (&value, pspec->value_type); 1087s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1087s # g_value_unset (&value); 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _org_project_signaling_iface_skeleton_handle_set_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GVariant *variant, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # gboolean ret; 1087s # ret = FALSE; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # if (info->use_gvariant) 1087s # g_value_set_variant (&value, variant); 1087s # else 1087s # g_dbus_gvariant_to_gvalue (variant, &value); 1087s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # g_value_unset (&value); 1087s # ret = TRUE; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1087s # { 1087s # _org_project_signaling_iface_skeleton_handle_method_call, 1087s # _org_project_signaling_iface_skeleton_handle_get_property, 1087s # _org_project_signaling_iface_skeleton_handle_set_property, 1087s # {NULL} 1087s # }; 1087s # 1087s # static GDBusInterfaceInfo * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return org_project_signaling_iface_interface_info (); 1087s # } 1087s # 1087s # static GDBusInterfaceVTable * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1087s # } 1087s # 1087s # static GVariant * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1087s # 1087s # GVariantBuilder builder; 1087s # guint n; 1087s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1087s # goto out; 1087s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1087s # { 1087s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1087s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1087s # { 1087s # GVariant *value; 1087s # 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); 1087s # if (value != NULL) 1087s # { 1087s # g_variant_take_ref (value); 1087s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1087s # g_variant_unref (value); 1087s # } 1087s # } 1087s # } 1087s # out: 1087s # return g_variant_builder_end (&builder); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_simple_signal ( 1087s # OrgProjectSignalingIface *object) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1087s # if (skeleton->priv->changed_properties_idle_source != NULL) 1087s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1087s # g_main_context_unref (skeleton->priv->context); 1087s # g_mutex_clear (&skeleton->priv->lock); 1087s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1087s # #else 1087s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1087s # #endif 1087s # 1087s # g_mutex_init (&skeleton->priv->lock); 1087s # skeleton->priv->context = g_main_context_ref_thread_default (); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusInterfaceSkeletonClass *skeleton_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1087s # 1087s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1087s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1087s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1087s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1087s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1087s # { 1087s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_skeleton_new: 1087s # * 1087s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_skeleton_new (void) 1087s # { 1087s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.OtherSignalingIface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectOtherSignalingIface 1087s # * @title: OrgProjectOtherSignalingIface 1087s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1087s # */ 1087s # 1087s # enum 1087s # { 1087s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1087s # }; 1087s # 1087s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1087s # 1087s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SimpleSignal", 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "simple-signal" 1087s # }; 1087s # 1087s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1087s # { 1087s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.OtherSignalingIface", 1087s # NULL, 1087s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-other-signaling-iface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_other_signaling_iface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_other_signaling_iface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_other_signaling_iface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__VOID (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectOtherSignalingIface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectOtherSignalingIfaceIface: 1087s # * @parent_iface: The parent interface. 1087s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1087s # * 1087s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1087s # */ 1087s # 1087s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1087s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1087s # 1087s # static void 1087s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1087s # { 1087s # /* GObject signals for received D-Bus signals: */ 1087s # /** 1087s # * OrgProjectOtherSignalingIface::simple-signal: 1087s # * @object: A #OrgProjectOtherSignalingIface. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1087s # g_signal_new ("simple-signal", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1087s # NULL, 1087s # NULL, 1087s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1087s # G_TYPE_NONE, 1087s # 0); 1087s # 1087s # } 1087s # 1087s # /** 1087s # * org_project_other_signaling_iface_emit_simple_signal: 1087s # * @object: A #OrgProjectOtherSignalingIface. 1087s # * 1087s # * Emits the "SimpleSignal" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_other_signaling_iface_emit_simple_signal ( 1087s # OrgProjectOtherSignalingIface *object) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectOtherSignalingIfaceProxy: 1087s # * 1087s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectOtherSignalingIfaceProxyClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1087s # */ 1087s # 1087s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1087s # { 1087s # GData *qdata; 1087s # }; 1087s # 1087s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1087s # { 1087s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1087s # g_datalist_clear (&proxy->priv->qdata); 1087s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # const GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1087s # const gchar *sender_name G_GNUC_UNUSED, 1087s # const gchar *signal_name, 1087s # GVariant *parameters) 1087s # { 1087s # _ExtendedGDBusSignalInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # gsize n; 1087s # guint signal_id; 1087s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1087s # if (info == NULL) 1087s # return; 1087s # num_params = g_variant_n_children (parameters); 1087s # paramv = g_new0 (GValue, num_params + 1); 1087s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1087s # g_value_set_object (¶mv[0], proxy); 1087s # g_variant_iter_init (&iter, parameters); 1087s # n = 1; 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1087s # g_signal_emitv (paramv, signal_id, 0, NULL); 1087s # for (n = 0; n < num_params + 1; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static void 1087s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1087s # GVariant *changed_properties, 1087s # const gchar *const *invalidated_properties) 1087s # { 1087s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1087s # guint n; 1087s # const gchar *key; 1087s # GVariantIter *iter; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # g_variant_get (changed_properties, "a{sv}", &iter); 1087s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1087s # g_datalist_remove_data (&proxy->priv->qdata, key); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # g_variant_iter_free (iter); 1087s # for (n = 0; invalidated_properties[n] != NULL; n++) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1087s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # } 1087s # 1087s # static void 1087s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1087s # #else 1087s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1087s # #endif 1087s # 1087s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1087s # } 1087s # 1087s # static void 1087s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusProxyClass *proxy_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1087s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1087s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1087s # 1087s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1087s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1087s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_other_signaling_iface_proxy_new: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_other_signaling_iface_proxy_new ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # 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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_other_signaling_iface_proxy_new_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectOtherSignalingIface * 1087s # org_project_other_signaling_iface_proxy_new_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_other_signaling_iface_proxy_new_sync: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectOtherSignalingIface * 1087s # org_project_other_signaling_iface_proxy_new_sync ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /** 1087s # * org_project_other_signaling_iface_proxy_new_for_bus: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_other_signaling_iface_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # 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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectOtherSignalingIface * 1087s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectOtherSignalingIface * 1087s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectOtherSignalingIfaceSkeleton: 1087s # * 1087s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1087s # */ 1087s # 1087s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # GVariant *ret; 1087s # ret = NULL; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # g_value_init (&value, pspec->value_type); 1087s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1087s # g_value_unset (&value); 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GVariant *variant, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # gboolean ret; 1087s # ret = FALSE; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # if (info->use_gvariant) 1087s # g_value_set_variant (&value, variant); 1087s # else 1087s # g_dbus_gvariant_to_gvalue (variant, &value); 1087s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # g_value_unset (&value); 1087s # ret = TRUE; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1087s # { 1087s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1087s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1087s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1087s # {NULL} 1087s # }; 1087s # 1087s # static GDBusInterfaceInfo * 1087s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return org_project_other_signaling_iface_interface_info (); 1087s # } 1087s # 1087s # static GDBusInterfaceVTable * 1087s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1087s # } 1087s # 1087s # static GVariant * 1087s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1087s # { 1087s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1087s # 1087s # GVariantBuilder builder; 1087s # guint n; 1087s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1087s # goto out; 1087s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1087s # { 1087s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1087s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1087s # { 1087s # GVariant *value; 1087s # 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); 1087s # if (value != NULL) 1087s # { 1087s # g_variant_take_ref (value); 1087s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1087s # g_variant_unref (value); 1087s # } 1087s # } 1087s # } 1087s # out: 1087s # return g_variant_builder_end (&builder); 1087s # } 1087s # 1087s # static void 1087s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1087s # OrgProjectOtherSignalingIface *object) 1087s # { 1087s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1087s # { 1087s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1087s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1087s # if (skeleton->priv->changed_properties_idle_source != NULL) 1087s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1087s # g_main_context_unref (skeleton->priv->context); 1087s # g_mutex_clear (&skeleton->priv->lock); 1087s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1087s # #else 1087s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1087s # #endif 1087s # 1087s # g_mutex_init (&skeleton->priv->lock); 1087s # skeleton->priv->context = g_main_context_ref_thread_default (); 1087s # } 1087s # 1087s # static void 1087s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusInterfaceSkeletonClass *skeleton_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1087s # 1087s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1087s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1087s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1087s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1087s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1087s # { 1087s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1087s # } 1087s # 1087s # /** 1087s # * org_project_other_signaling_iface_skeleton_new: 1087s # * 1087s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1087s # */ 1087s # OrgProjectOtherSignalingIface * 1087s # org_project_other_signaling_iface_skeleton_new (void) 1087s # { 1087s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1087s # } 1087s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1087s # tmpdir: /tmp/tmptjxrmpdg 1087s # codegen: /usr/bin/gdbus-codegen 1087s # /tmp/tmptjxrmpdg/tmpr688chct.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptjxrmpdg/tmpr688chct.xml', '--output', '-', '--body'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: /* 1087s # * This file is generated by gdbus-codegen, do not modify it. 1087s # * 1087s # * The license of this code is the same as for the D-Bus interface description 1087s # * it was derived from. Note that it links to GLib, so must comply with the 1087s # * LGPL linking clauses. 1087s # */ 1087s # 1087s # #ifdef HAVE_CONFIG_H 1087s # # include "config.h" 1087s # #endif 1087s # 1087s # #include 1087s # #ifdef G_OS_UNIX 1087s # # include 1087s # #endif 1087s # 1087s # #ifdef G_ENABLE_DEBUG 1087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1087s # #else /* !G_ENABLE_DEBUG */ 1087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1087s # * Do not access GValues directly in your code. Instead, use the 1087s # * g_value_get_*() functions 1087s # */ 1087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1087s # #endif /* !G_ENABLE_DEBUG */ 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusArgInfo parent_struct; 1087s # gboolean use_gvariant; 1087s # } _ExtendedGDBusArgInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusMethodInfo parent_struct; 1087s # const gchar *signal_name; 1087s # gboolean pass_fdlist; 1087s # } _ExtendedGDBusMethodInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusSignalInfo parent_struct; 1087s # const gchar *signal_name; 1087s # } _ExtendedGDBusSignalInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusPropertyInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # guint use_gvariant : 1; 1087s # guint emits_changed_signal : 1; 1087s # } _ExtendedGDBusPropertyInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusInterfaceInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # } _ExtendedGDBusInterfaceInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # const _ExtendedGDBusPropertyInfo *info; 1087s # guint prop_id; 1087s # GValue orig_value; /* the value before the change */ 1087s # } ChangedProperty; 1087s # 1087s # static void 1087s # _changed_property_free (ChangedProperty *data) 1087s # { 1087s # g_value_unset (&data->orig_value); 1087s # g_free (data); 1087s # } 1087s # 1087s # static gboolean 1087s # _g_strv_equal0 (gchar **a, gchar **b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # guint n; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # if (g_strv_length (a) != g_strv_length (b)) 1087s # goto out; 1087s # for (n = 0; a[n] != NULL; n++) 1087s # if (g_strcmp0 (a[n], b[n]) != 0) 1087s # goto out; 1087s # ret = TRUE; 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _g_variant_equal0 (GVariant *a, GVariant *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # ret = g_variant_equal (a, b); 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # G_GNUC_UNUSED static gboolean 1087s # _g_value_equal (const GValue *a, const GValue *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1087s # switch (G_VALUE_TYPE (a)) 1087s # { 1087s # case G_TYPE_BOOLEAN: 1087s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1087s # break; 1087s # case G_TYPE_UCHAR: 1087s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1087s # break; 1087s # case G_TYPE_INT: 1087s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1087s # break; 1087s # case G_TYPE_UINT: 1087s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1087s # break; 1087s # case G_TYPE_INT64: 1087s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1087s # break; 1087s # case G_TYPE_UINT64: 1087s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1087s # break; 1087s # case G_TYPE_DOUBLE: 1087s # { 1087s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1087s # gdouble da = g_value_get_double (a); 1087s # gdouble db = g_value_get_double (b); 1087s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1087s # } 1087s # break; 1087s # case G_TYPE_STRING: 1087s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1087s # break; 1087s # case G_TYPE_VARIANT: 1087s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1087s # break; 1087s # default: 1087s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1087s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1087s # else 1087s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1087s # break; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.SignalingIface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectSignalingIface 1087s # * @title: OrgProjectSignalingIface 1087s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1087s # */ 1087s # 1087s # enum 1087s # { 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1087s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1087s # }; 1087s # 1087s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1087s # 1087s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SimpleSignal", 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "simple-signal" 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "arg_b", 1087s # (gchar *) "b", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgSignalB", 1087s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1087s # NULL 1087s # }, 1087s # "single-arg-signal-b" 1087s # }; 1087s # 1087s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.SignalingIface", 1087s # NULL, 1087s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-signaling-iface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_signaling_iface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_signaling_iface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_simple_signal ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__VOID (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceIface: 1087s # * @parent_iface: The parent interface. 1087s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1087s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1087s # * 1087s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1087s # */ 1087s # 1087s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1087s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1087s # 1087s # static void 1087s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1087s # { 1087s # /* GObject signals for received D-Bus signals: */ 1087s # /** 1087s # * OrgProjectSignalingIface::simple-signal: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1087s # g_signal_new ("simple-signal", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_simple_signal, 1087s # G_TYPE_NONE, 1087s # 0); 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface::single-arg-signal-b: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_arg_b: Argument. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1087s # g_signal_new ("single-arg-signal-b", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1087s # G_TYPE_NONE, 1087s # 1, G_TYPE_BOOLEAN); 1087s # 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_simple_signal: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * 1087s # * Emits the "SimpleSignal" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_simple_signal ( 1087s # OrgProjectSignalingIface *object) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_single_arg_signal_b: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_arg_b: Argument to pass with the signal. 1087s # * 1087s # * Emits the "SingleArgSignalB" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_single_arg_signal_b ( 1087s # OrgProjectSignalingIface *object, 1087s # gboolean arg_arg_b) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceProxy: 1087s # * 1087s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceProxyClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectSignalingIfaceProxy. 1087s # */ 1087s # 1087s # struct _OrgProjectSignalingIfaceProxyPrivate 1087s # { 1087s # GData *qdata; 1087s # }; 1087s # 1087s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_signaling_iface_proxy_finalize (GObject *object) 1087s # { 1087s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1087s # g_datalist_clear (&proxy->priv->qdata); 1087s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # const GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1087s # const gchar *sender_name G_GNUC_UNUSED, 1087s # const gchar *signal_name, 1087s # GVariant *parameters) 1087s # { 1087s # _ExtendedGDBusSignalInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # gsize n; 1087s # guint signal_id; 1087s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1087s # if (info == NULL) 1087s # return; 1087s # num_params = g_variant_n_children (parameters); 1087s # paramv = g_new0 (GValue, num_params + 1); 1087s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_set_object (¶mv[0], proxy); 1087s # g_variant_iter_init (&iter, parameters); 1087s # n = 1; 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_signal_emitv (paramv, signal_id, 0, NULL); 1087s # for (n = 0; n < num_params + 1; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1087s # GVariant *changed_properties, 1087s # const gchar *const *invalidated_properties) 1087s # { 1087s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1087s # guint n; 1087s # const gchar *key; 1087s # GVariantIter *iter; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # g_variant_get (changed_properties, "a{sv}", &iter); 1087s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1087s # g_datalist_remove_data (&proxy->priv->qdata, key); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # g_variant_iter_free (iter); 1087s # for (n = 0; invalidated_properties[n] != NULL; n++) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1087s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1087s # #else 1087s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1087s # #endif 1087s # 1087s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusProxyClass *proxy_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1087s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1087s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1087s # 1087s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1087s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1087s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_proxy_new ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # 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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_sync: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_sync ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # 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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceSkeleton: 1087s # * 1087s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1087s # */ 1087s # 1087s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _org_project_signaling_iface_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _org_project_signaling_iface_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # GVariant *ret; 1087s # ret = NULL; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # g_value_init (&value, pspec->value_type); 1087s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1087s # g_value_unset (&value); 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _org_project_signaling_iface_skeleton_handle_set_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GVariant *variant, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # gboolean ret; 1087s # ret = FALSE; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # if (info->use_gvariant) 1087s # g_value_set_variant (&value, variant); 1087s # else 1087s # g_dbus_gvariant_to_gvalue (variant, &value); 1087s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # g_value_unset (&value); 1087s # ret = TRUE; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1087s # { 1087s # _org_project_signaling_iface_skeleton_handle_method_call, 1087s # _org_project_signaling_iface_skeleton_handle_get_property, 1087s # _org_project_signaling_iface_skeleton_handle_set_property, 1087s # {NULL} 1087s # }; 1087s # 1087s # static GDBusInterfaceInfo * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return org_project_signaling_iface_interface_info (); 1087s # } 1087s # 1087s # static GDBusInterfaceVTable * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1087s # } 1087s # 1087s # static GVariant * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1087s # 1087s # GVariantBuilder builder; 1087s # guint n; 1087s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1087s # goto out; 1087s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1087s # { 1087s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1087s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1087s # { 1087s # GVariant *value; 1087s # 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); 1087s # if (value != NULL) 1087s # { 1087s # g_variant_take_ref (value); 1087s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1087s # g_variant_unref (value); 1087s # } 1087s # } 1087s # } 1087s # out: 1087s # return g_variant_builder_end (&builder); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_simple_signal ( 1087s # OrgProjectSignalingIface *object) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1087s # OrgProjectSignalingIface *object, 1087s # gboolean arg_arg_b) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1087s # arg_arg_b)); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1087s # if (skeleton->priv->changed_properties_idle_source != NULL) 1087s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1087s # g_main_context_unref (skeleton->priv->context); 1087s # g_mutex_clear (&skeleton->priv->lock); 1087s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1087s # #else 1087s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1087s # #endif 1087s # 1087s # g_mutex_init (&skeleton->priv->lock); 1087s # skeleton->priv->context = g_main_context_ref_thread_default (); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusInterfaceSkeletonClass *skeleton_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1087s # 1087s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1087s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1087s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1087s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1087s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1087s # { 1087s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1087s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_skeleton_new: 1087s # * 1087s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_skeleton_new (void) 1087s # { 1087s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1087s # } 1087s # /tmp/tmptjxrmpdg/tmp08yma9vj.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptjxrmpdg/tmp08yma9vj.xml', '--output', '-', '--body'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: /* 1087s # * This file is generated by gdbus-codegen, do not modify it. 1087s # * 1087s # * The license of this code is the same as for the D-Bus interface description 1087s # * it was derived from. Note that it links to GLib, so must comply with the 1087s # * LGPL linking clauses. 1087s # */ 1087s # 1087s # #ifdef HAVE_CONFIG_H 1087s # # include "config.h" 1087s # #endif 1087s # 1087s # #include 1087s # #ifdef G_OS_UNIX 1087s # # include 1087s # #endif 1087s # 1087s # #ifdef G_ENABLE_DEBUG 1087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1087s # #else /* !G_ENABLE_DEBUG */ 1087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1087s # * Do not access GValues directly in your code. Instead, use the 1087s # * g_value_get_*() functions 1087s # */ 1087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1087s # #endif /* !G_ENABLE_DEBUG */ 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusArgInfo parent_struct; 1087s # gboolean use_gvariant; 1087s # } _ExtendedGDBusArgInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusMethodInfo parent_struct; 1087s # const gchar *signal_name; 1087s # gboolean pass_fdlist; 1087s # } _ExtendedGDBusMethodInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusSignalInfo parent_struct; 1087s # const gchar *signal_name; 1087s # } _ExtendedGDBusSignalInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusPropertyInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # guint use_gvariant : 1; 1087s # guint emits_changed_signal : 1; 1087s # } _ExtendedGDBusPropertyInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusInterfaceInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # } _ExtendedGDBusInterfaceInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # const _ExtendedGDBusPropertyInfo *info; 1087s # guint prop_id; 1087s # GValue orig_value; /* the value before the change */ 1087s # } ChangedProperty; 1087s # 1087s # static void 1087s # _changed_property_free (ChangedProperty *data) 1087s # { 1087s # g_value_unset (&data->orig_value); 1087s # g_free (data); 1087s # } 1087s # 1087s # static gboolean 1087s # _g_strv_equal0 (gchar **a, gchar **b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # guint n; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # if (g_strv_length (a) != g_strv_length (b)) 1087s # goto out; 1087s # for (n = 0; a[n] != NULL; n++) 1087s # if (g_strcmp0 (a[n], b[n]) != 0) 1087s # goto out; 1087s # ret = TRUE; 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _g_variant_equal0 (GVariant *a, GVariant *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # ret = g_variant_equal (a, b); 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # G_GNUC_UNUSED static gboolean 1087s # _g_value_equal (const GValue *a, const GValue *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1087s # switch (G_VALUE_TYPE (a)) 1087s # { 1087s # case G_TYPE_BOOLEAN: 1087s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1087s # break; 1087s # case G_TYPE_UCHAR: 1087s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1087s # break; 1087s # case G_TYPE_INT: 1087s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1087s # break; 1087s # case G_TYPE_UINT: 1087s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1087s # break; 1087s # case G_TYPE_INT64: 1087s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1087s # break; 1087s # case G_TYPE_UINT64: 1087s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1087s # break; 1087s # case G_TYPE_DOUBLE: 1087s # { 1087s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1087s # gdouble da = g_value_get_double (a); 1087s # gdouble db = g_value_get_double (b); 1087s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1087s # } 1087s # break; 1087s # case G_TYPE_STRING: 1087s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1087s # break; 1087s # case G_TYPE_VARIANT: 1087s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1087s # break; 1087s # default: 1087s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1087s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1087s # else 1087s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1087s # break; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.SignalingIface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectSignalingIface 1087s # * @title: OrgProjectSignalingIface 1087s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1087s # */ 1087s # 1087s # enum 1087s # { 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1087s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1087s # }; 1087s # 1087s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1087s # 1087s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SimpleSignal", 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "simple-signal" 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "arg_y", 1087s # (gchar *) "y", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgSignalY", 1087s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1087s # NULL 1087s # }, 1087s # "single-arg-signal-y" 1087s # }; 1087s # 1087s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.SignalingIface", 1087s # NULL, 1087s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-signaling-iface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_signaling_iface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_signaling_iface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_simple_signal ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__VOID (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__UCHAR (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceIface: 1087s # * @parent_iface: The parent interface. 1087s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1087s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1087s # * 1087s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1087s # */ 1087s # 1087s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1087s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1087s # 1087s # static void 1087s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1087s # { 1087s # /* GObject signals for received D-Bus signals: */ 1087s # /** 1087s # * OrgProjectSignalingIface::simple-signal: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1087s # g_signal_new ("simple-signal", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_simple_signal, 1087s # G_TYPE_NONE, 1087s # 0); 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface::single-arg-signal-y: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_arg_y: Argument. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1087s # g_signal_new ("single-arg-signal-y", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1087s # G_TYPE_NONE, 1087s # 1, G_TYPE_UCHAR); 1087s # 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_simple_signal: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * 1087s # * Emits the "SimpleSignal" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_simple_signal ( 1087s # OrgProjectSignalingIface *object) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_single_arg_signal_y: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_arg_y: Argument to pass with the signal. 1087s # * 1087s # * Emits the "SingleArgSignalY" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_single_arg_signal_y ( 1087s # OrgProjectSignalingIface *object, 1087s # guchar arg_arg_y) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceProxy: 1087s # * 1087s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceProxyClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectSignalingIfaceProxy. 1087s # */ 1087s # 1087s # struct _OrgProjectSignalingIfaceProxyPrivate 1087s # { 1087s # GData *qdata; 1087s # }; 1087s # 1087s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_signaling_iface_proxy_finalize (GObject *object) 1087s # { 1087s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1087s # g_datalist_clear (&proxy->priv->qdata); 1087s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # const GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1087s # const gchar *sender_name G_GNUC_UNUSED, 1087s # const gchar *signal_name, 1087s # GVariant *parameters) 1087s # { 1087s # _ExtendedGDBusSignalInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # gsize n; 1087s # guint signal_id; 1087s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1087s # if (info == NULL) 1087s # return; 1087s # num_params = g_variant_n_children (parameters); 1087s # paramv = g_new0 (GValue, num_params + 1); 1087s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_set_object (¶mv[0], proxy); 1087s # g_variant_iter_init (&iter, parameters); 1087s # n = 1; 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_signal_emitv (paramv, signal_id, 0, NULL); 1087s # for (n = 0; n < num_params + 1; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1087s # GVariant *changed_properties, 1087s # const gchar *const *invalidated_properties) 1087s # { 1087s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1087s # guint n; 1087s # const gchar *key; 1087s # GVariantIter *iter; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # g_variant_get (changed_properties, "a{sv}", &iter); 1087s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1087s # g_datalist_remove_data (&proxy->priv->qdata, key); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # g_variant_iter_free (iter); 1087s # for (n = 0; invalidated_properties[n] != NULL; n++) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1087s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1087s # #else 1087s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1087s # #endif 1087s # 1087s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusProxyClass *proxy_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1087s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1087s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1087s # 1087s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1087s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1087s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_proxy_new ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # 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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_sync: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_sync ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # 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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceSkeleton: 1087s # * 1087s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1087s # */ 1087s # 1087s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _org_project_signaling_iface_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _org_project_signaling_iface_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # GVariant *ret; 1087s # ret = NULL; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # g_value_init (&value, pspec->value_type); 1087s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1087s # g_value_unset (&value); 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _org_project_signaling_iface_skeleton_handle_set_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GVariant *variant, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # gboolean ret; 1087s # ret = FALSE; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # if (info->use_gvariant) 1087s # g_value_set_variant (&value, variant); 1087s # else 1087s # g_dbus_gvariant_to_gvalue (variant, &value); 1087s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # g_value_unset (&value); 1087s # ret = TRUE; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1087s # { 1087s # _org_project_signaling_iface_skeleton_handle_method_call, 1087s # _org_project_signaling_iface_skeleton_handle_get_property, 1087s # _org_project_signaling_iface_skeleton_handle_set_property, 1087s # {NULL} 1087s # }; 1087s # 1087s # static GDBusInterfaceInfo * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return org_project_signaling_iface_interface_info (); 1087s # } 1087s # 1087s # static GDBusInterfaceVTable * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1087s # } 1087s # 1087s # static GVariant * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1087s # 1087s # GVariantBuilder builder; 1087s # guint n; 1087s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1087s # goto out; 1087s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1087s # { 1087s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1087s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1087s # { 1087s # GVariant *value; 1087s # 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); 1087s # if (value != NULL) 1087s # { 1087s # g_variant_take_ref (value); 1087s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1087s # g_variant_unref (value); 1087s # } 1087s # } 1087s # } 1087s # out: 1087s # return g_variant_builder_end (&builder); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_simple_signal ( 1087s # OrgProjectSignalingIface *object) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1087s # OrgProjectSignalingIface *object, 1087s # guchar arg_arg_y) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1087s # arg_arg_y)); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1087s # if (skeleton->priv->changed_properties_idle_source != NULL) 1087s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1087s # g_main_context_unref (skeleton->priv->context); 1087s # g_mutex_clear (&skeleton->priv->lock); 1087s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1087s # #else 1087s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1087s # #endif 1087s # 1087s # g_mutex_init (&skeleton->priv->lock); 1087s # skeleton->priv->context = g_main_context_ref_thread_default (); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusInterfaceSkeletonClass *skeleton_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1087s # 1087s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1087s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1087s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1087s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1087s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1087s # { 1087s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1087s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_skeleton_new: 1087s # * 1087s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_skeleton_new (void) 1087s # { 1087s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1087s # } 1087s # /tmp/tmptjxrmpdg/tmpqq91ohol.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptjxrmpdg/tmpqq91ohol.xml', '--output', '-', '--body'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: /* 1087s # * This file is generated by gdbus-codegen, do not modify it. 1087s # * 1087s # * The license of this code is the same as for the D-Bus interface description 1087s # * it was derived from. Note that it links to GLib, so must comply with the 1087s # * LGPL linking clauses. 1087s # */ 1087s # 1087s # #ifdef HAVE_CONFIG_H 1087s # # include "config.h" 1087s # #endif 1087s # 1087s # #include 1087s # #ifdef G_OS_UNIX 1087s # # include 1087s # #endif 1087s # 1087s # #ifdef G_ENABLE_DEBUG 1087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1087s # #else /* !G_ENABLE_DEBUG */ 1087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1087s # * Do not access GValues directly in your code. Instead, use the 1087s # * g_value_get_*() functions 1087s # */ 1087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1087s # #endif /* !G_ENABLE_DEBUG */ 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusArgInfo parent_struct; 1087s # gboolean use_gvariant; 1087s # } _ExtendedGDBusArgInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusMethodInfo parent_struct; 1087s # const gchar *signal_name; 1087s # gboolean pass_fdlist; 1087s # } _ExtendedGDBusMethodInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusSignalInfo parent_struct; 1087s # const gchar *signal_name; 1087s # } _ExtendedGDBusSignalInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusPropertyInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # guint use_gvariant : 1; 1087s # guint emits_changed_signal : 1; 1087s # } _ExtendedGDBusPropertyInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusInterfaceInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # } _ExtendedGDBusInterfaceInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # const _ExtendedGDBusPropertyInfo *info; 1087s # guint prop_id; 1087s # GValue orig_value; /* the value before the change */ 1087s # } ChangedProperty; 1087s # 1087s # static void 1087s # _changed_property_free (ChangedProperty *data) 1087s # { 1087s # g_value_unset (&data->orig_value); 1087s # g_free (data); 1087s # } 1087s # 1087s # static gboolean 1087s # _g_strv_equal0 (gchar **a, gchar **b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # guint n; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # if (g_strv_length (a) != g_strv_length (b)) 1087s # goto out; 1087s # for (n = 0; a[n] != NULL; n++) 1087s # if (g_strcmp0 (a[n], b[n]) != 0) 1087s # goto out; 1087s # ret = TRUE; 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _g_variant_equal0 (GVariant *a, GVariant *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # ret = g_variant_equal (a, b); 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # G_GNUC_UNUSED static gboolean 1087s # _g_value_equal (const GValue *a, const GValue *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1087s # switch (G_VALUE_TYPE (a)) 1087s # { 1087s # case G_TYPE_BOOLEAN: 1087s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1087s # break; 1087s # case G_TYPE_UCHAR: 1087s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1087s # break; 1087s # case G_TYPE_INT: 1087s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1087s # break; 1087s # case G_TYPE_UINT: 1087s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1087s # break; 1087s # case G_TYPE_INT64: 1087s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1087s # break; 1087s # case G_TYPE_UINT64: 1087s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1087s # break; 1087s # case G_TYPE_DOUBLE: 1087s # { 1087s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1087s # gdouble da = g_value_get_double (a); 1087s # gdouble db = g_value_get_double (b); 1087s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1087s # } 1087s # break; 1087s # case G_TYPE_STRING: 1087s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1087s # break; 1087s # case G_TYPE_VARIANT: 1087s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1087s # break; 1087s # default: 1087s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1087s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1087s # else 1087s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1087s # break; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.SignalingIface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectSignalingIface 1087s # * @title: OrgProjectSignalingIface 1087s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1087s # */ 1087s # 1087s # enum 1087s # { 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1087s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1087s # }; 1087s # 1087s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1087s # 1087s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SimpleSignal", 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "simple-signal" 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "arg_n", 1087s # (gchar *) "n", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgSignalN", 1087s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1087s # NULL 1087s # }, 1087s # "single-arg-signal-n" 1087s # }; 1087s # 1087s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.SignalingIface", 1087s # NULL, 1087s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-signaling-iface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_signaling_iface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_signaling_iface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_simple_signal ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__VOID (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__INT (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceIface: 1087s # * @parent_iface: The parent interface. 1087s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1087s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1087s # * 1087s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1087s # */ 1087s # 1087s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1087s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1087s # 1087s # static void 1087s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1087s # { 1087s # /* GObject signals for received D-Bus signals: */ 1087s # /** 1087s # * OrgProjectSignalingIface::simple-signal: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1087s # g_signal_new ("simple-signal", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_simple_signal, 1087s # G_TYPE_NONE, 1087s # 0); 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface::single-arg-signal-n: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_arg_n: Argument. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1087s # g_signal_new ("single-arg-signal-n", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1087s # G_TYPE_NONE, 1087s # 1, G_TYPE_INT); 1087s # 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_simple_signal: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * 1087s # * Emits the "SimpleSignal" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_simple_signal ( 1087s # OrgProjectSignalingIface *object) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_single_arg_signal_n: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_arg_n: Argument to pass with the signal. 1087s # * 1087s # * Emits the "SingleArgSignalN" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_single_arg_signal_n ( 1087s # OrgProjectSignalingIface *object, 1087s # gint16 arg_arg_n) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceProxy: 1087s # * 1087s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceProxyClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectSignalingIfaceProxy. 1087s # */ 1087s # 1087s # struct _OrgProjectSignalingIfaceProxyPrivate 1087s # { 1087s # GData *qdata; 1087s # }; 1087s # 1087s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_signaling_iface_proxy_finalize (GObject *object) 1087s # { 1087s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1087s # g_datalist_clear (&proxy->priv->qdata); 1087s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # const GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1087s # const gchar *sender_name G_GNUC_UNUSED, 1087s # const gchar *signal_name, 1087s # GVariant *parameters) 1087s # { 1087s # _ExtendedGDBusSignalInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # gsize n; 1087s # guint signal_id; 1087s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1087s # if (info == NULL) 1087s # return; 1087s # num_params = g_variant_n_children (parameters); 1087s # paramv = g_new0 (GValue, num_params + 1); 1087s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_set_object (¶mv[0], proxy); 1087s # g_variant_iter_init (&iter, parameters); 1087s # n = 1; 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_signal_emitv (paramv, signal_id, 0, NULL); 1087s # for (n = 0; n < num_params + 1; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1087s # GVariant *changed_properties, 1087s # const gchar *const *invalidated_properties) 1087s # { 1087s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1087s # guint n; 1087s # const gchar *key; 1087s # GVariantIter *iter; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # g_variant_get (changed_properties, "a{sv}", &iter); 1087s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1087s # g_datalist_remove_data (&proxy->priv->qdata, key); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # g_variant_iter_free (iter); 1087s # for (n = 0; invalidated_properties[n] != NULL; n++) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1087s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1087s # #else 1087s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1087s # #endif 1087s # 1087s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusProxyClass *proxy_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1087s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1087s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1087s # 1087s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1087s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1087s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_proxy_new ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # 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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_sync: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_sync ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # 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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceSkeleton: 1087s # * 1087s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1087s # */ 1087s # 1087s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _org_project_signaling_iface_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _org_project_signaling_iface_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # GVariant *ret; 1087s # ret = NULL; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # g_value_init (&value, pspec->value_type); 1087s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1087s # g_value_unset (&value); 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _org_project_signaling_iface_skeleton_handle_set_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GVariant *variant, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # gboolean ret; 1087s # ret = FALSE; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # if (info->use_gvariant) 1087s # g_value_set_variant (&value, variant); 1087s # else 1087s # g_dbus_gvariant_to_gvalue (variant, &value); 1087s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # g_value_unset (&value); 1087s # ret = TRUE; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1087s # { 1087s # _org_project_signaling_iface_skeleton_handle_method_call, 1087s # _org_project_signaling_iface_skeleton_handle_get_property, 1087s # _org_project_signaling_iface_skeleton_handle_set_property, 1087s # {NULL} 1087s # }; 1087s # 1087s # static GDBusInterfaceInfo * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return org_project_signaling_iface_interface_info (); 1087s # } 1087s # 1087s # static GDBusInterfaceVTable * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1087s # } 1087s # 1087s # static GVariant * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1087s # 1087s # GVariantBuilder builder; 1087s # guint n; 1087s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1087s # goto out; 1087s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1087s # { 1087s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1087s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1087s # { 1087s # GVariant *value; 1087s # 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); 1087s # if (value != NULL) 1087s # { 1087s # g_variant_take_ref (value); 1087s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1087s # g_variant_unref (value); 1087s # } 1087s # } 1087s # } 1087s # out: 1087s # return g_variant_builder_end (&builder); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_simple_signal ( 1087s # OrgProjectSignalingIface *object) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1087s # OrgProjectSignalingIface *object, 1087s # gint16 arg_arg_n) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1087s # arg_arg_n)); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1087s # if (skeleton->priv->changed_properties_idle_source != NULL) 1087s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1087s # g_main_context_unref (skeleton->priv->context); 1087s # g_mutex_clear (&skeleton->priv->lock); 1087s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1087s # #else 1087s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1087s # #endif 1087s # 1087s # g_mutex_init (&skeleton->priv->lock); 1087s # skeleton->priv->context = g_main_context_ref_thread_default (); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusInterfaceSkeletonClass *skeleton_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1087s # 1087s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1087s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1087s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1087s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1087s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1087s # { 1087s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1087s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_skeleton_new: 1087s # * 1087s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_skeleton_new (void) 1087s # { 1087s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1087s # } 1087s # /tmp/tmptjxrmpdg/tmph64a3st3.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptjxrmpdg/tmph64a3st3.xml', '--output', '-', '--body'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: /* 1087s # * This file is generated by gdbus-codegen, do not modify it. 1087s # * 1087s # * The license of this code is the same as for the D-Bus interface description 1087s # * it was derived from. Note that it links to GLib, so must comply with the 1087s # * LGPL linking clauses. 1087s # */ 1087s # 1087s # #ifdef HAVE_CONFIG_H 1087s # # include "config.h" 1087s # #endif 1087s # 1087s # #include 1087s # #ifdef G_OS_UNIX 1087s # # include 1087s # #endif 1087s # 1087s # #ifdef G_ENABLE_DEBUG 1087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1087s # #else /* !G_ENABLE_DEBUG */ 1087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1087s # * Do not access GValues directly in your code. Instead, use the 1087s # * g_value_get_*() functions 1087s # */ 1087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1087s # #endif /* !G_ENABLE_DEBUG */ 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusArgInfo parent_struct; 1087s # gboolean use_gvariant; 1087s # } _ExtendedGDBusArgInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusMethodInfo parent_struct; 1087s # const gchar *signal_name; 1087s # gboolean pass_fdlist; 1087s # } _ExtendedGDBusMethodInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusSignalInfo parent_struct; 1087s # const gchar *signal_name; 1087s # } _ExtendedGDBusSignalInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusPropertyInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # guint use_gvariant : 1; 1087s # guint emits_changed_signal : 1; 1087s # } _ExtendedGDBusPropertyInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusInterfaceInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # } _ExtendedGDBusInterfaceInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # const _ExtendedGDBusPropertyInfo *info; 1087s # guint prop_id; 1087s # GValue orig_value; /* the value before the change */ 1087s # } ChangedProperty; 1087s # 1087s # static void 1087s # _changed_property_free (ChangedProperty *data) 1087s # { 1087s # g_value_unset (&data->orig_value); 1087s # g_free (data); 1087s # } 1087s # 1087s # static gboolean 1087s # _g_strv_equal0 (gchar **a, gchar **b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # guint n; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # if (g_strv_length (a) != g_strv_length (b)) 1087s # goto out; 1087s # for (n = 0; a[n] != NULL; n++) 1087s # if (g_strcmp0 (a[n], b[n]) != 0) 1087s # goto out; 1087s # ret = TRUE; 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _g_variant_equal0 (GVariant *a, GVariant *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # ret = g_variant_equal (a, b); 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # G_GNUC_UNUSED static gboolean 1087s # _g_value_equal (const GValue *a, const GValue *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1087s # switch (G_VALUE_TYPE (a)) 1087s # { 1087s # case G_TYPE_BOOLEAN: 1087s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1087s # break; 1087s # case G_TYPE_UCHAR: 1087s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1087s # break; 1087s # case G_TYPE_INT: 1087s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1087s # break; 1087s # case G_TYPE_UINT: 1087s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1087s # break; 1087s # case G_TYPE_INT64: 1087s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1087s # break; 1087s # case G_TYPE_UINT64: 1087s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1087s # break; 1087s # case G_TYPE_DOUBLE: 1087s # { 1087s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1087s # gdouble da = g_value_get_double (a); 1087s # gdouble db = g_value_get_double (b); 1087s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1087s # } 1087s # break; 1087s # case G_TYPE_STRING: 1087s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1087s # break; 1087s # case G_TYPE_VARIANT: 1087s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1087s # break; 1087s # default: 1087s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1087s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1087s # else 1087s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1087s # break; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.SignalingIface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectSignalingIface 1087s # * @title: OrgProjectSignalingIface 1087s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1087s # */ 1087s # 1087s # enum 1087s # { 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1087s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1087s # }; 1087s # 1087s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1087s # 1087s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SimpleSignal", 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "simple-signal" 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "arg_q", 1087s # (gchar *) "q", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgSignalQ", 1087s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1087s # NULL 1087s # }, 1087s # "single-arg-signal-q" 1087s # }; 1087s # 1087s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.SignalingIface", 1087s # NULL, 1087s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-signaling-iface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_signaling_iface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_signaling_iface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_simple_signal ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__VOID (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__UINT (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceIface: 1087s # * @parent_iface: The parent interface. 1087s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1087s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1087s # * 1087s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1087s # */ 1087s # 1087s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1087s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1087s # 1087s # static void 1087s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1087s # { 1087s # /* GObject signals for received D-Bus signals: */ 1087s # /** 1087s # * OrgProjectSignalingIface::simple-signal: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1087s # g_signal_new ("simple-signal", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_simple_signal, 1087s # G_TYPE_NONE, 1087s # 0); 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface::single-arg-signal-q: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_arg_q: Argument. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1087s # g_signal_new ("single-arg-signal-q", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1087s # G_TYPE_NONE, 1087s # 1, G_TYPE_UINT); 1087s # 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_simple_signal: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * 1087s # * Emits the "SimpleSignal" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_simple_signal ( 1087s # OrgProjectSignalingIface *object) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_single_arg_signal_q: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_arg_q: Argument to pass with the signal. 1087s # * 1087s # * Emits the "SingleArgSignalQ" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_single_arg_signal_q ( 1087s # OrgProjectSignalingIface *object, 1087s # guint16 arg_arg_q) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceProxy: 1087s # * 1087s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceProxyClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectSignalingIfaceProxy. 1087s # */ 1087s # 1087s # struct _OrgProjectSignalingIfaceProxyPrivate 1087s # { 1087s # GData *qdata; 1087s # }; 1087s # 1087s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_signaling_iface_proxy_finalize (GObject *object) 1087s # { 1087s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1087s # g_datalist_clear (&proxy->priv->qdata); 1087s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # const GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1087s # const gchar *sender_name G_GNUC_UNUSED, 1087s # const gchar *signal_name, 1087s # GVariant *parameters) 1087s # { 1087s # _ExtendedGDBusSignalInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # gsize n; 1087s # guint signal_id; 1087s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1087s # if (info == NULL) 1087s # return; 1087s # num_params = g_variant_n_children (parameters); 1087s # paramv = g_new0 (GValue, num_params + 1); 1087s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_set_object (¶mv[0], proxy); 1087s # g_variant_iter_init (&iter, parameters); 1087s # n = 1; 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_signal_emitv (paramv, signal_id, 0, NULL); 1087s # for (n = 0; n < num_params + 1; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1087s # GVariant *changed_properties, 1087s # const gchar *const *invalidated_properties) 1087s # { 1087s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1087s # guint n; 1087s # const gchar *key; 1087s # GVariantIter *iter; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # g_variant_get (changed_properties, "a{sv}", &iter); 1087s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1087s # g_datalist_remove_data (&proxy->priv->qdata, key); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # g_variant_iter_free (iter); 1087s # for (n = 0; invalidated_properties[n] != NULL; n++) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1087s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1087s # #else 1087s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1087s # #endif 1087s # 1087s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusProxyClass *proxy_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1087s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1087s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1087s # 1087s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1087s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1087s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_proxy_new ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # 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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_sync: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_sync ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # 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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceSkeleton: 1087s # * 1087s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1087s # */ 1087s # 1087s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _org_project_signaling_iface_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _org_project_signaling_iface_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # GVariant *ret; 1087s # ret = NULL; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # g_value_init (&value, pspec->value_type); 1087s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1087s # g_value_unset (&value); 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _org_project_signaling_iface_skeleton_handle_set_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GVariant *variant, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # gboolean ret; 1087s # ret = FALSE; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # if (info->use_gvariant) 1087s # g_value_set_variant (&value, variant); 1087s # else 1087s # g_dbus_gvariant_to_gvalue (variant, &value); 1087s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # g_value_unset (&value); 1087s # ret = TRUE; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1087s # { 1087s # _org_project_signaling_iface_skeleton_handle_method_call, 1087s # _org_project_signaling_iface_skeleton_handle_get_property, 1087s # _org_project_signaling_iface_skeleton_handle_set_property, 1087s # {NULL} 1087s # }; 1087s # 1087s # static GDBusInterfaceInfo * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return org_project_signaling_iface_interface_info (); 1087s # } 1087s # 1087s # static GDBusInterfaceVTable * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1087s # } 1087s # 1087s # static GVariant * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1087s # 1087s # GVariantBuilder builder; 1087s # guint n; 1087s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1087s # goto out; 1087s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1087s # { 1087s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1087s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1087s # { 1087s # GVariant *value; 1087s # 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); 1087s # if (value != NULL) 1087s # { 1087s # g_variant_take_ref (value); 1087s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1087s # g_variant_unref (value); 1087s # } 1087s # } 1087s # } 1087s # out: 1087s # return g_variant_builder_end (&builder); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_simple_signal ( 1087s # OrgProjectSignalingIface *object) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1087s # OrgProjectSignalingIface *object, 1087s # guint16 arg_arg_q) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1087s # arg_arg_q)); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1087s # if (skeleton->priv->changed_properties_idle_source != NULL) 1087s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1087s # g_main_context_unref (skeleton->priv->context); 1087s # g_mutex_clear (&skeleton->priv->lock); 1087s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1087s # #else 1087s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1087s # #endif 1087s # 1087s # g_mutex_init (&skeleton->priv->lock); 1087s # skeleton->priv->context = g_main_context_ref_thread_default (); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusInterfaceSkeletonClass *skeleton_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1087s # 1087s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1087s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1087s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1087s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1087s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1087s # { 1087s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1087s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_skeleton_new: 1087s # * 1087s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_skeleton_new (void) 1087s # { 1087s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1087s # } 1087s # /tmp/tmptjxrmpdg/tmpgxmlxw_k.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptjxrmpdg/tmpgxmlxw_k.xml', '--output', '-', '--body'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: /* 1087s # * This file is generated by gdbus-codegen, do not modify it. 1087s # * 1087s # * The license of this code is the same as for the D-Bus interface description 1087s # * it was derived from. Note that it links to GLib, so must comply with the 1087s # * LGPL linking clauses. 1087s # */ 1087s # 1087s # #ifdef HAVE_CONFIG_H 1087s # # include "config.h" 1087s # #endif 1087s # 1087s # #include 1087s # #ifdef G_OS_UNIX 1087s # # include 1087s # #endif 1087s # 1087s # #ifdef G_ENABLE_DEBUG 1087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1087s # #else /* !G_ENABLE_DEBUG */ 1087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1087s # * Do not access GValues directly in your code. Instead, use the 1087s # * g_value_get_*() functions 1087s # */ 1087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1087s # #endif /* !G_ENABLE_DEBUG */ 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusArgInfo parent_struct; 1087s # gboolean use_gvariant; 1087s # } _ExtendedGDBusArgInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusMethodInfo parent_struct; 1087s # const gchar *signal_name; 1087s # gboolean pass_fdlist; 1087s # } _ExtendedGDBusMethodInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusSignalInfo parent_struct; 1087s # const gchar *signal_name; 1087s # } _ExtendedGDBusSignalInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusPropertyInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # guint use_gvariant : 1; 1087s # guint emits_changed_signal : 1; 1087s # } _ExtendedGDBusPropertyInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusInterfaceInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # } _ExtendedGDBusInterfaceInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # const _ExtendedGDBusPropertyInfo *info; 1087s # guint prop_id; 1087s # GValue orig_value; /* the value before the change */ 1087s # } ChangedProperty; 1087s # 1087s # static void 1087s # _changed_property_free (ChangedProperty *data) 1087s # { 1087s # g_value_unset (&data->orig_value); 1087s # g_free (data); 1087s # } 1087s # 1087s # static gboolean 1087s # _g_strv_equal0 (gchar **a, gchar **b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # guint n; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # if (g_strv_length (a) != g_strv_length (b)) 1087s # goto out; 1087s # for (n = 0; a[n] != NULL; n++) 1087s # if (g_strcmp0 (a[n], b[n]) != 0) 1087s # goto out; 1087s # ret = TRUE; 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _g_variant_equal0 (GVariant *a, GVariant *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # ret = g_variant_equal (a, b); 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # G_GNUC_UNUSED static gboolean 1087s # _g_value_equal (const GValue *a, const GValue *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1087s # switch (G_VALUE_TYPE (a)) 1087s # { 1087s # case G_TYPE_BOOLEAN: 1087s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1087s # break; 1087s # case G_TYPE_UCHAR: 1087s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1087s # break; 1087s # case G_TYPE_INT: 1087s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1087s # break; 1087s # case G_TYPE_UINT: 1087s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1087s # break; 1087s # case G_TYPE_INT64: 1087s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1087s # break; 1087s # case G_TYPE_UINT64: 1087s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1087s # break; 1087s # case G_TYPE_DOUBLE: 1087s # { 1087s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1087s # gdouble da = g_value_get_double (a); 1087s # gdouble db = g_value_get_double (b); 1087s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1087s # } 1087s # break; 1087s # case G_TYPE_STRING: 1087s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1087s # break; 1087s # case G_TYPE_VARIANT: 1087s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1087s # break; 1087s # default: 1087s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1087s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1087s # else 1087s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1087s # break; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.SignalingIface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectSignalingIface 1087s # * @title: OrgProjectSignalingIface 1087s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1087s # */ 1087s # 1087s # enum 1087s # { 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1087s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1087s # }; 1087s # 1087s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1087s # 1087s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SimpleSignal", 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "simple-signal" 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "arg_i", 1087s # (gchar *) "i", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgSignalI", 1087s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1087s # NULL 1087s # }, 1087s # "single-arg-signal-i" 1087s # }; 1087s # 1087s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.SignalingIface", 1087s # NULL, 1087s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-signaling-iface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_signaling_iface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_signaling_iface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_simple_signal ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__VOID (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__INT (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceIface: 1087s # * @parent_iface: The parent interface. 1087s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1087s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1087s # * 1087s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1087s # */ 1087s # 1087s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1087s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1087s # 1087s # static void 1087s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1087s # { 1087s # /* GObject signals for received D-Bus signals: */ 1087s # /** 1087s # * OrgProjectSignalingIface::simple-signal: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1087s # g_signal_new ("simple-signal", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_simple_signal, 1087s # G_TYPE_NONE, 1087s # 0); 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface::single-arg-signal-i: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_arg_i: Argument. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1087s # g_signal_new ("single-arg-signal-i", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1087s # G_TYPE_NONE, 1087s # 1, G_TYPE_INT); 1087s # 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_simple_signal: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * 1087s # * Emits the "SimpleSignal" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_simple_signal ( 1087s # OrgProjectSignalingIface *object) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_single_arg_signal_i: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_arg_i: Argument to pass with the signal. 1087s # * 1087s # * Emits the "SingleArgSignalI" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_single_arg_signal_i ( 1087s # OrgProjectSignalingIface *object, 1087s # gint arg_arg_i) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceProxy: 1087s # * 1087s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceProxyClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectSignalingIfaceProxy. 1087s # */ 1087s # 1087s # struct _OrgProjectSignalingIfaceProxyPrivate 1087s # { 1087s # GData *qdata; 1087s # }; 1087s # 1087s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_signaling_iface_proxy_finalize (GObject *object) 1087s # { 1087s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1087s # g_datalist_clear (&proxy->priv->qdata); 1087s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # const GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1087s # const gchar *sender_name G_GNUC_UNUSED, 1087s # const gchar *signal_name, 1087s # GVariant *parameters) 1087s # { 1087s # _ExtendedGDBusSignalInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # gsize n; 1087s # guint signal_id; 1087s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1087s # if (info == NULL) 1087s # return; 1087s # num_params = g_variant_n_children (parameters); 1087s # paramv = g_new0 (GValue, num_params + 1); 1087s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_set_object (¶mv[0], proxy); 1087s # g_variant_iter_init (&iter, parameters); 1087s # n = 1; 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_signal_emitv (paramv, signal_id, 0, NULL); 1087s # for (n = 0; n < num_params + 1; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1087s # GVariant *changed_properties, 1087s # const gchar *const *invalidated_properties) 1087s # { 1087s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1087s # guint n; 1087s # const gchar *key; 1087s # GVariantIter *iter; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # g_variant_get (changed_properties, "a{sv}", &iter); 1087s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1087s # g_datalist_remove_data (&proxy->priv->qdata, key); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # g_variant_iter_free (iter); 1087s # for (n = 0; invalidated_properties[n] != NULL; n++) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1087s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1087s # #else 1087s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1087s # #endif 1087s # 1087s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusProxyClass *proxy_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1087s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1087s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1087s # 1087s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1087s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1087s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_proxy_new ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # 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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_sync: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_sync ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # 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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceSkeleton: 1087s # * 1087s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1087s # */ 1087s # 1087s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _org_project_signaling_iface_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _org_project_signaling_iface_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # GVariant *ret; 1087s # ret = NULL; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # g_value_init (&value, pspec->value_type); 1087s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1087s # g_value_unset (&value); 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _org_project_signaling_iface_skeleton_handle_set_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GVariant *variant, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # gboolean ret; 1087s # ret = FALSE; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # if (info->use_gvariant) 1087s # g_value_set_variant (&value, variant); 1087s # else 1087s # g_dbus_gvariant_to_gvalue (variant, &value); 1087s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # g_value_unset (&value); 1087s # ret = TRUE; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1087s # { 1087s # _org_project_signaling_iface_skeleton_handle_method_call, 1087s # _org_project_signaling_iface_skeleton_handle_get_property, 1087s # _org_project_signaling_iface_skeleton_handle_set_property, 1087s # {NULL} 1087s # }; 1087s # 1087s # static GDBusInterfaceInfo * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return org_project_signaling_iface_interface_info (); 1087s # } 1087s # 1087s # static GDBusInterfaceVTable * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1087s # } 1087s # 1087s # static GVariant * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1087s # 1087s # GVariantBuilder builder; 1087s # guint n; 1087s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1087s # goto out; 1087s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1087s # { 1087s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1087s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1087s # { 1087s # GVariant *value; 1087s # 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); 1087s # if (value != NULL) 1087s # { 1087s # g_variant_take_ref (value); 1087s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1087s # g_variant_unref (value); 1087s # } 1087s # } 1087s # } 1087s # out: 1087s # return g_variant_builder_end (&builder); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_simple_signal ( 1087s # OrgProjectSignalingIface *object) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1087s # OrgProjectSignalingIface *object, 1087s # gint arg_arg_i) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1087s # arg_arg_i)); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1087s # if (skeleton->priv->changed_properties_idle_source != NULL) 1087s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1087s # g_main_context_unref (skeleton->priv->context); 1087s # g_mutex_clear (&skeleton->priv->lock); 1087s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1087s # #else 1087s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1087s # #endif 1087s # 1087s # g_mutex_init (&skeleton->priv->lock); 1087s # skeleton->priv->context = g_main_context_ref_thread_default (); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusInterfaceSkeletonClass *skeleton_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1087s # 1087s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1087s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1087s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1087s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1087s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1087s # { 1087s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1087s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_skeleton_new: 1087s # * 1087s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_skeleton_new (void) 1087s # { 1087s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1087s # } 1087s # /tmp/tmptjxrmpdg/tmpp59ycdyf.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptjxrmpdg/tmpp59ycdyf.xml', '--output', '-', '--body'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: /* 1087s # * This file is generated by gdbus-codegen, do not modify it. 1087s # * 1087s # * The license of this code is the same as for the D-Bus interface description 1087s # * it was derived from. Note that it links to GLib, so must comply with the 1087s # * LGPL linking clauses. 1087s # */ 1087s # 1087s # #ifdef HAVE_CONFIG_H 1087s # # include "config.h" 1087s # #endif 1087s # 1087s # #include 1087s # #ifdef G_OS_UNIX 1087s # # include 1087s # #endif 1087s # 1087s # #ifdef G_ENABLE_DEBUG 1087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1087s # #else /* !G_ENABLE_DEBUG */ 1087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1087s # * Do not access GValues directly in your code. Instead, use the 1087s # * g_value_get_*() functions 1087s # */ 1087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1087s # #endif /* !G_ENABLE_DEBUG */ 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusArgInfo parent_struct; 1087s # gboolean use_gvariant; 1087s # } _ExtendedGDBusArgInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusMethodInfo parent_struct; 1087s # const gchar *signal_name; 1087s # gboolean pass_fdlist; 1087s # } _ExtendedGDBusMethodInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusSignalInfo parent_struct; 1087s # const gchar *signal_name; 1087s # } _ExtendedGDBusSignalInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusPropertyInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # guint use_gvariant : 1; 1087s # guint emits_changed_signal : 1; 1087s # } _ExtendedGDBusPropertyInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusInterfaceInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # } _ExtendedGDBusInterfaceInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # const _ExtendedGDBusPropertyInfo *info; 1087s # guint prop_id; 1087s # GValue orig_value; /* the value before the change */ 1087s # } ChangedProperty; 1087s # 1087s # static void 1087s # _changed_property_free (ChangedProperty *data) 1087s # { 1087s # g_value_unset (&data->orig_value); 1087s # g_free (data); 1087s # } 1087s # 1087s # static gboolean 1087s # _g_strv_equal0 (gchar **a, gchar **b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # guint n; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # if (g_strv_length (a) != g_strv_length (b)) 1087s # goto out; 1087s # for (n = 0; a[n] != NULL; n++) 1087s # if (g_strcmp0 (a[n], b[n]) != 0) 1087s # goto out; 1087s # ret = TRUE; 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _g_variant_equal0 (GVariant *a, GVariant *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # ret = g_variant_equal (a, b); 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # G_GNUC_UNUSED static gboolean 1087s # _g_value_equal (const GValue *a, const GValue *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1087s # switch (G_VALUE_TYPE (a)) 1087s # { 1087s # case G_TYPE_BOOLEAN: 1087s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1087s # break; 1087s # case G_TYPE_UCHAR: 1087s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1087s # break; 1087s # case G_TYPE_INT: 1087s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1087s # break; 1087s # case G_TYPE_UINT: 1087s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1087s # break; 1087s # case G_TYPE_INT64: 1087s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1087s # break; 1087s # case G_TYPE_UINT64: 1087s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1087s # break; 1087s # case G_TYPE_DOUBLE: 1087s # { 1087s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1087s # gdouble da = g_value_get_double (a); 1087s # gdouble db = g_value_get_double (b); 1087s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1087s # } 1087s # break; 1087s # case G_TYPE_STRING: 1087s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1087s # break; 1087s # case G_TYPE_VARIANT: 1087s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1087s # break; 1087s # default: 1087s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1087s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1087s # else 1087s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1087s # break; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.SignalingIface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectSignalingIface 1087s # * @title: OrgProjectSignalingIface 1087s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1087s # */ 1087s # 1087s # enum 1087s # { 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1087s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1087s # }; 1087s # 1087s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1087s # 1087s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SimpleSignal", 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "simple-signal" 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "arg_u", 1087s # (gchar *) "u", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgSignalU", 1087s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1087s # NULL 1087s # }, 1087s # "single-arg-signal-u" 1087s # }; 1087s # 1087s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.SignalingIface", 1087s # NULL, 1087s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-signaling-iface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_signaling_iface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_signaling_iface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_simple_signal ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__VOID (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__UINT (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceIface: 1087s # * @parent_iface: The parent interface. 1087s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1087s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1087s # * 1087s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1087s # */ 1087s # 1087s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1087s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1087s # 1087s # static void 1087s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1087s # { 1087s # /* GObject signals for received D-Bus signals: */ 1087s # /** 1087s # * OrgProjectSignalingIface::simple-signal: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1087s # g_signal_new ("simple-signal", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_simple_signal, 1087s # G_TYPE_NONE, 1087s # 0); 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface::single-arg-signal-u: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_arg_u: Argument. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1087s # g_signal_new ("single-arg-signal-u", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1087s # G_TYPE_NONE, 1087s # 1, G_TYPE_UINT); 1087s # 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_simple_signal: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * 1087s # * Emits the "SimpleSignal" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_simple_signal ( 1087s # OrgProjectSignalingIface *object) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_single_arg_signal_u: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_arg_u: Argument to pass with the signal. 1087s # * 1087s # * Emits the "SingleArgSignalU" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_single_arg_signal_u ( 1087s # OrgProjectSignalingIface *object, 1087s # guint arg_arg_u) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceProxy: 1087s # * 1087s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceProxyClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectSignalingIfaceProxy. 1087s # */ 1087s # 1087s # struct _OrgProjectSignalingIfaceProxyPrivate 1087s # { 1087s # GData *qdata; 1087s # }; 1087s # 1087s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_signaling_iface_proxy_finalize (GObject *object) 1087s # { 1087s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1087s # g_datalist_clear (&proxy->priv->qdata); 1087s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # const GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1087s # const gchar *sender_name G_GNUC_UNUSED, 1087s # const gchar *signal_name, 1087s # GVariant *parameters) 1087s # { 1087s # _ExtendedGDBusSignalInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # gsize n; 1087s # guint signal_id; 1087s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1087s # if (info == NULL) 1087s # return; 1087s # num_params = g_variant_n_children (parameters); 1087s # paramv = g_new0 (GValue, num_params + 1); 1087s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_set_object (¶mv[0], proxy); 1087s # g_variant_iter_init (&iter, parameters); 1087s # n = 1; 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_signal_emitv (paramv, signal_id, 0, NULL); 1087s # for (n = 0; n < num_params + 1; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1087s # GVariant *changed_properties, 1087s # const gchar *const *invalidated_properties) 1087s # { 1087s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1087s # guint n; 1087s # const gchar *key; 1087s # GVariantIter *iter; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # g_variant_get (changed_properties, "a{sv}", &iter); 1087s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1087s # g_datalist_remove_data (&proxy->priv->qdata, key); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # g_variant_iter_free (iter); 1087s # for (n = 0; invalidated_properties[n] != NULL; n++) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1087s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1087s # #else 1087s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1087s # #endif 1087s # 1087s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusProxyClass *proxy_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1087s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1087s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1087s # 1087s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1087s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1087s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_proxy_new ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # 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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_sync: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_sync ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # 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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceSkeleton: 1087s # * 1087s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1087s # */ 1087s # 1087s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _org_project_signaling_iface_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _org_project_signaling_iface_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # GVariant *ret; 1087s # ret = NULL; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # g_value_init (&value, pspec->value_type); 1087s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1087s # g_value_unset (&value); 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _org_project_signaling_iface_skeleton_handle_set_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GVariant *variant, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # gboolean ret; 1087s # ret = FALSE; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # if (info->use_gvariant) 1087s # g_value_set_variant (&value, variant); 1087s # else 1087s # g_dbus_gvariant_to_gvalue (variant, &value); 1087s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # g_value_unset (&value); 1087s # ret = TRUE; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1087s # { 1087s # _org_project_signaling_iface_skeleton_handle_method_call, 1087s # _org_project_signaling_iface_skeleton_handle_get_property, 1087s # _org_project_signaling_iface_skeleton_handle_set_property, 1087s # {NULL} 1087s # }; 1087s # 1087s # static GDBusInterfaceInfo * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return org_project_signaling_iface_interface_info (); 1087s # } 1087s # 1087s # static GDBusInterfaceVTable * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1087s # } 1087s # 1087s # static GVariant * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1087s # 1087s # GVariantBuilder builder; 1087s # guint n; 1087s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1087s # goto out; 1087s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1087s # { 1087s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1087s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1087s # { 1087s # GVariant *value; 1087s # 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); 1087s # if (value != NULL) 1087s # { 1087s # g_variant_take_ref (value); 1087s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1087s # g_variant_unref (value); 1087s # } 1087s # } 1087s # } 1087s # out: 1087s # return g_variant_builder_end (&builder); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_simple_signal ( 1087s # OrgProjectSignalingIface *object) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1087s # OrgProjectSignalingIface *object, 1087s # guint arg_arg_u) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1087s # arg_arg_u)); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1087s # if (skeleton->priv->changed_properties_idle_source != NULL) 1087s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1087s # g_main_context_unref (skeleton->priv->context); 1087s # g_mutex_clear (&skeleton->priv->lock); 1087s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1087s # #else 1087s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1087s # #endif 1087s # 1087s # g_mutex_init (&skeleton->priv->lock); 1087s # skeleton->priv->context = g_main_context_ref_thread_default (); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusInterfaceSkeletonClass *skeleton_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1087s # 1087s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1087s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1087s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1087s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1087s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1087s # { 1087s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1087s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_skeleton_new: 1087s # * 1087s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_skeleton_new (void) 1087s # { 1087s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1087s # } 1087s # /tmp/tmptjxrmpdg/tmpub6ohu09.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptjxrmpdg/tmpub6ohu09.xml', '--output', '-', '--body'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: /* 1087s # * This file is generated by gdbus-codegen, do not modify it. 1087s # * 1087s # * The license of this code is the same as for the D-Bus interface description 1087s # * it was derived from. Note that it links to GLib, so must comply with the 1087s # * LGPL linking clauses. 1087s # */ 1087s # 1087s # #ifdef HAVE_CONFIG_H 1087s # # include "config.h" 1087s # #endif 1087s # 1087s # #include 1087s # #ifdef G_OS_UNIX 1087s # # include 1087s # #endif 1087s # 1087s # #ifdef G_ENABLE_DEBUG 1087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1087s # #else /* !G_ENABLE_DEBUG */ 1087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1087s # * Do not access GValues directly in your code. Instead, use the 1087s # * g_value_get_*() functions 1087s # */ 1087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1087s # #endif /* !G_ENABLE_DEBUG */ 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusArgInfo parent_struct; 1087s # gboolean use_gvariant; 1087s # } _ExtendedGDBusArgInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusMethodInfo parent_struct; 1087s # const gchar *signal_name; 1087s # gboolean pass_fdlist; 1087s # } _ExtendedGDBusMethodInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusSignalInfo parent_struct; 1087s # const gchar *signal_name; 1087s # } _ExtendedGDBusSignalInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusPropertyInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # guint use_gvariant : 1; 1087s # guint emits_changed_signal : 1; 1087s # } _ExtendedGDBusPropertyInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusInterfaceInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # } _ExtendedGDBusInterfaceInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # const _ExtendedGDBusPropertyInfo *info; 1087s # guint prop_id; 1087s # GValue orig_value; /* the value before the change */ 1087s # } ChangedProperty; 1087s # 1087s # static void 1087s # _changed_property_free (ChangedProperty *data) 1087s # { 1087s # g_value_unset (&data->orig_value); 1087s # g_free (data); 1087s # } 1087s # 1087s # static gboolean 1087s # _g_strv_equal0 (gchar **a, gchar **b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # guint n; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # if (g_strv_length (a) != g_strv_length (b)) 1087s # goto out; 1087s # for (n = 0; a[n] != NULL; n++) 1087s # if (g_strcmp0 (a[n], b[n]) != 0) 1087s # goto out; 1087s # ret = TRUE; 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _g_variant_equal0 (GVariant *a, GVariant *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # ret = g_variant_equal (a, b); 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # G_GNUC_UNUSED static gboolean 1087s # _g_value_equal (const GValue *a, const GValue *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1087s # switch (G_VALUE_TYPE (a)) 1087s # { 1087s # case G_TYPE_BOOLEAN: 1087s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1087s # break; 1087s # case G_TYPE_UCHAR: 1087s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1087s # break; 1087s # case G_TYPE_INT: 1087s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1087s # break; 1087s # case G_TYPE_UINT: 1087s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1087s # break; 1087s # case G_TYPE_INT64: 1087s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1087s # break; 1087s # case G_TYPE_UINT64: 1087s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1087s # break; 1087s # case G_TYPE_DOUBLE: 1087s # { 1087s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1087s # gdouble da = g_value_get_double (a); 1087s # gdouble db = g_value_get_double (b); 1087s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1087s # } 1087s # break; 1087s # case G_TYPE_STRING: 1087s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1087s # break; 1087s # case G_TYPE_VARIANT: 1087s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1087s # break; 1087s # default: 1087s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1087s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1087s # else 1087s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1087s # break; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static void 1087s # _g_dbus_codegen_marshal_VOID__INT64 ( 1087s # GClosure *closure, 1087s # GValue *return_value G_GNUC_UNUSED, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint G_GNUC_UNUSED, 1087s # void *marshal_data) 1087s # { 1087s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1087s # (void *data1, 1087s # gint64 arg_arg_x, 1087s # void *data2); 1087s # _GDbusCodegenMarshalVoid_Int64Func callback; 1087s # GCClosure *cc = (GCClosure*) closure; 1087s # void *data1, *data2; 1087s # 1087s # g_return_if_fail (n_param_values == 2); 1087s # 1087s # if (G_CCLOSURE_SWAP_DATA (closure)) 1087s # { 1087s # data1 = closure->data; 1087s # data2 = g_value_peek_pointer (param_values + 0); 1087s # } 1087s # else 1087s # { 1087s # data1 = g_value_peek_pointer (param_values + 0); 1087s # data2 = closure->data; 1087s # } 1087s # 1087s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1087s # (marshal_data ? marshal_data : cc->callback); 1087s # 1087s # callback (data1, 1087s # g_marshal_value_peek_int64 (param_values + 1), 1087s # data2); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.SignalingIface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectSignalingIface 1087s # * @title: OrgProjectSignalingIface 1087s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1087s # */ 1087s # 1087s # enum 1087s # { 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1087s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1087s # }; 1087s # 1087s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1087s # 1087s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SimpleSignal", 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "simple-signal" 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "arg_x", 1087s # (gchar *) "x", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgSignalX", 1087s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1087s # NULL 1087s # }, 1087s # "single-arg-signal-x" 1087s # }; 1087s # 1087s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.SignalingIface", 1087s # NULL, 1087s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-signaling-iface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_signaling_iface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_signaling_iface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_simple_signal ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__VOID (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceIface: 1087s # * @parent_iface: The parent interface. 1087s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1087s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1087s # * 1087s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1087s # */ 1087s # 1087s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1087s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1087s # 1087s # static void 1087s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1087s # { 1087s # /* GObject signals for received D-Bus signals: */ 1087s # /** 1087s # * OrgProjectSignalingIface::simple-signal: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1087s # g_signal_new ("simple-signal", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_simple_signal, 1087s # G_TYPE_NONE, 1087s # 0); 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface::single-arg-signal-x: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_arg_x: Argument. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1087s # g_signal_new ("single-arg-signal-x", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1087s # G_TYPE_NONE, 1087s # 1, G_TYPE_INT64); 1087s # 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_simple_signal: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * 1087s # * Emits the "SimpleSignal" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_simple_signal ( 1087s # OrgProjectSignalingIface *object) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_single_arg_signal_x: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_arg_x: Argument to pass with the signal. 1087s # * 1087s # * Emits the "SingleArgSignalX" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_single_arg_signal_x ( 1087s # OrgProjectSignalingIface *object, 1087s # gint64 arg_arg_x) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceProxy: 1087s # * 1087s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceProxyClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectSignalingIfaceProxy. 1087s # */ 1087s # 1087s # struct _OrgProjectSignalingIfaceProxyPrivate 1087s # { 1087s # GData *qdata; 1087s # }; 1087s # 1087s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_signaling_iface_proxy_finalize (GObject *object) 1087s # { 1087s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1087s # g_datalist_clear (&proxy->priv->qdata); 1087s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # const GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1087s # const gchar *sender_name G_GNUC_UNUSED, 1087s # const gchar *signal_name, 1087s # GVariant *parameters) 1087s # { 1087s # _ExtendedGDBusSignalInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # gsize n; 1087s # guint signal_id; 1087s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1087s # if (info == NULL) 1087s # return; 1087s # num_params = g_variant_n_children (parameters); 1087s # paramv = g_new0 (GValue, num_params + 1); 1087s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_set_object (¶mv[0], proxy); 1087s # g_variant_iter_init (&iter, parameters); 1087s # n = 1; 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_signal_emitv (paramv, signal_id, 0, NULL); 1087s # for (n = 0; n < num_params + 1; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1087s # GVariant *changed_properties, 1087s # const gchar *const *invalidated_properties) 1087s # { 1087s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1087s # guint n; 1087s # const gchar *key; 1087s # GVariantIter *iter; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # g_variant_get (changed_properties, "a{sv}", &iter); 1087s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1087s # g_datalist_remove_data (&proxy->priv->qdata, key); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # g_variant_iter_free (iter); 1087s # for (n = 0; invalidated_properties[n] != NULL; n++) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1087s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1087s # #else 1087s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1087s # #endif 1087s # 1087s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusProxyClass *proxy_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1087s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1087s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1087s # 1087s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1087s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1087s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_proxy_new ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # 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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_sync: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_sync ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # 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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceSkeleton: 1087s # * 1087s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1087s # */ 1087s # 1087s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _org_project_signaling_iface_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _org_project_signaling_iface_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # GVariant *ret; 1087s # ret = NULL; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # g_value_init (&value, pspec->value_type); 1087s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1087s # g_value_unset (&value); 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _org_project_signaling_iface_skeleton_handle_set_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GVariant *variant, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # gboolean ret; 1087s # ret = FALSE; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # if (info->use_gvariant) 1087s # g_value_set_variant (&value, variant); 1087s # else 1087s # g_dbus_gvariant_to_gvalue (variant, &value); 1087s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # g_value_unset (&value); 1087s # ret = TRUE; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1087s # { 1087s # _org_project_signaling_iface_skeleton_handle_method_call, 1087s # _org_project_signaling_iface_skeleton_handle_get_property, 1087s # _org_project_signaling_iface_skeleton_handle_set_property, 1087s # {NULL} 1087s # }; 1087s # 1087s # static GDBusInterfaceInfo * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return org_project_signaling_iface_interface_info (); 1087s # } 1087s # 1087s # static GDBusInterfaceVTable * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1087s # } 1087s # 1087s # static GVariant * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1087s # 1087s # GVariantBuilder builder; 1087s # guint n; 1087s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1087s # goto out; 1087s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1087s # { 1087s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1087s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1087s # { 1087s # GVariant *value; 1087s # 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); 1087s # if (value != NULL) 1087s # { 1087s # g_variant_take_ref (value); 1087s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1087s # g_variant_unref (value); 1087s # } 1087s # } 1087s # } 1087s # out: 1087s # return g_variant_builder_end (&builder); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_simple_signal ( 1087s # OrgProjectSignalingIface *object) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1087s # OrgProjectSignalingIface *object, 1087s # gint64 arg_arg_x) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1087s # arg_arg_x)); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1087s # if (skeleton->priv->changed_properties_idle_source != NULL) 1087s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1087s # g_main_context_unref (skeleton->priv->context); 1087s # g_mutex_clear (&skeleton->priv->lock); 1087s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1087s # #else 1087s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1087s # #endif 1087s # 1087s # g_mutex_init (&skeleton->priv->lock); 1087s # skeleton->priv->context = g_main_context_ref_thread_default (); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusInterfaceSkeletonClass *skeleton_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1087s # 1087s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1087s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1087s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1087s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1087s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1087s # { 1087s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1087s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_skeleton_new: 1087s # * 1087s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_skeleton_new (void) 1087s # { 1087s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1087s # } 1087s # /tmp/tmptjxrmpdg/tmpr_zedkcf.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptjxrmpdg/tmpr_zedkcf.xml', '--output', '-', '--body'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: /* 1087s # * This file is generated by gdbus-codegen, do not modify it. 1087s # * 1087s # * The license of this code is the same as for the D-Bus interface description 1087s # * it was derived from. Note that it links to GLib, so must comply with the 1087s # * LGPL linking clauses. 1087s # */ 1087s # 1087s # #ifdef HAVE_CONFIG_H 1087s # # include "config.h" 1087s # #endif 1087s # 1087s # #include 1087s # #ifdef G_OS_UNIX 1087s # # include 1087s # #endif 1087s # 1087s # #ifdef G_ENABLE_DEBUG 1087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1087s # #else /* !G_ENABLE_DEBUG */ 1087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1087s # * Do not access GValues directly in your code. Instead, use the 1087s # * g_value_get_*() functions 1087s # */ 1087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1087s # #endif /* !G_ENABLE_DEBUG */ 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusArgInfo parent_struct; 1087s # gboolean use_gvariant; 1087s # } _ExtendedGDBusArgInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusMethodInfo parent_struct; 1087s # const gchar *signal_name; 1087s # gboolean pass_fdlist; 1087s # } _ExtendedGDBusMethodInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusSignalInfo parent_struct; 1087s # const gchar *signal_name; 1087s # } _ExtendedGDBusSignalInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusPropertyInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # guint use_gvariant : 1; 1087s # guint emits_changed_signal : 1; 1087s # } _ExtendedGDBusPropertyInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusInterfaceInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # } _ExtendedGDBusInterfaceInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # const _ExtendedGDBusPropertyInfo *info; 1087s # guint prop_id; 1087s # GValue orig_value; /* the value before the change */ 1087s # } ChangedProperty; 1087s # 1087s # static void 1087s # _changed_property_free (ChangedProperty *data) 1087s # { 1087s # g_value_unset (&data->orig_value); 1087s # g_free (data); 1087s # } 1087s # 1087s # static gboolean 1087s # _g_strv_equal0 (gchar **a, gchar **b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # guint n; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # if (g_strv_length (a) != g_strv_length (b)) 1087s # goto out; 1087s # for (n = 0; a[n] != NULL; n++) 1087s # if (g_strcmp0 (a[n], b[n]) != 0) 1087s # goto out; 1087s # ret = TRUE; 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _g_variant_equal0 (GVariant *a, GVariant *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # ret = g_variant_equal (a, b); 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # G_GNUC_UNUSED static gboolean 1087s # _g_value_equal (const GValue *a, const GValue *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1087s # switch (G_VALUE_TYPE (a)) 1087s # { 1087s # case G_TYPE_BOOLEAN: 1087s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1087s # break; 1087s # case G_TYPE_UCHAR: 1087s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1087s # break; 1087s # case G_TYPE_INT: 1087s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1087s # break; 1087s # case G_TYPE_UINT: 1087s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1087s # break; 1087s # case G_TYPE_INT64: 1087s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1087s # break; 1087s # case G_TYPE_UINT64: 1087s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1087s # break; 1087s # case G_TYPE_DOUBLE: 1087s # { 1087s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1087s # gdouble da = g_value_get_double (a); 1087s # gdouble db = g_value_get_double (b); 1087s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1087s # } 1087s # break; 1087s # case G_TYPE_STRING: 1087s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1087s # break; 1087s # case G_TYPE_VARIANT: 1087s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1087s # break; 1087s # default: 1087s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1087s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1087s # else 1087s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1087s # break; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static void 1087s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1087s # GClosure *closure, 1087s # GValue *return_value G_GNUC_UNUSED, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint G_GNUC_UNUSED, 1087s # void *marshal_data) 1087s # { 1087s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1087s # (void *data1, 1087s # guint64 arg_arg_t, 1087s # void *data2); 1087s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1087s # GCClosure *cc = (GCClosure*) closure; 1087s # void *data1, *data2; 1087s # 1087s # g_return_if_fail (n_param_values == 2); 1087s # 1087s # if (G_CCLOSURE_SWAP_DATA (closure)) 1087s # { 1087s # data1 = closure->data; 1087s # data2 = g_value_peek_pointer (param_values + 0); 1087s # } 1087s # else 1087s # { 1087s # data1 = g_value_peek_pointer (param_values + 0); 1087s # data2 = closure->data; 1087s # } 1087s # 1087s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1087s # (marshal_data ? marshal_data : cc->callback); 1087s # 1087s # callback (data1, 1087s # g_marshal_value_peek_uint64 (param_values + 1), 1087s # data2); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.SignalingIface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectSignalingIface 1087s # * @title: OrgProjectSignalingIface 1087s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1087s # */ 1087s # 1087s # enum 1087s # { 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1087s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1087s # }; 1087s # 1087s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1087s # 1087s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SimpleSignal", 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "simple-signal" 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "arg_t", 1087s # (gchar *) "t", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgSignalT", 1087s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1087s # NULL 1087s # }, 1087s # "single-arg-signal-t" 1087s # }; 1087s # 1087s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.SignalingIface", 1087s # NULL, 1087s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-signaling-iface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_signaling_iface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_signaling_iface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_simple_signal ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__VOID (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceIface: 1087s # * @parent_iface: The parent interface. 1087s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1087s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1087s # * 1087s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1087s # */ 1087s # 1087s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1087s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1087s # 1087s # static void 1087s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1087s # { 1087s # /* GObject signals for received D-Bus signals: */ 1087s # /** 1087s # * OrgProjectSignalingIface::simple-signal: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1087s # g_signal_new ("simple-signal", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_simple_signal, 1087s # G_TYPE_NONE, 1087s # 0); 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface::single-arg-signal-t: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_arg_t: Argument. 1087s # * 1087s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1087s # * 1087s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1087s # */ 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1087s # g_signal_new ("single-arg-signal-t", 1087s # G_TYPE_FROM_INTERFACE (iface), 1087s # G_SIGNAL_RUN_LAST, 1087s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1087s # NULL, 1087s # NULL, 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1087s # G_TYPE_NONE, 1087s # 1, G_TYPE_UINT64); 1087s # 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_simple_signal: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * 1087s # * Emits the "SimpleSignal" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_simple_signal ( 1087s # OrgProjectSignalingIface *object) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_emit_single_arg_signal_t: 1087s # * @object: A #OrgProjectSignalingIface. 1087s # * @arg_arg_t: Argument to pass with the signal. 1087s # * 1087s # * Emits the "SingleArgSignalT" D-Bus signal. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_emit_single_arg_signal_t ( 1087s # OrgProjectSignalingIface *object, 1087s # guint64 arg_arg_t) 1087s # { 1087s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceProxy: 1087s # * 1087s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceProxyClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectSignalingIfaceProxy. 1087s # */ 1087s # 1087s # struct _OrgProjectSignalingIfaceProxyPrivate 1087s # { 1087s # GData *qdata; 1087s # }; 1087s # 1087s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_signaling_iface_proxy_finalize (GObject *object) 1087s # { 1087s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1087s # g_datalist_clear (&proxy->priv->qdata); 1087s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1087s # guint prop_id G_GNUC_UNUSED, 1087s # const GValue *value G_GNUC_UNUSED, 1087s # GParamSpec *pspec G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1087s # const gchar *sender_name G_GNUC_UNUSED, 1087s # const gchar *signal_name, 1087s # GVariant *parameters) 1087s # { 1087s # _ExtendedGDBusSignalInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # gsize n; 1087s # guint signal_id; 1087s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1087s # if (info == NULL) 1087s # return; 1087s # num_params = g_variant_n_children (parameters); 1087s # paramv = g_new0 (GValue, num_params + 1); 1087s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_set_object (¶mv[0], proxy); 1087s # g_variant_iter_init (&iter, parameters); 1087s # n = 1; 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_signal_emitv (paramv, signal_id, 0, NULL); 1087s # for (n = 0; n < num_params + 1; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1087s # GVariant *changed_properties, 1087s # const gchar *const *invalidated_properties) 1087s # { 1087s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1087s # guint n; 1087s # const gchar *key; 1087s # GVariantIter *iter; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # g_variant_get (changed_properties, "a{sv}", &iter); 1087s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1087s # g_datalist_remove_data (&proxy->priv->qdata, key); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # g_variant_iter_free (iter); 1087s # for (n = 0; invalidated_properties[n] != NULL; n++) 1087s # { 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1087s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1087s # if (info != NULL) 1087s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1087s # } 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1087s # #else 1087s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1087s # #endif 1087s # 1087s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusProxyClass *proxy_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1087s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1087s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1087s # 1087s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1087s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1087s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_proxy_new ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # 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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_sync: 1087s # * @connection: A #GDBusConnection. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_sync ( 1087s # GDBusConnection *connection, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1087s # * @user_data: User data to pass to @callback. 1087s # * 1087s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1087s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1087s # */ 1087s # void 1087s # org_project_signaling_iface_proxy_new_for_bus ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GAsyncReadyCallback callback, 1087s # gpointer user_data) 1087s # { 1087s # 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); 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1087s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1087s # GAsyncResult *res, 1087s # GError **error) 1087s # { 1087s # GObject *ret; 1087s # GObject *source_object; 1087s # source_object = g_async_result_get_source_object (res); 1087s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1087s # g_object_unref (source_object); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1087s # * @bus_type: A #GBusType. 1087s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1087s # * @name: A bus name (well-known or unique). 1087s # * @object_path: An object path. 1087s # * @cancellable: (nullable): A #GCancellable or %NULL. 1087s # * @error: Return location for error or %NULL 1087s # * 1087s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1087s # * 1087s # * The calling thread is blocked until a reply is received. 1087s # * 1087s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1087s # GBusType bus_type, 1087s # GDBusProxyFlags flags, 1087s # const gchar *name, 1087s # const gchar *object_path, 1087s # GCancellable *cancellable, 1087s # GError **error) 1087s # { 1087s # GInitable *ret; 1087s # 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); 1087s # if (ret != NULL) 1087s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1087s # else 1087s # return NULL; 1087s # } 1087s # 1087s # 1087s # /* ------------------------------------------------------------------------ */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceSkeleton: 1087s # * 1087s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceSkeletonClass: 1087s # * @parent_class: The parent class. 1087s # * 1087s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1087s # */ 1087s # 1087s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1087s # { 1087s # GValue *properties; 1087s # GList *changed_properties; 1087s # GSource *changed_properties_idle_source; 1087s # GMainContext *context; 1087s # GMutex lock; 1087s # }; 1087s # 1087s # static void 1087s # _org_project_signaling_iface_skeleton_handle_method_call ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name, 1087s # const gchar *method_name, 1087s # GVariant *parameters, 1087s # GDBusMethodInvocation *invocation, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # _ExtendedGDBusMethodInfo *info; 1087s # GVariantIter iter; 1087s # GVariant *child; 1087s # GValue *paramv; 1087s # gsize num_params; 1087s # guint num_extra; 1087s # gsize n; 1087s # guint signal_id; 1087s # GValue return_value = G_VALUE_INIT; 1087s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1087s # g_assert (info != NULL); 1087s # num_params = g_variant_n_children (parameters); 1087s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1087s # n = 0; 1087s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_set_object (¶mv[n++], skeleton); 1087s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1087s # g_value_set_object (¶mv[n++], invocation); 1087s # if (info->pass_fdlist) 1087s # { 1087s # #ifdef G_OS_UNIX 1087s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1087s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1087s # #else 1087s # g_assert_not_reached (); 1087s # #endif 1087s # } 1087s # g_variant_iter_init (&iter, parameters); 1087s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1087s # { 1087s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1087s # if (arg_info->use_gvariant) 1087s # { 1087s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1087s # g_value_set_variant (¶mv[n], child); 1087s # n++; 1087s # } 1087s # else 1087s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1087s # g_variant_unref (child); 1087s # } 1087s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1087s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1087s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1087s # if (!g_value_get_boolean (&return_value)) 1087s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1087s # g_value_unset (&return_value); 1087s # for (n = 0; n < num_params + num_extra; n++) 1087s # g_value_unset (¶mv[n]); 1087s # g_free (paramv); 1087s # } 1087s # 1087s # static GVariant * 1087s # _org_project_signaling_iface_skeleton_handle_get_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # GVariant *ret; 1087s # ret = NULL; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # g_value_init (&value, pspec->value_type); 1087s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1087s # g_value_unset (&value); 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _org_project_signaling_iface_skeleton_handle_set_property ( 1087s # GDBusConnection *connection G_GNUC_UNUSED, 1087s # const gchar *sender G_GNUC_UNUSED, 1087s # const gchar *object_path G_GNUC_UNUSED, 1087s # const gchar *interface_name G_GNUC_UNUSED, 1087s # const gchar *property_name, 1087s # GVariant *variant, 1087s # GError **error, 1087s # gpointer user_data) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1087s # GValue value = G_VALUE_INIT; 1087s # GParamSpec *pspec; 1087s # _ExtendedGDBusPropertyInfo *info; 1087s # gboolean ret; 1087s # ret = FALSE; 1087s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1087s # g_assert (info != NULL); 1087s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1087s # if (pspec == NULL) 1087s # { 1087s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1087s # } 1087s # else 1087s # { 1087s # if (info->use_gvariant) 1087s # g_value_set_variant (&value, variant); 1087s # else 1087s # g_dbus_gvariant_to_gvalue (variant, &value); 1087s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1087s # g_value_unset (&value); 1087s # ret = TRUE; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1087s # { 1087s # _org_project_signaling_iface_skeleton_handle_method_call, 1087s # _org_project_signaling_iface_skeleton_handle_get_property, 1087s # _org_project_signaling_iface_skeleton_handle_set_property, 1087s # {NULL} 1087s # }; 1087s # 1087s # static GDBusInterfaceInfo * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return org_project_signaling_iface_interface_info (); 1087s # } 1087s # 1087s # static GDBusInterfaceVTable * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1087s # { 1087s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1087s # } 1087s # 1087s # static GVariant * 1087s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1087s # 1087s # GVariantBuilder builder; 1087s # guint n; 1087s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1087s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1087s # goto out; 1087s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1087s # { 1087s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1087s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1087s # { 1087s # GVariant *value; 1087s # 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); 1087s # if (value != NULL) 1087s # { 1087s # g_variant_take_ref (value); 1087s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1087s # g_variant_unref (value); 1087s # } 1087s # } 1087s # } 1087s # out: 1087s # return g_variant_builder_end (&builder); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1087s # { 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_simple_signal ( 1087s # OrgProjectSignalingIface *object) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void 1087s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1087s # OrgProjectSignalingIface *object, 1087s # guint64 arg_arg_t) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # 1087s # GList *connections, *l; 1087s # GVariant *signal_variant; 1087s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1087s # 1087s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1087s # arg_arg_t)); 1087s # for (l = connections; l != NULL; l = l->next) 1087s # { 1087s # GDBusConnection *connection = l->data; 1087s # g_dbus_connection_emit_signal (connection, 1087s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1087s # signal_variant, NULL); 1087s # } 1087s # g_variant_unref (signal_variant); 1087s # g_list_free_full (connections, g_object_unref); 1087s # } 1087s # 1087s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1087s # 1087s # #else 1087s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1087s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1087s # 1087s # #endif 1087s # static void 1087s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1087s # { 1087s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1087s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1087s # if (skeleton->priv->changed_properties_idle_source != NULL) 1087s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1087s # g_main_context_unref (skeleton->priv->context); 1087s # g_mutex_clear (&skeleton->priv->lock); 1087s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1087s # { 1087s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1087s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1087s # #else 1087s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1087s # #endif 1087s # 1087s # g_mutex_init (&skeleton->priv->lock); 1087s # skeleton->priv->context = g_main_context_ref_thread_default (); 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1087s # { 1087s # GObjectClass *gobject_class; 1087s # GDBusInterfaceSkeletonClass *skeleton_class; 1087s # 1087s # gobject_class = G_OBJECT_CLASS (klass); 1087s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1087s # 1087s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1087s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1087s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1087s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1087s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1087s # 1087s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1087s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1087s # #endif 1087s # } 1087s # 1087s # static void 1087s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1087s # { 1087s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1087s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_skeleton_new: 1087s # * 1087s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1087s # * 1087s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1087s # */ 1087s # OrgProjectSignalingIface * 1087s # org_project_signaling_iface_skeleton_new (void) 1087s # { 1087s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1087s # } 1087s # /tmp/tmptjxrmpdg/tmpgeabq3f9.xml: 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # 1087s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptjxrmpdg/tmpgeabq3f9.xml', '--output', '-', '--body'] 1087s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1087s # Output: /* 1087s # * This file is generated by gdbus-codegen, do not modify it. 1087s # * 1087s # * The license of this code is the same as for the D-Bus interface description 1087s # * it was derived from. Note that it links to GLib, so must comply with the 1087s # * LGPL linking clauses. 1087s # */ 1087s # 1087s # #ifdef HAVE_CONFIG_H 1087s # # include "config.h" 1087s # #endif 1087s # 1087s # #include 1087s # #ifdef G_OS_UNIX 1087s # # include 1087s # #endif 1087s # 1087s # #ifdef G_ENABLE_DEBUG 1087s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1087s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1087s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1087s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1087s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1087s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1087s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1087s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1087s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1087s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1087s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1087s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1087s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1087s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1087s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1087s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1087s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1087s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1087s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1087s # #else /* !G_ENABLE_DEBUG */ 1087s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1087s # * Do not access GValues directly in your code. Instead, use the 1087s # * g_value_get_*() functions 1087s # */ 1087s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1087s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1087s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1087s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1087s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1087s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1087s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1087s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1087s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1087s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1087s # #endif /* !G_ENABLE_DEBUG */ 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusArgInfo parent_struct; 1087s # gboolean use_gvariant; 1087s # } _ExtendedGDBusArgInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusMethodInfo parent_struct; 1087s # const gchar *signal_name; 1087s # gboolean pass_fdlist; 1087s # } _ExtendedGDBusMethodInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusSignalInfo parent_struct; 1087s # const gchar *signal_name; 1087s # } _ExtendedGDBusSignalInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusPropertyInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # guint use_gvariant : 1; 1087s # guint emits_changed_signal : 1; 1087s # } _ExtendedGDBusPropertyInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # GDBusInterfaceInfo parent_struct; 1087s # const gchar *hyphen_name; 1087s # } _ExtendedGDBusInterfaceInfo; 1087s # 1087s # typedef struct 1087s # { 1087s # const _ExtendedGDBusPropertyInfo *info; 1087s # guint prop_id; 1087s # GValue orig_value; /* the value before the change */ 1087s # } ChangedProperty; 1087s # 1087s # static void 1087s # _changed_property_free (ChangedProperty *data) 1087s # { 1087s # g_value_unset (&data->orig_value); 1087s # g_free (data); 1087s # } 1087s # 1087s # static gboolean 1087s # _g_strv_equal0 (gchar **a, gchar **b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # guint n; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # if (g_strv_length (a) != g_strv_length (b)) 1087s # goto out; 1087s # for (n = 0; a[n] != NULL; n++) 1087s # if (g_strcmp0 (a[n], b[n]) != 0) 1087s # goto out; 1087s # ret = TRUE; 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # static gboolean 1087s # _g_variant_equal0 (GVariant *a, GVariant *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # if (a == NULL && b == NULL) 1087s # { 1087s # ret = TRUE; 1087s # goto out; 1087s # } 1087s # if (a == NULL || b == NULL) 1087s # goto out; 1087s # ret = g_variant_equal (a, b); 1087s # out: 1087s # return ret; 1087s # } 1087s # 1087s # G_GNUC_UNUSED static gboolean 1087s # _g_value_equal (const GValue *a, const GValue *b) 1087s # { 1087s # gboolean ret = FALSE; 1087s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1087s # switch (G_VALUE_TYPE (a)) 1087s # { 1087s # case G_TYPE_BOOLEAN: 1087s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1087s # break; 1087s # case G_TYPE_UCHAR: 1087s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1087s # break; 1087s # case G_TYPE_INT: 1087s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1087s # break; 1087s # case G_TYPE_UINT: 1087s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1087s # break; 1087s # case G_TYPE_INT64: 1087s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1087s # break; 1087s # case G_TYPE_UINT64: 1087s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1087s # break; 1087s # case G_TYPE_DOUBLE: 1087s # { 1087s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1087s # gdouble da = g_value_get_double (a); 1087s # gdouble db = g_value_get_double (b); 1087s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1087s # } 1087s # break; 1087s # case G_TYPE_STRING: 1087s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1087s # break; 1087s # case G_TYPE_VARIANT: 1087s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1087s # break; 1087s # default: 1087s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1087s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1087s # else 1087s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1087s # break; 1087s # } 1087s # return ret; 1087s # } 1087s # 1087s # /* ------------------------------------------------------------------------ 1087s # * Code for interface org.project.SignalingIface 1087s # * ------------------------------------------------------------------------ 1087s # */ 1087s # 1087s # /** 1087s # * SECTION:OrgProjectSignalingIface 1087s # * @title: OrgProjectSignalingIface 1087s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1087s # * 1087s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1087s # */ 1087s # 1087s # enum 1087s # { 1087s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1087s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1087s # }; 1087s # 1087s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1087s # 1087s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SimpleSignal", 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "simple-signal" 1087s # }; 1087s # 1087s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "arg_d", 1087s # (gchar *) "d", 1087s # NULL 1087s # }, 1087s # FALSE 1087s # }; 1087s # 1087s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "SingleArgSignalD", 1087s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1087s # NULL 1087s # }, 1087s # "single-arg-signal-d" 1087s # }; 1087s # 1087s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1087s # { 1087s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1087s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1087s # NULL 1087s # }; 1087s # 1087s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1087s # { 1087s # { 1087s # -1, 1087s # (gchar *) "org.project.SignalingIface", 1087s # NULL, 1087s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1087s # NULL, 1087s # NULL 1087s # }, 1087s # "org-project-signaling-iface", 1087s # }; 1087s # 1087s # 1087s # /** 1087s # * org_project_signaling_iface_interface_info: 1087s # * 1087s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1087s # * 1087s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1087s # */ 1087s # GDBusInterfaceInfo * 1087s # org_project_signaling_iface_interface_info (void) 1087s # { 1087s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1087s # } 1087s # 1087s # /** 1087s # * org_project_signaling_iface_override_properties: 1087s # * @klass: The class structure for a #GObject derived class. 1087s # * @property_id_begin: The property id to assign to the first overridden property. 1087s # * 1087s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1087s # * The properties are overridden in the order they are defined. 1087s # * 1087s # * Returns: The last property id. 1087s # */ 1087s # guint 1087s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1087s # { 1087s # return property_id_begin - 1; 1087s # } 1087s # 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_simple_signal ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__VOID (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # inline static void 1087s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1087s # GClosure *closure, 1087s # GValue *return_value, 1087s # unsigned int n_param_values, 1087s # const GValue *param_values, 1087s # void *invocation_hint, 1087s # void *marshal_data) 1087s # { 1087s # g_cclosure_marshal_VOID__DOUBLE (closure, 1087s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1087s # } 1087s # 1087s # 1087s # /** 1087s # * OrgProjectSignalingIface: 1087s # * 1087s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1087s # */ 1087s # 1087s # /** 1087s # * OrgProjectSignalingIfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1088s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1088s # */ 1088s # 1088s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1088s # { 1088s # /* GObject signals for received D-Bus signals: */ 1088s # /** 1088s # * OrgProjectSignalingIface::simple-signal: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1088s # g_signal_new ("simple-signal", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_simple_signal, 1088s # G_TYPE_NONE, 1088s # 0); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::single-arg-signal-d: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_arg_d: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1088s # g_signal_new ("single-arg-signal-d", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1088s # G_TYPE_NONE, 1088s # 1, G_TYPE_DOUBLE); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_simple_signal: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * 1088s # * Emits the "SimpleSignal" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_simple_signal ( 1088s # OrgProjectSignalingIface *object) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_single_arg_signal_d: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_arg_d: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SingleArgSignalD" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_single_arg_signal_d ( 1088s # OrgProjectSignalingIface *object, 1088s # gdouble arg_arg_d) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceProxy: 1088s # * 1088s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectSignalingIfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectSignalingIfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_signaling_iface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1088s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1088s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceSkeleton: 1088s # * 1088s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_signaling_iface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_signaling_iface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_signaling_iface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1088s # { 1088s # _org_project_signaling_iface_skeleton_handle_method_call, 1088s # _org_project_signaling_iface_skeleton_handle_get_property, 1088s # _org_project_signaling_iface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_signaling_iface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_simple_signal ( 1088s # OrgProjectSignalingIface *object) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1088s # OrgProjectSignalingIface *object, 1088s # gdouble arg_arg_d) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1088s # arg_arg_d)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1088s # { 1088s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1088s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmptjxrmpdg/tmpazheopfq.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptjxrmpdg/tmpazheopfq.xml', '--output', '-', '--body'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.SignalingIface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectSignalingIface 1088s # * @title: OrgProjectSignalingIface 1088s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1088s # */ 1088s # 1088s # enum 1088s # { 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1088s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1088s # }; 1088s # 1088s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1088s # 1088s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SimpleSignal", 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "simple-signal" 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_s", 1088s # (gchar *) "s", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgSignalS", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "single-arg-signal-s" 1088s # }; 1088s # 1088s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.SignalingIface", 1088s # NULL, 1088s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-signaling-iface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_signaling_iface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_signaling_iface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_simple_signal ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__VOID (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__STRING (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1088s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1088s # */ 1088s # 1088s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1088s # { 1088s # /* GObject signals for received D-Bus signals: */ 1088s # /** 1088s # * OrgProjectSignalingIface::simple-signal: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1088s # g_signal_new ("simple-signal", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_simple_signal, 1088s # G_TYPE_NONE, 1088s # 0); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::single-arg-signal-s: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_arg_s: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1088s # g_signal_new ("single-arg-signal-s", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1088s # G_TYPE_NONE, 1088s # 1, G_TYPE_STRING); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_simple_signal: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * 1088s # * Emits the "SimpleSignal" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_simple_signal ( 1088s # OrgProjectSignalingIface *object) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_single_arg_signal_s: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_arg_s: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SingleArgSignalS" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_single_arg_signal_s ( 1088s # OrgProjectSignalingIface *object, 1088s # const gchar *arg_arg_s) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceProxy: 1088s # * 1088s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectSignalingIfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectSignalingIfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_signaling_iface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1088s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1088s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceSkeleton: 1088s # * 1088s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_signaling_iface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_signaling_iface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_signaling_iface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1088s # { 1088s # _org_project_signaling_iface_skeleton_handle_method_call, 1088s # _org_project_signaling_iface_skeleton_handle_get_property, 1088s # _org_project_signaling_iface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_signaling_iface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_simple_signal ( 1088s # OrgProjectSignalingIface *object) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1088s # OrgProjectSignalingIface *object, 1088s # const gchar *arg_arg_s) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1088s # arg_arg_s)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1088s # { 1088s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1088s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmptjxrmpdg/tmpw6siygxn.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptjxrmpdg/tmpw6siygxn.xml', '--output', '-', '--body'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.SignalingIface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectSignalingIface 1088s # * @title: OrgProjectSignalingIface 1088s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1088s # */ 1088s # 1088s # enum 1088s # { 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1088s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1088s # }; 1088s # 1088s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1088s # 1088s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SimpleSignal", 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "simple-signal" 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_o", 1088s # (gchar *) "o", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgSignalO", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "single-arg-signal-o" 1088s # }; 1088s # 1088s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.SignalingIface", 1088s # NULL, 1088s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-signaling-iface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_signaling_iface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_signaling_iface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_simple_signal ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__VOID (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__STRING (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1088s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1088s # */ 1088s # 1088s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1088s # { 1088s # /* GObject signals for received D-Bus signals: */ 1088s # /** 1088s # * OrgProjectSignalingIface::simple-signal: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1088s # g_signal_new ("simple-signal", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_simple_signal, 1088s # G_TYPE_NONE, 1088s # 0); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::single-arg-signal-o: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_arg_o: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1088s # g_signal_new ("single-arg-signal-o", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1088s # G_TYPE_NONE, 1088s # 1, G_TYPE_STRING); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_simple_signal: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * 1088s # * Emits the "SimpleSignal" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_simple_signal ( 1088s # OrgProjectSignalingIface *object) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_single_arg_signal_o: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_arg_o: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SingleArgSignalO" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_single_arg_signal_o ( 1088s # OrgProjectSignalingIface *object, 1088s # const gchar *arg_arg_o) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceProxy: 1088s # * 1088s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectSignalingIfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectSignalingIfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_signaling_iface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1088s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1088s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceSkeleton: 1088s # * 1088s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_signaling_iface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_signaling_iface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_signaling_iface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1088s # { 1088s # _org_project_signaling_iface_skeleton_handle_method_call, 1088s # _org_project_signaling_iface_skeleton_handle_get_property, 1088s # _org_project_signaling_iface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_signaling_iface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_simple_signal ( 1088s # OrgProjectSignalingIface *object) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1088s # OrgProjectSignalingIface *object, 1088s # const gchar *arg_arg_o) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1088s # arg_arg_o)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1088s # { 1088s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1088s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmptjxrmpdg/tmpa0opmhp0.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptjxrmpdg/tmpa0opmhp0.xml', '--output', '-', '--body'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.SignalingIface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectSignalingIface 1088s # * @title: OrgProjectSignalingIface 1088s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1088s # */ 1088s # 1088s # enum 1088s # { 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1088s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1088s # }; 1088s # 1088s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1088s # 1088s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SimpleSignal", 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "simple-signal" 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_g", 1088s # (gchar *) "g", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgSignalG", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "single-arg-signal-g" 1088s # }; 1088s # 1088s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.SignalingIface", 1088s # NULL, 1088s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-signaling-iface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_signaling_iface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_signaling_iface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_simple_signal ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__VOID (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__STRING (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1088s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1088s # */ 1088s # 1088s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1088s # { 1088s # /* GObject signals for received D-Bus signals: */ 1088s # /** 1088s # * OrgProjectSignalingIface::simple-signal: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1088s # g_signal_new ("simple-signal", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_simple_signal, 1088s # G_TYPE_NONE, 1088s # 0); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::single-arg-signal-g: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_arg_g: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1088s # g_signal_new ("single-arg-signal-g", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1088s # G_TYPE_NONE, 1088s # 1, G_TYPE_STRING); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_simple_signal: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * 1088s # * Emits the "SimpleSignal" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_simple_signal ( 1088s # OrgProjectSignalingIface *object) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_single_arg_signal_g: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_arg_g: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SingleArgSignalG" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_single_arg_signal_g ( 1088s # OrgProjectSignalingIface *object, 1088s # const gchar *arg_arg_g) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceProxy: 1088s # * 1088s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectSignalingIfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectSignalingIfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_signaling_iface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1088s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1088s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceSkeleton: 1088s # * 1088s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_signaling_iface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_signaling_iface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_signaling_iface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1088s # { 1088s # _org_project_signaling_iface_skeleton_handle_method_call, 1088s # _org_project_signaling_iface_skeleton_handle_get_property, 1088s # _org_project_signaling_iface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_signaling_iface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_simple_signal ( 1088s # OrgProjectSignalingIface *object) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1088s # OrgProjectSignalingIface *object, 1088s # const gchar *arg_arg_g) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1088s # arg_arg_g)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1088s # { 1088s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1088s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmptjxrmpdg/tmp7ie8rrpz.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptjxrmpdg/tmp7ie8rrpz.xml', '--output', '-', '--body'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.SignalingIface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectSignalingIface 1088s # * @title: OrgProjectSignalingIface 1088s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1088s # */ 1088s # 1088s # enum 1088s # { 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1088s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1088s # }; 1088s # 1088s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1088s # 1088s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SimpleSignal", 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "simple-signal" 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_h", 1088s # (gchar *) "h", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgSignalH", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "single-arg-signal-h" 1088s # }; 1088s # 1088s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.SignalingIface", 1088s # NULL, 1088s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-signaling-iface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_signaling_iface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_signaling_iface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_simple_signal ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__VOID (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__VARIANT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1088s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1088s # */ 1088s # 1088s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1088s # { 1088s # /* GObject signals for received D-Bus signals: */ 1088s # /** 1088s # * OrgProjectSignalingIface::simple-signal: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1088s # g_signal_new ("simple-signal", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_simple_signal, 1088s # G_TYPE_NONE, 1088s # 0); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::single-arg-signal-h: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_arg_h: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1088s # g_signal_new ("single-arg-signal-h", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1088s # G_TYPE_NONE, 1088s # 1, G_TYPE_VARIANT); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_simple_signal: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * 1088s # * Emits the "SimpleSignal" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_simple_signal ( 1088s # OrgProjectSignalingIface *object) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_single_arg_signal_h: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_arg_h: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SingleArgSignalH" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_single_arg_signal_h ( 1088s # OrgProjectSignalingIface *object, 1088s # GVariant *arg_arg_h) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceProxy: 1088s # * 1088s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectSignalingIfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectSignalingIfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_signaling_iface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1088s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1088s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceSkeleton: 1088s # * 1088s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_signaling_iface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_signaling_iface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_signaling_iface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1088s # { 1088s # _org_project_signaling_iface_skeleton_handle_method_call, 1088s # _org_project_signaling_iface_skeleton_handle_get_property, 1088s # _org_project_signaling_iface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_signaling_iface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_simple_signal ( 1088s # OrgProjectSignalingIface *object) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1088s # OrgProjectSignalingIface *object, 1088s # GVariant *arg_arg_h) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1088s # arg_arg_h)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1088s # { 1088s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1088s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmptjxrmpdg/tmpzd__dlf3.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptjxrmpdg/tmpzd__dlf3.xml', '--output', '-', '--body'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.SignalingIface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectSignalingIface 1088s # * @title: OrgProjectSignalingIface 1088s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1088s # */ 1088s # 1088s # enum 1088s # { 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1088s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1088s # }; 1088s # 1088s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1088s # 1088s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SimpleSignal", 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "simple-signal" 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_ay", 1088s # (gchar *) "ay", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgSignalAy", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "single-arg-signal-ay" 1088s # }; 1088s # 1088s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.SignalingIface", 1088s # NULL, 1088s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-signaling-iface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_signaling_iface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_signaling_iface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_simple_signal ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__VOID (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__STRING (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1088s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1088s # */ 1088s # 1088s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1088s # { 1088s # /* GObject signals for received D-Bus signals: */ 1088s # /** 1088s # * OrgProjectSignalingIface::simple-signal: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1088s # g_signal_new ("simple-signal", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_simple_signal, 1088s # G_TYPE_NONE, 1088s # 0); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::single-arg-signal-ay: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_arg_ay: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1088s # g_signal_new ("single-arg-signal-ay", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1088s # G_TYPE_NONE, 1088s # 1, G_TYPE_STRING); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_simple_signal: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * 1088s # * Emits the "SimpleSignal" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_simple_signal ( 1088s # OrgProjectSignalingIface *object) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_arg_ay: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SingleArgSignalAy" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1088s # OrgProjectSignalingIface *object, 1088s # const gchar *arg_arg_ay) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceProxy: 1088s # * 1088s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectSignalingIfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectSignalingIfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_signaling_iface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1088s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1088s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceSkeleton: 1088s # * 1088s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_signaling_iface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_signaling_iface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_signaling_iface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1088s # { 1088s # _org_project_signaling_iface_skeleton_handle_method_call, 1088s # _org_project_signaling_iface_skeleton_handle_get_property, 1088s # _org_project_signaling_iface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_signaling_iface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_simple_signal ( 1088s # OrgProjectSignalingIface *object) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1088s # OrgProjectSignalingIface *object, 1088s # const gchar *arg_arg_ay) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1088s # arg_arg_ay)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1088s # { 1088s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1088s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmptjxrmpdg/tmpdnfc43yk.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptjxrmpdg/tmpdnfc43yk.xml', '--output', '-', '--body'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.SignalingIface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectSignalingIface 1088s # * @title: OrgProjectSignalingIface 1088s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1088s # */ 1088s # 1088s # enum 1088s # { 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1088s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1088s # }; 1088s # 1088s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1088s # 1088s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SimpleSignal", 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "simple-signal" 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_as", 1088s # (gchar *) "as", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgSignalAs", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "single-arg-signal-as" 1088s # }; 1088s # 1088s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.SignalingIface", 1088s # NULL, 1088s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-signaling-iface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_signaling_iface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_signaling_iface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_simple_signal ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__VOID (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__BOXED (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1088s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1088s # */ 1088s # 1088s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1088s # { 1088s # /* GObject signals for received D-Bus signals: */ 1088s # /** 1088s # * OrgProjectSignalingIface::simple-signal: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1088s # g_signal_new ("simple-signal", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_simple_signal, 1088s # G_TYPE_NONE, 1088s # 0); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::single-arg-signal-as: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_arg_as: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1088s # g_signal_new ("single-arg-signal-as", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1088s # G_TYPE_NONE, 1088s # 1, G_TYPE_STRV); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_simple_signal: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * 1088s # * Emits the "SimpleSignal" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_simple_signal ( 1088s # OrgProjectSignalingIface *object) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_single_arg_signal_as: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_arg_as: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SingleArgSignalAs" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_single_arg_signal_as ( 1088s # OrgProjectSignalingIface *object, 1088s # const gchar *const *arg_arg_as) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceProxy: 1088s # * 1088s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectSignalingIfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectSignalingIfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_signaling_iface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1088s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1088s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceSkeleton: 1088s # * 1088s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_signaling_iface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_signaling_iface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_signaling_iface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1088s # { 1088s # _org_project_signaling_iface_skeleton_handle_method_call, 1088s # _org_project_signaling_iface_skeleton_handle_get_property, 1088s # _org_project_signaling_iface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_signaling_iface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_simple_signal ( 1088s # OrgProjectSignalingIface *object) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1088s # OrgProjectSignalingIface *object, 1088s # const gchar *const *arg_arg_as) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1088s # arg_arg_as)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1088s # { 1088s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1088s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmptjxrmpdg/tmpf4sp9ttp.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptjxrmpdg/tmpf4sp9ttp.xml', '--output', '-', '--body'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.SignalingIface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectSignalingIface 1088s # * @title: OrgProjectSignalingIface 1088s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1088s # */ 1088s # 1088s # enum 1088s # { 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1088s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1088s # }; 1088s # 1088s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1088s # 1088s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SimpleSignal", 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "simple-signal" 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_ao", 1088s # (gchar *) "ao", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgSignalAo", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "single-arg-signal-ao" 1088s # }; 1088s # 1088s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.SignalingIface", 1088s # NULL, 1088s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-signaling-iface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_signaling_iface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_signaling_iface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_simple_signal ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__VOID (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__BOXED (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1088s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1088s # */ 1088s # 1088s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1088s # { 1088s # /* GObject signals for received D-Bus signals: */ 1088s # /** 1088s # * OrgProjectSignalingIface::simple-signal: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1088s # g_signal_new ("simple-signal", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_simple_signal, 1088s # G_TYPE_NONE, 1088s # 0); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::single-arg-signal-ao: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_arg_ao: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1088s # g_signal_new ("single-arg-signal-ao", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1088s # G_TYPE_NONE, 1088s # 1, G_TYPE_STRV); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_simple_signal: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * 1088s # * Emits the "SimpleSignal" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_simple_signal ( 1088s # OrgProjectSignalingIface *object) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_arg_ao: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SingleArgSignalAo" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1088s # OrgProjectSignalingIface *object, 1088s # const gchar *const *arg_arg_ao) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceProxy: 1088s # * 1088s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectSignalingIfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectSignalingIfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_signaling_iface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1088s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1088s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceSkeleton: 1088s # * 1088s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_signaling_iface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_signaling_iface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_signaling_iface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1088s # { 1088s # _org_project_signaling_iface_skeleton_handle_method_call, 1088s # _org_project_signaling_iface_skeleton_handle_get_property, 1088s # _org_project_signaling_iface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_signaling_iface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_simple_signal ( 1088s # OrgProjectSignalingIface *object) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1088s # OrgProjectSignalingIface *object, 1088s # const gchar *const *arg_arg_ao) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1088s # arg_arg_ao)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1088s # { 1088s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1088s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmptjxrmpdg/tmpooy2fsjk.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptjxrmpdg/tmpooy2fsjk.xml', '--output', '-', '--body'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.SignalingIface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectSignalingIface 1088s # * @title: OrgProjectSignalingIface 1088s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1088s # */ 1088s # 1088s # enum 1088s # { 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1088s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1088s # }; 1088s # 1088s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1088s # 1088s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SimpleSignal", 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "simple-signal" 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_aay", 1088s # (gchar *) "aay", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgSignalAay", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "single-arg-signal-aay" 1088s # }; 1088s # 1088s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.SignalingIface", 1088s # NULL, 1088s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-signaling-iface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_signaling_iface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_signaling_iface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_simple_signal ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__VOID (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__BOXED (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1088s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1088s # */ 1088s # 1088s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1088s # { 1088s # /* GObject signals for received D-Bus signals: */ 1088s # /** 1088s # * OrgProjectSignalingIface::simple-signal: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1088s # g_signal_new ("simple-signal", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_simple_signal, 1088s # G_TYPE_NONE, 1088s # 0); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::single-arg-signal-aay: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_arg_aay: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1088s # g_signal_new ("single-arg-signal-aay", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1088s # G_TYPE_NONE, 1088s # 1, G_TYPE_STRV); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_simple_signal: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * 1088s # * Emits the "SimpleSignal" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_simple_signal ( 1088s # OrgProjectSignalingIface *object) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_arg_aay: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SingleArgSignalAay" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1088s # OrgProjectSignalingIface *object, 1088s # const gchar *const *arg_arg_aay) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceProxy: 1088s # * 1088s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectSignalingIfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectSignalingIfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_signaling_iface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1088s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1088s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceSkeleton: 1088s # * 1088s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_signaling_iface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_signaling_iface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_signaling_iface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1088s # { 1088s # _org_project_signaling_iface_skeleton_handle_method_call, 1088s # _org_project_signaling_iface_skeleton_handle_get_property, 1088s # _org_project_signaling_iface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_signaling_iface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_simple_signal ( 1088s # OrgProjectSignalingIface *object) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1088s # OrgProjectSignalingIface *object, 1088s # const gchar *const *arg_arg_aay) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1088s # arg_arg_aay)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1088s # { 1088s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1088s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1088s # } 1088s # /tmp/tmptjxrmpdg/tmpyj9u9bl1.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptjxrmpdg/tmpyj9u9bl1.xml', '--output', '-', '--body'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.SignalingIface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectSignalingIface 1088s # * @title: OrgProjectSignalingIface 1088s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1088s # */ 1088s # 1088s # enum 1088s # { 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1088s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1088s # }; 1088s # 1088s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1088s # 1088s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SimpleSignal", 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "simple-signal" 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "arg_asv", 1088s # (gchar *) "a{sv}", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SingleArgSignalAsv", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "single-arg-signal-asv" 1088s # }; 1088s # 1088s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.SignalingIface", 1088s # NULL, 1088s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-signaling-iface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_signaling_iface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_signaling_iface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_simple_signal ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__VOID (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__VARIANT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1088s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1088s # */ 1088s # 1088s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1088s # { 1088s # /* GObject signals for received D-Bus signals: */ 1088s # /** 1088s # * OrgProjectSignalingIface::simple-signal: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1088s # g_signal_new ("simple-signal", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_simple_signal, 1088s # G_TYPE_NONE, 1088s # 0); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::single-arg-signal-asv: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_arg_asv: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1088s # g_signal_new ("single-arg-signal-asv", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1088s # G_TYPE_NONE, 1088s # 1, G_TYPE_VARIANT); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_simple_signal: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * 1088s # * Emits the "SimpleSignal" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_simple_signal ( 1088s # OrgProjectSignalingIface *object) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_arg_asv: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1088s # OrgProjectSignalingIface *object, 1088s # GVariant *arg_arg_asv) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceProxy: 1088s # * 1088s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectSignalingIfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectSignalingIfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_signaling_iface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1088s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1088s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceSkeleton: 1088s # * 1088s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_signaling_iface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_signaling_iface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_signaling_iface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1088s # { 1088s # _org_project_signaling_iface_skeleton_handle_method_call, 1088s # _org_project_signaling_iface_skeleton_handle_get_property, 1088s # _org_project_signaling_iface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_signaling_iface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_simple_signal ( 1088s # OrgProjectSignalingIface *object) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1088s # OrgProjectSignalingIface *object, 1088s # GVariant *arg_arg_asv) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1088s # arg_arg_asv)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1088s # { 1088s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1088s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1088s # } 1088s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1088s # tmpdir: /tmp/tmprwp2mpn_ 1088s # codegen: /usr/bin/gdbus-codegen 1088s # /tmp/tmprwp2mpn_/tmpiybzwpza.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprwp2mpn_/tmpiybzwpza.xml', '--output', '-', '--body'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1088s # GClosure *closure, 1088s # GValue *return_value G_GNUC_UNUSED, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1088s # (void *data1, 1088s # gboolean arg_an_b, 1088s # guchar arg_an_y, 1088s # gint16 arg_an_n, 1088s # guint16 arg_an_q, 1088s # gint arg_an_i, 1088s # guint arg_an_u, 1088s # gint64 arg_an_x, 1088s # guint64 arg_an_t, 1088s # gdouble arg_an_d, 1088s # const gchar *arg_an_s, 1088s # const gchar *arg_an_o, 1088s # const gchar *arg_an_g, 1088s # GVariant *arg_an_h, 1088s # const gchar *arg_an_ay, 1088s # const gchar *const *arg_an_as, 1088s # const gchar *const *arg_an_ao, 1088s # const gchar *const *arg_an_aay, 1088s # GVariant *arg_an_asv, 1088s # void *data2); 1088s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # 1088s # g_return_if_fail (n_param_values == 19); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # callback (data1, 1088s # g_marshal_value_peek_boolean (param_values + 1), 1088s # g_marshal_value_peek_uchar (param_values + 2), 1088s # g_marshal_value_peek_int (param_values + 3), 1088s # g_marshal_value_peek_uint (param_values + 4), 1088s # g_marshal_value_peek_int (param_values + 5), 1088s # g_marshal_value_peek_uint (param_values + 6), 1088s # g_marshal_value_peek_int64 (param_values + 7), 1088s # g_marshal_value_peek_uint64 (param_values + 8), 1088s # g_marshal_value_peek_double (param_values + 9), 1088s # g_marshal_value_peek_string (param_values + 10), 1088s # g_marshal_value_peek_string (param_values + 11), 1088s # g_marshal_value_peek_string (param_values + 12), 1088s # g_marshal_value_peek_variant (param_values + 13), 1088s # g_marshal_value_peek_string (param_values + 14), 1088s # g_marshal_value_peek_boxed (param_values + 15), 1088s # g_marshal_value_peek_boxed (param_values + 16), 1088s # g_marshal_value_peek_boxed (param_values + 17), 1088s # g_marshal_value_peek_variant (param_values + 18), 1088s # data2); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.SignalingIface 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectSignalingIface 1088s # * @title: OrgProjectSignalingIface 1088s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1088s # */ 1088s # 1088s # enum 1088s # { 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1088s # }; 1088s # 1088s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1088s # 1088s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SimpleSignal", 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "simple-signal" 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_b", 1088s # (gchar *) "b", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_y", 1088s # (gchar *) "y", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_n", 1088s # (gchar *) "n", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_q", 1088s # (gchar *) "q", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_i", 1088s # (gchar *) "i", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_u", 1088s # (gchar *) "u", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_x", 1088s # (gchar *) "x", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_t", 1088s # (gchar *) "t", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_d", 1088s # (gchar *) "d", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_s", 1088s # (gchar *) "s", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_o", 1088s # (gchar *) "o", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_g", 1088s # (gchar *) "g", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_h", 1088s # (gchar *) "h", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_ay", 1088s # (gchar *) "ay", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_as", 1088s # (gchar *) "as", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_ao", 1088s # (gchar *) "ao", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_aay", 1088s # (gchar *) "aay", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "an_asv", 1088s # (gchar *) "a{sv}", 1088s # NULL 1088s # }, 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "SignalWithManyArgs", 1088s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1088s # NULL 1088s # }, 1088s # "signal-with-many-args" 1088s # }; 1088s # 1088s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1088s # { 1088s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1088s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.SignalingIface", 1088s # NULL, 1088s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-signaling-iface", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_signaling_iface_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_signaling_iface_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_simple_signal ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__VOID (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceIface: 1088s # * @parent_iface: The parent interface. 1088s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1088s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1088s # */ 1088s # 1088s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1088s # { 1088s # /* GObject signals for received D-Bus signals: */ 1088s # /** 1088s # * OrgProjectSignalingIface::simple-signal: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1088s # g_signal_new ("simple-signal", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_simple_signal, 1088s # G_TYPE_NONE, 1088s # 0); 1088s # 1088s # /** 1088s # * OrgProjectSignalingIface::signal-with-many-args: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_b: Argument. 1088s # * @arg_an_y: Argument. 1088s # * @arg_an_n: Argument. 1088s # * @arg_an_q: Argument. 1088s # * @arg_an_i: Argument. 1088s # * @arg_an_u: Argument. 1088s # * @arg_an_x: Argument. 1088s # * @arg_an_t: Argument. 1088s # * @arg_an_d: Argument. 1088s # * @arg_an_s: Argument. 1088s # * @arg_an_o: Argument. 1088s # * @arg_an_g: Argument. 1088s # * @arg_an_h: Argument. 1088s # * @arg_an_ay: Argument. 1088s # * @arg_an_as: Argument. 1088s # * @arg_an_ao: Argument. 1088s # * @arg_an_aay: Argument. 1088s # * @arg_an_asv: Argument. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1088s # g_signal_new ("signal-with-many-args", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1088s # NULL, 1088s # NULL, 1088s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1088s # G_TYPE_NONE, 1088s # 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); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_simple_signal: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * 1088s # * Emits the "SimpleSignal" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_simple_signal ( 1088s # OrgProjectSignalingIface *object) 1088s # { 1088s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_emit_signal_with_many_args: 1088s # * @object: A #OrgProjectSignalingIface. 1088s # * @arg_an_b: Argument to pass with the signal. 1088s # * @arg_an_y: Argument to pass with the signal. 1088s # * @arg_an_n: Argument to pass with the signal. 1088s # * @arg_an_q: Argument to pass with the signal. 1088s # * @arg_an_i: Argument to pass with the signal. 1088s # * @arg_an_u: Argument to pass with the signal. 1088s # * @arg_an_x: Argument to pass with the signal. 1088s # * @arg_an_t: Argument to pass with the signal. 1088s # * @arg_an_d: Argument to pass with the signal. 1088s # * @arg_an_s: Argument to pass with the signal. 1088s # * @arg_an_o: Argument to pass with the signal. 1088s # * @arg_an_g: Argument to pass with the signal. 1088s # * @arg_an_h: Argument to pass with the signal. 1088s # * @arg_an_ay: Argument to pass with the signal. 1088s # * @arg_an_as: Argument to pass with the signal. 1088s # * @arg_an_ao: Argument to pass with the signal. 1088s # * @arg_an_aay: Argument to pass with the signal. 1088s # * @arg_an_asv: Argument to pass with the signal. 1088s # * 1088s # * Emits the "SignalWithManyArgs" D-Bus signal. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_emit_signal_with_many_args ( 1088s # OrgProjectSignalingIface *object, 1088s # gboolean arg_an_b, 1088s # guchar arg_an_y, 1088s # gint16 arg_an_n, 1088s # guint16 arg_an_q, 1088s # gint arg_an_i, 1088s # guint arg_an_u, 1088s # gint64 arg_an_x, 1088s # guint64 arg_an_t, 1088s # gdouble arg_an_d, 1088s # const gchar *arg_an_s, 1088s # const gchar *arg_an_o, 1088s # const gchar *arg_an_g, 1088s # GVariant *arg_an_h, 1088s # const gchar *arg_an_ay, 1088s # const gchar *const *arg_an_as, 1088s # const gchar *const *arg_an_ao, 1088s # const gchar *const *arg_an_aay, 1088s # GVariant *arg_an_asv) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceProxy: 1088s # * 1088s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectSignalingIfaceProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectSignalingIfaceProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_signaling_iface_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1088s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1088s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_signaling_iface_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceSkeleton: 1088s # * 1088s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectSignalingIfaceSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_signaling_iface_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_signaling_iface_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_signaling_iface_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1088s # { 1088s # _org_project_signaling_iface_skeleton_handle_method_call, 1088s # _org_project_signaling_iface_skeleton_handle_get_property, 1088s # _org_project_signaling_iface_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_signaling_iface_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_simple_signal ( 1088s # OrgProjectSignalingIface *object) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void 1088s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1088s # OrgProjectSignalingIface *object, 1088s # gboolean arg_an_b, 1088s # guchar arg_an_y, 1088s # gint16 arg_an_n, 1088s # guint16 arg_an_q, 1088s # gint arg_an_i, 1088s # guint arg_an_u, 1088s # gint64 arg_an_x, 1088s # guint64 arg_an_t, 1088s # gdouble arg_an_d, 1088s # const gchar *arg_an_s, 1088s # const gchar *arg_an_o, 1088s # const gchar *arg_an_g, 1088s # GVariant *arg_an_h, 1088s # const gchar *arg_an_ay, 1088s # const gchar *const *arg_an_as, 1088s # const gchar *const *arg_an_ao, 1088s # const gchar *const *arg_an_aay, 1088s # GVariant *arg_an_asv) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1088s # arg_an_b, 1088s # arg_an_y, 1088s # arg_an_n, 1088s # arg_an_q, 1088s # arg_an_i, 1088s # arg_an_u, 1088s # arg_an_x, 1088s # arg_an_t, 1088s # arg_an_d, 1088s # arg_an_s, 1088s # arg_an_o, 1088s # arg_an_g, 1088s # arg_an_h, 1088s # arg_an_ay, 1088s # arg_an_as, 1088s # arg_an_ao, 1088s # arg_an_aay, 1088s # arg_an_asv)); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1088s # { 1088s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1088s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1088s # } 1088s # 1088s # /** 1088s # * org_project_signaling_iface_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectSignalingIface * 1088s # org_project_signaling_iface_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1088s # } 1088s ok 25 __main__.TestCodegen.test_generate_valid_docbook 1088s # tmpdir: /tmp/tmpxhchot4_ 1088s # codegen: /usr/bin/gdbus-codegen 1088s # /tmp/tmpxhchot4_/tmpsqpjdk3o.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxhchot4_/tmpsqpjdk3o.xml', '--generate-docbook', 'test'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: 1088s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1088s # tmpdir: /tmp/tmpafdstb51 1088s # codegen: /usr/bin/gdbus-codegen 1088s # /tmp/tmpafdstb51/tmpp7ea9jin.xml: 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafdstb51/tmpp7ea9jin.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 1088s # tmpdir: /tmp/tmpntnckc2c 1088s # codegen: /usr/bin/gdbus-codegen 1088s # /tmp/tmpntnckc2c/tmpn5w69tpo.xml: 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpntnckc2c/tmpn5w69tpo.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifndef __STDOUT__ 1088s # #define __STDOUT__ 1088s # 1088s # #include 1088s # 1088s # G_BEGIN_DECLS 1088s # 1088s # 1088s # G_END_DECLS 1088s # 1088s # #endif /* __STDOUT__ */ 1088s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 1088s # tmpdir: /tmp/tmpgij5aubf 1088s # codegen: /usr/bin/gdbus-codegen 1088s # /tmp/tmpgij5aubf/tmp1z5cvl84.xml: 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgij5aubf/tmp1z5cvl84.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 1088s # tmpdir: /tmp/tmp9qczje5i 1088s # codegen: /usr/bin/gdbus-codegen 1088s # /tmp/tmp9qczje5i/tmpegiwgn5u.xml: 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9qczje5i/tmpegiwgn5u.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifndef __STDOUT__ 1088s # #define __STDOUT__ 1088s # 1088s # #include 1088s # 1088s # G_BEGIN_DECLS 1088s # 1088s # 1088s # G_END_DECLS 1088s # 1088s # #endif /* __STDOUT__ */ 1088s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 1088s # tmpdir: /tmp/tmpxamzf7ch 1088s # codegen: /usr/bin/gdbus-codegen 1088s # /tmp/tmpxamzf7ch/tmpa0dpz02y.xml: 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxamzf7ch/tmpa0dpz02y.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifndef __STDOUT__ 1088s # #define __STDOUT__ 1088s # 1088s # #include 1088s # 1088s # G_BEGIN_DECLS 1088s # 1088s # 1088s # G_END_DECLS 1088s # 1088s # #endif /* __STDOUT__ */ 1088s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 1088s # tmpdir: /tmp/tmptlufx81q 1088s # codegen: /usr/bin/gdbus-codegen 1088s # /tmp/tmptlufx81q/tmp44sf24_2.xml: 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptlufx81q/tmp44sf24_2.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 1088s # tmpdir: /tmp/tmp1s_4ljlt 1088s # codegen: /usr/bin/gdbus-codegen 1088s # /tmp/tmp1s_4ljlt/tmpd5kzce_k.xml: 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1s_4ljlt/tmpd5kzce_k.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifndef __STDOUT__ 1088s # #define __STDOUT__ 1088s # 1088s # #include 1088s # 1088s # G_BEGIN_DECLS 1088s # 1088s # 1088s # G_END_DECLS 1088s # 1088s # #endif /* __STDOUT__ */ 1088s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 1088s # tmpdir: /tmp/tmpjes5ptqv 1088s # codegen: /usr/bin/gdbus-codegen 1088s # /tmp/tmpjes5ptqv/tmpxkmwvgvi.xml: 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjes5ptqv/tmpxkmwvgvi.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 1088s # tmpdir: /tmp/tmpva6lse3z 1088s # codegen: /usr/bin/gdbus-codegen 1088s # /tmp/tmpva6lse3z/tmpmphit497.xml: 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpva6lse3z/tmpmphit497.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifndef __STDOUT__ 1088s # #define __STDOUT__ 1088s # 1088s # #include 1088s # 1088s # G_BEGIN_DECLS 1088s # 1088s # 1088s # G_END_DECLS 1088s # 1088s # #endif /* __STDOUT__ */ 1088s ok 35 __main__.TestCodegen.test_help 1088s # tmpdir: /tmp/tmp3ztli6s7 1088s # codegen: /usr/bin/gdbus-codegen 1088s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1088s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1088s # [--c-generate-autocleanup {none,objects,all}] 1088s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1088s # [--generate-rst OUTFILES] [--pragma-once] 1088s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1088s # [--glib-min-required VERSION] 1088s # [--glib-max-allowed VERSION] 1088s # [--symbol-decorator SYMBOL_DECORATOR] 1088s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1088s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1088s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 1088s # [--output FILE | --output-directory OUTDIR] 1088s # FILE [FILE ...] 1088s # 1088s # D-Bus code and documentation generator 1088s # 1088s # positional arguments: 1088s # FILE D-Bus introspection XML file 1088s # 1088s # options: 1088s # -h, --help show this help message and exit 1088s # --interface-prefix PREFIX 1088s # String to strip from D-Bus interface names for code 1088s # and docs 1088s # --c-namespace NAMESPACE 1088s # The namespace to use for generated C code 1088s # --c-generate-object-manager 1088s # Generate a GDBusObjectManagerClient subclass when 1088s # generating C code 1088s # --c-generate-autocleanup {none,objects,all} 1088s # Generate autocleanup support 1088s # --generate-docbook OUTFILES 1088s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1088s # --generate-md OUTFILES 1088s # Generate Markdown in OUTFILES-org.Project.IFace.md 1088s # --generate-rst OUTFILES 1088s # Generate reStructuredText in OUTFILES- 1088s # org.Project.IFace.rst 1088s # --pragma-once Use "pragma once" as the inclusion guard 1088s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1088s # Add annotation (may be used several times) 1088s # --glib-min-required VERSION 1088s # Minimum version of GLib to be supported by the 1088s # outputted code (default: 2.30) 1088s # --glib-max-allowed VERSION 1088s # Maximum version of GLib to be used by the outputted 1088s # code (default: current GLib version) 1088s # --symbol-decorator SYMBOL_DECORATOR 1088s # Macro used to decorate a symbol in the outputted 1088s # header, possibly to export symbols 1088s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1088s # Additional header required for decorator specified by 1088s # --symbol-decorator 1088s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1088s # Additional define required for decorator specified by 1088s # --symbol-decorator 1088s # --generate-c-code OUTFILES 1088s # Generate C code in OUTFILES.[ch] 1088s # --header Generate C headers 1088s # --body Generate C code 1088s # --interface-info-header 1088s # Generate GDBusInterfaceInfo C header 1088s # --interface-info-body 1088s # Generate GDBusInterfaceInfo C code 1088s # --output FILE Write output into the specified file 1088s # --output-directory OUTDIR 1088s # Location to output generated files 1088s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 1088s # tmpdir: /tmp/tmp3yppofmt 1088s # codegen: /usr/bin/gdbus-codegen 1088s # /tmp/tmp3yppofmt/tmpfxgv3rkm.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3yppofmt/tmpfxgv3rkm.xml', '--generate-rst', 'test'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: 1088s # /tmp/tmp3yppofmt/tmpnk4t5pqv.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3yppofmt/tmpnk4t5pqv.xml', '--generate-md', 'test'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: 1088s # /tmp/tmp3yppofmt/tmpz_66c09a.xml: 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3yppofmt/tmpz_66c09a.xml', '--generate-docbook', 'test'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: 1088s ok 37 __main__.TestCodegen.test_no_args 1088s # tmpdir: /tmp/tmpj2udyi9a 1088s # codegen: /usr/bin/gdbus-codegen 1088s # Running: ['/usr/bin/gdbus-codegen'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s ok 38 __main__.TestCodegen.test_reproducible 1088s # tmpdir: /tmp/tmp3k248zim 1088s # codegen: /usr/bin/gdbus-codegen 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3k248zim/tmpt8y7bb4d1.xml', '/tmp/tmp3k248zim/tmpr1y25zo02.xml', '--output', '-', '--header'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifndef __STDOUT__ 1088s # #define __STDOUT__ 1088s # 1088s # #include 1088s # 1088s # G_BEGIN_DECLS 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # /* Declarations for org.project.Bar.Frobnicator */ 1088s # 1088s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1088s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1088s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1088s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1088s # 1088s # struct _OrgProjectBarFrobnicator; 1088s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1088s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1088s # 1088s # struct _OrgProjectBarFrobnicatorIface 1088s # { 1088s # GTypeInterface parent_iface; 1088s # 1088s # gboolean (*handle_random_method) ( 1088s # OrgProjectBarFrobnicator *object, 1088s # GDBusMethodInvocation *invocation); 1088s # 1088s # }; 1088s # 1088s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1088s # 1088s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1088s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1088s # 1088s # 1088s # /* D-Bus method call completion functions: */ 1088s # void org_project_bar_frobnicator_complete_random_method ( 1088s # OrgProjectBarFrobnicator *object, 1088s # GDBusMethodInvocation *invocation); 1088s # 1088s # 1088s # 1088s # /* D-Bus method calls: */ 1088s # void org_project_bar_frobnicator_call_random_method ( 1088s # OrgProjectBarFrobnicator *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data); 1088s # 1088s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1088s # OrgProjectBarFrobnicator *proxy, 1088s # GAsyncResult *res, 1088s # GError **error); 1088s # 1088s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1088s # OrgProjectBarFrobnicator *proxy, 1088s # GCancellable *cancellable, 1088s # GError **error); 1088s # 1088s # 1088s # 1088s # /* ---- */ 1088s # 1088s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1088s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1088s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1088s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1088s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1088s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1088s # 1088s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1088s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1088s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1088s # 1088s # struct _OrgProjectBarFrobnicatorProxy 1088s # { 1088s # /*< private >*/ 1088s # GDBusProxy parent_instance; 1088s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1088s # }; 1088s # 1088s # struct _OrgProjectBarFrobnicatorProxyClass 1088s # { 1088s # GDBusProxyClass parent_class; 1088s # }; 1088s # 1088s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1088s # 1088s # #if GLIB_CHECK_VERSION(2, 44, 0) 1088s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1088s # #endif 1088s # 1088s # void org_project_bar_frobnicator_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data); 1088s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error); 1088s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error); 1088s # 1088s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data); 1088s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error); 1088s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error); 1088s # 1088s # 1088s # /* ---- */ 1088s # 1088s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1088s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1088s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1088s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1088s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1088s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1088s # 1088s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1088s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1088s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1088s # 1088s # struct _OrgProjectBarFrobnicatorSkeleton 1088s # { 1088s # /*< private >*/ 1088s # GDBusInterfaceSkeleton parent_instance; 1088s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1088s # }; 1088s # 1088s # struct _OrgProjectBarFrobnicatorSkeletonClass 1088s # { 1088s # GDBusInterfaceSkeletonClass parent_class; 1088s # }; 1088s # 1088s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1088s # 1088s # #if GLIB_CHECK_VERSION(2, 44, 0) 1088s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1088s # #endif 1088s # 1088s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # /* Declarations for com.acme.Coyote */ 1088s # 1088s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1088s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1088s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1088s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1088s # 1088s # struct _ComAcmeCoyote; 1088s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1088s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1088s # 1088s # struct _ComAcmeCoyoteIface 1088s # { 1088s # GTypeInterface parent_iface; 1088s # 1088s # 1088s # 1088s # gboolean (*handle_attack) ( 1088s # ComAcmeCoyote *object, 1088s # GDBusMethodInvocation *invocation); 1088s # 1088s # gboolean (*handle_run) ( 1088s # ComAcmeCoyote *object, 1088s # GDBusMethodInvocation *invocation); 1088s # 1088s # gboolean (*handle_sleep) ( 1088s # ComAcmeCoyote *object, 1088s # GDBusMethodInvocation *invocation); 1088s # 1088s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1088s # 1088s # void (*surprised) ( 1088s # ComAcmeCoyote *object); 1088s # 1088s # }; 1088s # 1088s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1088s # 1088s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1088s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1088s # 1088s # 1088s # /* D-Bus method call completion functions: */ 1088s # void com_acme_coyote_complete_run ( 1088s # ComAcmeCoyote *object, 1088s # GDBusMethodInvocation *invocation); 1088s # 1088s # void com_acme_coyote_complete_sleep ( 1088s # ComAcmeCoyote *object, 1088s # GDBusMethodInvocation *invocation); 1088s # 1088s # void com_acme_coyote_complete_attack ( 1088s # ComAcmeCoyote *object, 1088s # GDBusMethodInvocation *invocation); 1088s # 1088s # 1088s # 1088s # /* D-Bus signal emissions functions: */ 1088s # void com_acme_coyote_emit_surprised ( 1088s # ComAcmeCoyote *object); 1088s # 1088s # 1088s # 1088s # /* D-Bus method calls: */ 1088s # void com_acme_coyote_call_run ( 1088s # ComAcmeCoyote *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data); 1088s # 1088s # gboolean com_acme_coyote_call_run_finish ( 1088s # ComAcmeCoyote *proxy, 1088s # GAsyncResult *res, 1088s # GError **error); 1088s # 1088s # gboolean com_acme_coyote_call_run_sync ( 1088s # ComAcmeCoyote *proxy, 1088s # GCancellable *cancellable, 1088s # GError **error); 1088s # 1088s # void com_acme_coyote_call_sleep ( 1088s # ComAcmeCoyote *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data); 1088s # 1088s # gboolean com_acme_coyote_call_sleep_finish ( 1088s # ComAcmeCoyote *proxy, 1088s # GAsyncResult *res, 1088s # GError **error); 1088s # 1088s # gboolean com_acme_coyote_call_sleep_sync ( 1088s # ComAcmeCoyote *proxy, 1088s # GCancellable *cancellable, 1088s # GError **error); 1088s # 1088s # void com_acme_coyote_call_attack ( 1088s # ComAcmeCoyote *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data); 1088s # 1088s # gboolean com_acme_coyote_call_attack_finish ( 1088s # ComAcmeCoyote *proxy, 1088s # GAsyncResult *res, 1088s # GError **error); 1088s # 1088s # gboolean com_acme_coyote_call_attack_sync ( 1088s # ComAcmeCoyote *proxy, 1088s # GCancellable *cancellable, 1088s # GError **error); 1088s # 1088s # 1088s # 1088s # /* D-Bus property accessors: */ 1088s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1088s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1088s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1088s # 1088s # 1088s # /* ---- */ 1088s # 1088s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1088s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1088s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1088s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1088s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1088s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1088s # 1088s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1088s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1088s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1088s # 1088s # struct _ComAcmeCoyoteProxy 1088s # { 1088s # /*< private >*/ 1088s # GDBusProxy parent_instance; 1088s # ComAcmeCoyoteProxyPrivate *priv; 1088s # }; 1088s # 1088s # struct _ComAcmeCoyoteProxyClass 1088s # { 1088s # GDBusProxyClass parent_class; 1088s # }; 1088s # 1088s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1088s # 1088s # #if GLIB_CHECK_VERSION(2, 44, 0) 1088s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1088s # #endif 1088s # 1088s # void com_acme_coyote_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data); 1088s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error); 1088s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error); 1088s # 1088s # void com_acme_coyote_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data); 1088s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error); 1088s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error); 1088s # 1088s # 1088s # /* ---- */ 1088s # 1088s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1088s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1088s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1088s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1088s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1088s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1088s # 1088s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1088s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1088s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1088s # 1088s # struct _ComAcmeCoyoteSkeleton 1088s # { 1088s # /*< private >*/ 1088s # GDBusInterfaceSkeleton parent_instance; 1088s # ComAcmeCoyoteSkeletonPrivate *priv; 1088s # }; 1088s # 1088s # struct _ComAcmeCoyoteSkeletonClass 1088s # { 1088s # GDBusInterfaceSkeletonClass parent_class; 1088s # }; 1088s # 1088s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1088s # 1088s # #if GLIB_CHECK_VERSION(2, 44, 0) 1088s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1088s # #endif 1088s # 1088s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1088s # 1088s # 1088s # G_END_DECLS 1088s # 1088s # #endif /* __STDOUT__ */ 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3k248zim/tmpr1y25zo02.xml', '/tmp/tmp3k248zim/tmpt8y7bb4d1.xml', '--output', '-', '--header'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifndef __STDOUT__ 1088s # #define __STDOUT__ 1088s # 1088s # #include 1088s # 1088s # G_BEGIN_DECLS 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # /* Declarations for org.project.Bar.Frobnicator */ 1088s # 1088s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1088s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1088s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1088s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1088s # 1088s # struct _OrgProjectBarFrobnicator; 1088s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1088s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1088s # 1088s # struct _OrgProjectBarFrobnicatorIface 1088s # { 1088s # GTypeInterface parent_iface; 1088s # 1088s # gboolean (*handle_random_method) ( 1088s # OrgProjectBarFrobnicator *object, 1088s # GDBusMethodInvocation *invocation); 1088s # 1088s # }; 1088s # 1088s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1088s # 1088s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1088s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1088s # 1088s # 1088s # /* D-Bus method call completion functions: */ 1088s # void org_project_bar_frobnicator_complete_random_method ( 1088s # OrgProjectBarFrobnicator *object, 1088s # GDBusMethodInvocation *invocation); 1088s # 1088s # 1088s # 1088s # /* D-Bus method calls: */ 1088s # void org_project_bar_frobnicator_call_random_method ( 1088s # OrgProjectBarFrobnicator *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data); 1088s # 1088s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1088s # OrgProjectBarFrobnicator *proxy, 1088s # GAsyncResult *res, 1088s # GError **error); 1088s # 1088s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1088s # OrgProjectBarFrobnicator *proxy, 1088s # GCancellable *cancellable, 1088s # GError **error); 1088s # 1088s # 1088s # 1088s # /* ---- */ 1088s # 1088s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1088s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1088s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1088s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1088s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1088s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1088s # 1088s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1088s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1088s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1088s # 1088s # struct _OrgProjectBarFrobnicatorProxy 1088s # { 1088s # /*< private >*/ 1088s # GDBusProxy parent_instance; 1088s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1088s # }; 1088s # 1088s # struct _OrgProjectBarFrobnicatorProxyClass 1088s # { 1088s # GDBusProxyClass parent_class; 1088s # }; 1088s # 1088s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1088s # 1088s # #if GLIB_CHECK_VERSION(2, 44, 0) 1088s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1088s # #endif 1088s # 1088s # void org_project_bar_frobnicator_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data); 1088s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error); 1088s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error); 1088s # 1088s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data); 1088s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error); 1088s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error); 1088s # 1088s # 1088s # /* ---- */ 1088s # 1088s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1088s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1088s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1088s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1088s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1088s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1088s # 1088s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1088s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1088s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1088s # 1088s # struct _OrgProjectBarFrobnicatorSkeleton 1088s # { 1088s # /*< private >*/ 1088s # GDBusInterfaceSkeleton parent_instance; 1088s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1088s # }; 1088s # 1088s # struct _OrgProjectBarFrobnicatorSkeletonClass 1088s # { 1088s # GDBusInterfaceSkeletonClass parent_class; 1088s # }; 1088s # 1088s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1088s # 1088s # #if GLIB_CHECK_VERSION(2, 44, 0) 1088s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1088s # #endif 1088s # 1088s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # /* Declarations for com.acme.Coyote */ 1088s # 1088s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1088s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1088s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1088s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1088s # 1088s # struct _ComAcmeCoyote; 1088s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1088s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1088s # 1088s # struct _ComAcmeCoyoteIface 1088s # { 1088s # GTypeInterface parent_iface; 1088s # 1088s # 1088s # 1088s # gboolean (*handle_attack) ( 1088s # ComAcmeCoyote *object, 1088s # GDBusMethodInvocation *invocation); 1088s # 1088s # gboolean (*handle_run) ( 1088s # ComAcmeCoyote *object, 1088s # GDBusMethodInvocation *invocation); 1088s # 1088s # gboolean (*handle_sleep) ( 1088s # ComAcmeCoyote *object, 1088s # GDBusMethodInvocation *invocation); 1088s # 1088s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1088s # 1088s # void (*surprised) ( 1088s # ComAcmeCoyote *object); 1088s # 1088s # }; 1088s # 1088s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1088s # 1088s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1088s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1088s # 1088s # 1088s # /* D-Bus method call completion functions: */ 1088s # void com_acme_coyote_complete_run ( 1088s # ComAcmeCoyote *object, 1088s # GDBusMethodInvocation *invocation); 1088s # 1088s # void com_acme_coyote_complete_sleep ( 1088s # ComAcmeCoyote *object, 1088s # GDBusMethodInvocation *invocation); 1088s # 1088s # void com_acme_coyote_complete_attack ( 1088s # ComAcmeCoyote *object, 1088s # GDBusMethodInvocation *invocation); 1088s # 1088s # 1088s # 1088s # /* D-Bus signal emissions functions: */ 1088s # void com_acme_coyote_emit_surprised ( 1088s # ComAcmeCoyote *object); 1088s # 1088s # 1088s # 1088s # /* D-Bus method calls: */ 1088s # void com_acme_coyote_call_run ( 1088s # ComAcmeCoyote *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data); 1088s # 1088s # gboolean com_acme_coyote_call_run_finish ( 1088s # ComAcmeCoyote *proxy, 1088s # GAsyncResult *res, 1088s # GError **error); 1088s # 1088s # gboolean com_acme_coyote_call_run_sync ( 1088s # ComAcmeCoyote *proxy, 1088s # GCancellable *cancellable, 1088s # GError **error); 1088s # 1088s # void com_acme_coyote_call_sleep ( 1088s # ComAcmeCoyote *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data); 1088s # 1088s # gboolean com_acme_coyote_call_sleep_finish ( 1088s # ComAcmeCoyote *proxy, 1088s # GAsyncResult *res, 1088s # GError **error); 1088s # 1088s # gboolean com_acme_coyote_call_sleep_sync ( 1088s # ComAcmeCoyote *proxy, 1088s # GCancellable *cancellable, 1088s # GError **error); 1088s # 1088s # void com_acme_coyote_call_attack ( 1088s # ComAcmeCoyote *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data); 1088s # 1088s # gboolean com_acme_coyote_call_attack_finish ( 1088s # ComAcmeCoyote *proxy, 1088s # GAsyncResult *res, 1088s # GError **error); 1088s # 1088s # gboolean com_acme_coyote_call_attack_sync ( 1088s # ComAcmeCoyote *proxy, 1088s # GCancellable *cancellable, 1088s # GError **error); 1088s # 1088s # 1088s # 1088s # /* D-Bus property accessors: */ 1088s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1088s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1088s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1088s # 1088s # 1088s # /* ---- */ 1088s # 1088s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1088s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1088s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1088s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1088s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1088s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1088s # 1088s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1088s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1088s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1088s # 1088s # struct _ComAcmeCoyoteProxy 1088s # { 1088s # /*< private >*/ 1088s # GDBusProxy parent_instance; 1088s # ComAcmeCoyoteProxyPrivate *priv; 1088s # }; 1088s # 1088s # struct _ComAcmeCoyoteProxyClass 1088s # { 1088s # GDBusProxyClass parent_class; 1088s # }; 1088s # 1088s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1088s # 1088s # #if GLIB_CHECK_VERSION(2, 44, 0) 1088s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1088s # #endif 1088s # 1088s # void com_acme_coyote_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data); 1088s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error); 1088s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error); 1088s # 1088s # void com_acme_coyote_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data); 1088s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error); 1088s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error); 1088s # 1088s # 1088s # /* ---- */ 1088s # 1088s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1088s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1088s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1088s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1088s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1088s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1088s # 1088s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1088s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1088s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1088s # 1088s # struct _ComAcmeCoyoteSkeleton 1088s # { 1088s # /*< private >*/ 1088s # GDBusInterfaceSkeleton parent_instance; 1088s # ComAcmeCoyoteSkeletonPrivate *priv; 1088s # }; 1088s # 1088s # struct _ComAcmeCoyoteSkeletonClass 1088s # { 1088s # GDBusInterfaceSkeletonClass parent_class; 1088s # }; 1088s # 1088s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1088s # 1088s # #if GLIB_CHECK_VERSION(2, 44, 0) 1088s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1088s # #endif 1088s # 1088s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1088s # 1088s # 1088s # G_END_DECLS 1088s # 1088s # #endif /* __STDOUT__ */ 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3k248zim/tmpt8y7bb4d1.xml', '/tmp/tmp3k248zim/tmpr1y25zo02.xml', '--output', '-', '--body'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (void *data1, 1088s # GDBusMethodInvocation *arg_method_invocation, 1088s # void *data2); 1088s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # gboolean v_return; 1088s # 1088s # g_return_if_fail (return_value != NULL); 1088s # g_return_if_fail (n_param_values == 2); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # v_return = 1088s # callback (data1, 1088s # g_marshal_value_peek_object (param_values + 1), 1088s # data2); 1088s # 1088s # g_value_set_boolean (return_value, v_return); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.Bar.Frobnicator 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectBarFrobnicator 1088s # * @title: OrgProjectBarFrobnicator 1088s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1088s # */ 1088s # 1088s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1088s # 1088s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "RandomMethod", 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "handle-random-method", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1088s # { 1088s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.Bar.Frobnicator", 1088s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-bar-frobnicator", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_bar_frobnicator_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_bar_frobnicator_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_bar_frobnicator_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_bar_frobnicator_method_marshal_random_method ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectBarFrobnicator: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectBarFrobnicatorIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1088s # */ 1088s # 1088s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * OrgProjectBarFrobnicator::handle-random-method: 1088s # * @object: A #OrgProjectBarFrobnicator. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-random-method", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # org_project_bar_frobnicator_method_marshal_random_method, 1088s # G_TYPE_BOOLEAN, 1088s # 1, 1088s # G_TYPE_DBUS_METHOD_INVOCATION); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_bar_frobnicator_call_random_method: 1088s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # org_project_bar_frobnicator_call_random_method ( 1088s # OrgProjectBarFrobnicator *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "RandomMethod", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * org_project_bar_frobnicator_call_random_method_finish: 1088s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_bar_frobnicator_call_random_method_finish ( 1088s # OrgProjectBarFrobnicator *proxy, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_bar_frobnicator_call_random_method_sync: 1088s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_bar_frobnicator_call_random_method_sync ( 1088s # OrgProjectBarFrobnicator *proxy, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "RandomMethod", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_bar_frobnicator_complete_random_method: 1088s # * @object: A #OrgProjectBarFrobnicator. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # org_project_bar_frobnicator_complete_random_method ( 1088s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("()")); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectBarFrobnicatorProxy: 1088s # * 1088s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectBarFrobnicatorProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectBarFrobnicatorProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1088s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1088s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_bar_frobnicator_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_bar_frobnicator_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_bar_frobnicator_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectBarFrobnicator * 1088s # org_project_bar_frobnicator_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_bar_frobnicator_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectBarFrobnicator * 1088s # org_project_bar_frobnicator_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_bar_frobnicator_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_bar_frobnicator_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectBarFrobnicator * 1088s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectBarFrobnicator * 1088s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectBarFrobnicatorSkeleton: 1088s # * 1088s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectBarFrobnicatorSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1088s # { 1088s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1088s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1088s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_bar_frobnicator_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_bar_frobnicator_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectBarFrobnicator * 1088s # org_project_bar_frobnicator_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface com.acme.Coyote 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:ComAcmeCoyote 1088s # * @title: ComAcmeCoyote 1088s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1088s # * 1088s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1088s # */ 1088s # 1088s # enum 1088s # { 1088s # _COM_ACME_COYOTE_SURPRISED, 1088s # }; 1088s # 1088s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1088s # 1088s # /* ---- Introspection data for com.acme.Coyote ---- */ 1088s # 1088s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "Run", 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "handle-run", 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "Sleep", 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "handle-sleep", 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "Attack", 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "handle-attack", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1088s # { 1088s # &_com_acme_coyote_method_info_run.parent_struct, 1088s # &_com_acme_coyote_method_info_sleep.parent_struct, 1088s # &_com_acme_coyote_method_info_attack.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "Surprised", 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "surprised" 1088s # }; 1088s # 1088s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1088s # { 1088s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "Mood", 1088s # (gchar *) "s", 1088s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1088s # NULL 1088s # }, 1088s # "mood", 1088s # FALSE, 1088s # TRUE 1088s # }; 1088s # 1088s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1088s # { 1088s # &_com_acme_coyote_property_info_mood.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "com.acme.Coyote", 1088s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1088s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1088s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1088s # NULL 1088s # }, 1088s # "com-acme-coyote", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * com_acme_coyote_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # com_acme_coyote_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1088s # { 1088s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # com_acme_coyote_signal_marshal_surprised ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__VOID (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # com_acme_coyote_method_marshal_run ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # com_acme_coyote_method_marshal_sleep ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # com_acme_coyote_method_marshal_attack ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * ComAcmeCoyote: 1088s # * 1088s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1088s # */ 1088s # 1088s # /** 1088s # * ComAcmeCoyoteIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1088s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1088s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1088s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1088s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1088s # * 1088s # * Virtual table for the D-Bus interface com.acme.Coyote. 1088s # */ 1088s # 1088s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1088s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * ComAcmeCoyote::handle-run: 1088s # * @object: A #ComAcmeCoyote. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-run", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # com_acme_coyote_method_marshal_run, 1088s # G_TYPE_BOOLEAN, 1088s # 1, 1088s # G_TYPE_DBUS_METHOD_INVOCATION); 1088s # 1088s # /** 1088s # * ComAcmeCoyote::handle-sleep: 1088s # * @object: A #ComAcmeCoyote. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-sleep", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # com_acme_coyote_method_marshal_sleep, 1088s # G_TYPE_BOOLEAN, 1088s # 1, 1088s # G_TYPE_DBUS_METHOD_INVOCATION); 1088s # 1088s # /** 1088s # * ComAcmeCoyote::handle-attack: 1088s # * @object: A #ComAcmeCoyote. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-attack", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # com_acme_coyote_method_marshal_attack, 1088s # G_TYPE_BOOLEAN, 1088s # 1, 1088s # G_TYPE_DBUS_METHOD_INVOCATION); 1088s # 1088s # /* GObject signals for received D-Bus signals: */ 1088s # /** 1088s # * ComAcmeCoyote::surprised: 1088s # * @object: A #ComAcmeCoyote. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1088s # g_signal_new ("surprised", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1088s # NULL, 1088s # NULL, 1088s # com_acme_coyote_signal_marshal_surprised, 1088s # G_TYPE_NONE, 1088s # 0); 1088s # 1088s # /* GObject properties for D-Bus properties: */ 1088s # /** 1088s # * ComAcmeCoyote:mood: 1088s # * 1088s # * Represents the D-Bus property "Mood". 1088s # * 1088s # * 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. 1088s # */ 1088s # g_object_interface_install_property (iface, 1088s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_get_mood: (skip) 1088s # * @object: A #ComAcmeCoyote. 1088s # * 1088s # * Gets the value of the "Mood" D-Bus property. 1088s # * 1088s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # const gchar * 1088s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1088s # { 1088s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1088s # 1088s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_dup_mood: (skip) 1088s # * @object: A #ComAcmeCoyote. 1088s # * 1088s # * Gets a copy of the "Mood" D-Bus property. 1088s # * 1088s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1088s # * 1088s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1088s # */ 1088s # gchar * 1088s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1088s # { 1088s # gchar *value; 1088s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1088s # return value; 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_set_mood: (skip) 1088s # * @object: A #ComAcmeCoyote. 1088s # * @value: The value to set. 1088s # * 1088s # * Sets the "Mood" D-Bus property to @value. 1088s # * 1088s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1088s # */ 1088s # void 1088s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1088s # { 1088s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_emit_surprised: 1088s # * @object: A #ComAcmeCoyote. 1088s # * 1088s # * Emits the "Surprised" D-Bus signal. 1088s # */ 1088s # void 1088s # com_acme_coyote_emit_surprised ( 1088s # ComAcmeCoyote *object) 1088s # { 1088s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_call_run: 1088s # * @proxy: A #ComAcmeCoyoteProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1088s # * 1088s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # com_acme_coyote_call_run ( 1088s # ComAcmeCoyote *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "Run", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_call_run_finish: 1088s # * @proxy: A #ComAcmeCoyoteProxy. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with com_acme_coyote_call_run(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # com_acme_coyote_call_run_finish ( 1088s # ComAcmeCoyote *proxy, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_call_run_sync: 1088s # * @proxy: A #ComAcmeCoyoteProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # com_acme_coyote_call_run_sync ( 1088s # ComAcmeCoyote *proxy, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "Run", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_call_sleep: 1088s # * @proxy: A #ComAcmeCoyoteProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1088s # * 1088s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # com_acme_coyote_call_sleep ( 1088s # ComAcmeCoyote *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "Sleep", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_call_sleep_finish: 1088s # * @proxy: A #ComAcmeCoyoteProxy. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # com_acme_coyote_call_sleep_finish ( 1088s # ComAcmeCoyote *proxy, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_call_sleep_sync: 1088s # * @proxy: A #ComAcmeCoyoteProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # com_acme_coyote_call_sleep_sync ( 1088s # ComAcmeCoyote *proxy, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "Sleep", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_call_attack: 1088s # * @proxy: A #ComAcmeCoyoteProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1088s # * 1088s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # com_acme_coyote_call_attack ( 1088s # ComAcmeCoyote *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "Attack", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_call_attack_finish: 1088s # * @proxy: A #ComAcmeCoyoteProxy. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with com_acme_coyote_call_attack(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # com_acme_coyote_call_attack_finish ( 1088s # ComAcmeCoyote *proxy, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_call_attack_sync: 1088s # * @proxy: A #ComAcmeCoyoteProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # com_acme_coyote_call_attack_sync ( 1088s # ComAcmeCoyote *proxy, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "Attack", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_complete_run: 1088s # * @object: A #ComAcmeCoyote. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # com_acme_coyote_complete_run ( 1088s # ComAcmeCoyote *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("()")); 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_complete_sleep: 1088s # * @object: A #ComAcmeCoyote. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # com_acme_coyote_complete_sleep ( 1088s # ComAcmeCoyote *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("()")); 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_complete_attack: 1088s # * @object: A #ComAcmeCoyote. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # com_acme_coyote_complete_attack ( 1088s # ComAcmeCoyote *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("()")); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * ComAcmeCoyoteProxy: 1088s # * 1088s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * ComAcmeCoyoteProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #ComAcmeCoyoteProxy. 1088s # */ 1088s # 1088s # struct _ComAcmeCoyoteProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # com_acme_coyote_proxy_finalize (GObject *object) 1088s # { 1088s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # com_acme_coyote_proxy_get_property (GObject *object, 1088s # guint prop_id, 1088s # GValue *value, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *variant; 1088s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1088s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1088s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1088s # if (info->use_gvariant) 1088s # { 1088s # g_value_set_variant (value, variant); 1088s # } 1088s # else 1088s # { 1088s # if (variant != NULL) 1088s # g_dbus_gvariant_to_gvalue (variant, value); 1088s # } 1088s # if (variant != NULL) 1088s # g_variant_unref (variant); 1088s # } 1088s # 1088s # static void 1088s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1088s # GAsyncResult *res, 1088s # gpointer user_data) 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info = user_data; 1088s # GError *error; 1088s # GVariant *_ret; 1088s # error = NULL; 1088s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1088s # if (!_ret) 1088s # { 1088s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1088s # info->parent_struct.name, 1088s # error->message, g_quark_to_string (error->domain), error->code); 1088s # g_error_free (error); 1088s # } 1088s # else 1088s # { 1088s # g_variant_unref (_ret); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # com_acme_coyote_proxy_set_property (GObject *object, 1088s # guint prop_id, 1088s # const GValue *value, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *variant; 1088s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1088s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1088s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1088s # "org.freedesktop.DBus.Properties.Set", 1088s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1088s # g_variant_unref (variant); 1088s # } 1088s # 1088s # static void 1088s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static const gchar * 1088s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1088s # { 1088s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1088s # GVariant *variant; 1088s # const gchar *value = NULL; 1088s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1088s # if (variant != NULL) 1088s # { 1088s # value = g_variant_get_string (variant, NULL); 1088s # g_variant_unref (variant); 1088s # } 1088s # return value; 1088s # } 1088s # 1088s # static void 1088s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1088s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1088s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1088s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1088s # 1088s # com_acme_coyote_override_properties (gobject_class, 1); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1088s # { 1088s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # com_acme_coyote_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # ComAcmeCoyote * 1088s # com_acme_coyote_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return COM_ACME_COYOTE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # ComAcmeCoyote * 1088s # com_acme_coyote_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return COM_ACME_COYOTE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * com_acme_coyote_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # com_acme_coyote_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # ComAcmeCoyote * 1088s # com_acme_coyote_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return COM_ACME_COYOTE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # ComAcmeCoyote * 1088s # com_acme_coyote_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return COM_ACME_COYOTE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * ComAcmeCoyoteSkeleton: 1088s # * 1088s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * ComAcmeCoyoteSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #ComAcmeCoyoteSkeleton. 1088s # */ 1088s # 1088s # struct _ComAcmeCoyoteSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _com_acme_coyote_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _com_acme_coyote_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _com_acme_coyote_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1088s # { 1088s # _com_acme_coyote_skeleton_handle_method_call, 1088s # _com_acme_coyote_skeleton_handle_get_property, 1088s # _com_acme_coyote_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return com_acme_coyote_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1088s # 1088s # static void 1088s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1088s # gboolean emit_changed = FALSE; 1088s # 1088s # g_mutex_lock (&skeleton->priv->lock); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # { 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # skeleton->priv->changed_properties_idle_source = NULL; 1088s # emit_changed = TRUE; 1088s # } 1088s # g_mutex_unlock (&skeleton->priv->lock); 1088s # 1088s # if (emit_changed) 1088s # _com_acme_coyote_emit_changed (skeleton); 1088s # } 1088s # 1088s # static void 1088s # _com_acme_coyote_on_signal_surprised ( 1088s # ComAcmeCoyote *object) 1088s # { 1088s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # com_acme_coyote_skeleton_finalize (GObject *object) 1088s # { 1088s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1088s # guint n; 1088s # for (n = 0; n < 1; n++) 1088s # g_value_unset (&skeleton->priv->properties[n]); 1088s # g_free (skeleton->priv->properties); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # com_acme_coyote_skeleton_get_property (GObject *object, 1088s # guint prop_id, 1088s # GValue *value, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1088s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1088s # g_mutex_lock (&skeleton->priv->lock); 1088s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1088s # g_mutex_unlock (&skeleton->priv->lock); 1088s # } 1088s # 1088s # static gboolean 1088s # _com_acme_coyote_emit_changed (gpointer user_data) 1088s # { 1088s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1088s # GList *l; 1088s # GVariantBuilder builder; 1088s # GVariantBuilder invalidated_builder; 1088s # guint num_changes; 1088s # 1088s # g_mutex_lock (&skeleton->priv->lock); 1088s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1088s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1088s # { 1088s # ChangedProperty *cp = l->data; 1088s # GVariant *variant; 1088s # const GValue *cur_value; 1088s # 1088s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1088s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1088s # { 1088s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1088s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1088s # g_variant_unref (variant); 1088s # num_changes++; 1088s # } 1088s # } 1088s # if (num_changes > 0) 1088s # { 1088s # GList *connections, *ll; 1088s # GVariant *signal_variant; 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1088s # &builder, &invalidated_builder)); 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # for (ll = connections; ll != NULL; ll = ll->next) 1088s # { 1088s # GDBusConnection *connection = ll->data; 1088s # 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1088s # "org.freedesktop.DBus.Properties", 1088s # "PropertiesChanged", 1088s # signal_variant, 1088s # NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # else 1088s # { 1088s # g_variant_builder_clear (&builder); 1088s # g_variant_builder_clear (&invalidated_builder); 1088s # } 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # skeleton->priv->changed_properties = NULL; 1088s # skeleton->priv->changed_properties_idle_source = NULL; 1088s # g_mutex_unlock (&skeleton->priv->lock); 1088s # return FALSE; 1088s # } 1088s # 1088s # static void 1088s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1088s # { 1088s # ChangedProperty *cp; 1088s # GList *l; 1088s # cp = NULL; 1088s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1088s # { 1088s # ChangedProperty *i_cp = l->data; 1088s # if (i_cp->info == info) 1088s # { 1088s # cp = i_cp; 1088s # break; 1088s # } 1088s # } 1088s # if (cp == NULL) 1088s # { 1088s # cp = g_new0 (ChangedProperty, 1); 1088s # cp->prop_id = prop_id; 1088s # cp->info = info; 1088s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1088s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1088s # g_value_copy (orig_value, &cp->orig_value); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # com_acme_coyote_skeleton_notify (GObject *object, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1088s # g_mutex_lock (&skeleton->priv->lock); 1088s # if (skeleton->priv->changed_properties != NULL && 1088s # skeleton->priv->changed_properties_idle_source == NULL) 1088s # { 1088s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1088s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1088s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1088s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1088s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1088s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1088s # } 1088s # g_mutex_unlock (&skeleton->priv->lock); 1088s # } 1088s # 1088s # static void 1088s # com_acme_coyote_skeleton_set_property (GObject *object, 1088s # guint prop_id, 1088s # const GValue *value, 1088s # GParamSpec *pspec) 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1088s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1088s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1088s # g_mutex_lock (&skeleton->priv->lock); 1088s # g_object_freeze_notify (object); 1088s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1088s # { 1088s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1088s # info->emits_changed_signal) 1088s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1088s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1088s # g_object_notify_by_pspec (object, pspec); 1088s # } 1088s # g_mutex_unlock (&skeleton->priv->lock); 1088s # g_object_thaw_notify (object); 1088s # } 1088s # 1088s # static void 1088s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # skeleton->priv->properties = g_new0 (GValue, 1); 1088s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1088s # } 1088s # 1088s # static const gchar * 1088s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1088s # { 1088s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1088s # const gchar *value; 1088s # g_mutex_lock (&skeleton->priv->lock); 1088s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1088s # g_mutex_unlock (&skeleton->priv->lock); 1088s # return value; 1088s # } 1088s # 1088s # static void 1088s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1088s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1088s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1088s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1088s # 1088s # 1088s # com_acme_coyote_override_properties (gobject_class, 1); 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1088s # { 1088s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1088s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1088s # * 1088s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1088s # */ 1088s # ComAcmeCoyote * 1088s # com_acme_coyote_skeleton_new (void) 1088s # { 1088s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1088s # } 1088s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3k248zim/tmpr1y25zo02.xml', '/tmp/tmp3k248zim/tmpt8y7bb4d1.xml', '--output', '-', '--body'] 1088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1088s # Output: /* 1088s # * This file is generated by gdbus-codegen, do not modify it. 1088s # * 1088s # * The license of this code is the same as for the D-Bus interface description 1088s # * it was derived from. Note that it links to GLib, so must comply with the 1088s # * LGPL linking clauses. 1088s # */ 1088s # 1088s # #ifdef HAVE_CONFIG_H 1088s # # include "config.h" 1088s # #endif 1088s # 1088s # #include 1088s # #ifdef G_OS_UNIX 1088s # # include 1088s # #endif 1088s # 1088s # #ifdef G_ENABLE_DEBUG 1088s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1088s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1088s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1088s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1088s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1088s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1088s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1088s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1088s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1088s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1088s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1088s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1088s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1088s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1088s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1088s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1088s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1088s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1088s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1088s # #else /* !G_ENABLE_DEBUG */ 1088s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1088s # * Do not access GValues directly in your code. Instead, use the 1088s # * g_value_get_*() functions 1088s # */ 1088s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1088s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1088s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1088s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1088s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1088s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1088s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1088s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1088s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1088s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1088s # #endif /* !G_ENABLE_DEBUG */ 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusArgInfo parent_struct; 1088s # gboolean use_gvariant; 1088s # } _ExtendedGDBusArgInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusMethodInfo parent_struct; 1088s # const gchar *signal_name; 1088s # gboolean pass_fdlist; 1088s # } _ExtendedGDBusMethodInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusSignalInfo parent_struct; 1088s # const gchar *signal_name; 1088s # } _ExtendedGDBusSignalInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusPropertyInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # guint use_gvariant : 1; 1088s # guint emits_changed_signal : 1; 1088s # } _ExtendedGDBusPropertyInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # GDBusInterfaceInfo parent_struct; 1088s # const gchar *hyphen_name; 1088s # } _ExtendedGDBusInterfaceInfo; 1088s # 1088s # typedef struct 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # guint prop_id; 1088s # GValue orig_value; /* the value before the change */ 1088s # } ChangedProperty; 1088s # 1088s # static void 1088s # _changed_property_free (ChangedProperty *data) 1088s # { 1088s # g_value_unset (&data->orig_value); 1088s # g_free (data); 1088s # } 1088s # 1088s # static gboolean 1088s # _g_strv_equal0 (gchar **a, gchar **b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # guint n; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # if (g_strv_length (a) != g_strv_length (b)) 1088s # goto out; 1088s # for (n = 0; a[n] != NULL; n++) 1088s # if (g_strcmp0 (a[n], b[n]) != 0) 1088s # goto out; 1088s # ret = TRUE; 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _g_variant_equal0 (GVariant *a, GVariant *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # if (a == NULL && b == NULL) 1088s # { 1088s # ret = TRUE; 1088s # goto out; 1088s # } 1088s # if (a == NULL || b == NULL) 1088s # goto out; 1088s # ret = g_variant_equal (a, b); 1088s # out: 1088s # return ret; 1088s # } 1088s # 1088s # G_GNUC_UNUSED static gboolean 1088s # _g_value_equal (const GValue *a, const GValue *b) 1088s # { 1088s # gboolean ret = FALSE; 1088s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1088s # switch (G_VALUE_TYPE (a)) 1088s # { 1088s # case G_TYPE_BOOLEAN: 1088s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1088s # break; 1088s # case G_TYPE_UCHAR: 1088s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1088s # break; 1088s # case G_TYPE_INT: 1088s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1088s # break; 1088s # case G_TYPE_UINT: 1088s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1088s # break; 1088s # case G_TYPE_INT64: 1088s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1088s # break; 1088s # case G_TYPE_UINT64: 1088s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1088s # break; 1088s # case G_TYPE_DOUBLE: 1088s # { 1088s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1088s # gdouble da = g_value_get_double (a); 1088s # gdouble db = g_value_get_double (b); 1088s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1088s # } 1088s # break; 1088s # case G_TYPE_STRING: 1088s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1088s # break; 1088s # case G_TYPE_VARIANT: 1088s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1088s # break; 1088s # default: 1088s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1088s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1088s # else 1088s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1088s # break; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static void 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint G_GNUC_UNUSED, 1088s # void *marshal_data) 1088s # { 1088s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (void *data1, 1088s # GDBusMethodInvocation *arg_method_invocation, 1088s # void *data2); 1088s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1088s # GCClosure *cc = (GCClosure*) closure; 1088s # void *data1, *data2; 1088s # gboolean v_return; 1088s # 1088s # g_return_if_fail (return_value != NULL); 1088s # g_return_if_fail (n_param_values == 2); 1088s # 1088s # if (G_CCLOSURE_SWAP_DATA (closure)) 1088s # { 1088s # data1 = closure->data; 1088s # data2 = g_value_peek_pointer (param_values + 0); 1088s # } 1088s # else 1088s # { 1088s # data1 = g_value_peek_pointer (param_values + 0); 1088s # data2 = closure->data; 1088s # } 1088s # 1088s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1088s # (marshal_data ? marshal_data : cc->callback); 1088s # 1088s # v_return = 1088s # callback (data1, 1088s # g_marshal_value_peek_object (param_values + 1), 1088s # data2); 1088s # 1088s # g_value_set_boolean (return_value, v_return); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface org.project.Bar.Frobnicator 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:OrgProjectBarFrobnicator 1088s # * @title: OrgProjectBarFrobnicator 1088s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1088s # * 1088s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1088s # */ 1088s # 1088s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1088s # 1088s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "RandomMethod", 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "handle-random-method", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1088s # { 1088s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "org.project.Bar.Frobnicator", 1088s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "org-project-bar-frobnicator", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * org_project_bar_frobnicator_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # org_project_bar_frobnicator_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * org_project_bar_frobnicator_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1088s # { 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # org_project_bar_frobnicator_method_marshal_random_method ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * OrgProjectBarFrobnicator: 1088s # * 1088s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectBarFrobnicatorIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1088s # * 1088s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1088s # */ 1088s # 1088s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1088s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * OrgProjectBarFrobnicator::handle-random-method: 1088s # * @object: A #OrgProjectBarFrobnicator. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-random-method", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # org_project_bar_frobnicator_method_marshal_random_method, 1088s # G_TYPE_BOOLEAN, 1088s # 1, 1088s # G_TYPE_DBUS_METHOD_INVOCATION); 1088s # 1088s # } 1088s # 1088s # /** 1088s # * org_project_bar_frobnicator_call_random_method: 1088s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # org_project_bar_frobnicator_call_random_method ( 1088s # OrgProjectBarFrobnicator *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "RandomMethod", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * org_project_bar_frobnicator_call_random_method_finish: 1088s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_bar_frobnicator_call_random_method_finish ( 1088s # OrgProjectBarFrobnicator *proxy, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_bar_frobnicator_call_random_method_sync: 1088s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # org_project_bar_frobnicator_call_random_method_sync ( 1088s # OrgProjectBarFrobnicator *proxy, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "RandomMethod", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_bar_frobnicator_complete_random_method: 1088s # * @object: A #OrgProjectBarFrobnicator. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # org_project_bar_frobnicator_complete_random_method ( 1088s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("()")); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectBarFrobnicatorProxy: 1088s # * 1088s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectBarFrobnicatorProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1088s # */ 1088s # 1088s # struct _OrgProjectBarFrobnicatorProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1088s # { 1088s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1088s # guint prop_id G_GNUC_UNUSED, 1088s # const GValue *value G_GNUC_UNUSED, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void 1088s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1088s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1088s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1088s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_bar_frobnicator_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_bar_frobnicator_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_bar_frobnicator_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectBarFrobnicator * 1088s # org_project_bar_frobnicator_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_bar_frobnicator_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectBarFrobnicator * 1088s # org_project_bar_frobnicator_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * org_project_bar_frobnicator_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # org_project_bar_frobnicator_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectBarFrobnicator * 1088s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # OrgProjectBarFrobnicator * 1088s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * OrgProjectBarFrobnicatorSkeleton: 1088s # * 1088s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * OrgProjectBarFrobnicatorSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1088s # */ 1088s # 1088s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1088s # { 1088s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1088s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1088s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return org_project_bar_frobnicator_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static void 1088s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1088s # { 1088s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # } 1088s # 1088s # static void 1088s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1088s # { 1088s # } 1088s # 1088s # /** 1088s # * org_project_bar_frobnicator_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1088s # * 1088s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1088s # */ 1088s # OrgProjectBarFrobnicator * 1088s # org_project_bar_frobnicator_skeleton_new (void) 1088s # { 1088s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ 1088s # * Code for interface com.acme.Coyote 1088s # * ------------------------------------------------------------------------ 1088s # */ 1088s # 1088s # /** 1088s # * SECTION:ComAcmeCoyote 1088s # * @title: ComAcmeCoyote 1088s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1088s # * 1088s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1088s # */ 1088s # 1088s # enum 1088s # { 1088s # _COM_ACME_COYOTE_SURPRISED, 1088s # }; 1088s # 1088s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1088s # 1088s # /* ---- Introspection data for com.acme.Coyote ---- */ 1088s # 1088s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "Run", 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "handle-run", 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "Sleep", 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "handle-sleep", 1088s # FALSE 1088s # }; 1088s # 1088s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "Attack", 1088s # NULL, 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "handle-attack", 1088s # FALSE 1088s # }; 1088s # 1088s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1088s # { 1088s # &_com_acme_coyote_method_info_run.parent_struct, 1088s # &_com_acme_coyote_method_info_sleep.parent_struct, 1088s # &_com_acme_coyote_method_info_attack.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "Surprised", 1088s # NULL, 1088s # NULL 1088s # }, 1088s # "surprised" 1088s # }; 1088s # 1088s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1088s # { 1088s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "Mood", 1088s # (gchar *) "s", 1088s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1088s # NULL 1088s # }, 1088s # "mood", 1088s # FALSE, 1088s # TRUE 1088s # }; 1088s # 1088s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1088s # { 1088s # &_com_acme_coyote_property_info_mood.parent_struct, 1088s # NULL 1088s # }; 1088s # 1088s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1088s # { 1088s # { 1088s # -1, 1088s # (gchar *) "com.acme.Coyote", 1088s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1088s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1088s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1088s # NULL 1088s # }, 1088s # "com-acme-coyote", 1088s # }; 1088s # 1088s # 1088s # /** 1088s # * com_acme_coyote_interface_info: 1088s # * 1088s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1088s # * 1088s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1088s # */ 1088s # GDBusInterfaceInfo * 1088s # com_acme_coyote_interface_info (void) 1088s # { 1088s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_override_properties: 1088s # * @klass: The class structure for a #GObject derived class. 1088s # * @property_id_begin: The property id to assign to the first overridden property. 1088s # * 1088s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1088s # * The properties are overridden in the order they are defined. 1088s # * 1088s # * Returns: The last property id. 1088s # */ 1088s # guint 1088s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1088s # { 1088s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1088s # return property_id_begin - 1; 1088s # } 1088s # 1088s # 1088s # inline static void 1088s # com_acme_coyote_signal_marshal_surprised ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # g_cclosure_marshal_VOID__VOID (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # com_acme_coyote_method_marshal_run ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # com_acme_coyote_method_marshal_sleep ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # inline static void 1088s # com_acme_coyote_method_marshal_attack ( 1088s # GClosure *closure, 1088s # GValue *return_value, 1088s # unsigned int n_param_values, 1088s # const GValue *param_values, 1088s # void *invocation_hint, 1088s # void *marshal_data) 1088s # { 1088s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1088s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1088s # } 1088s # 1088s # 1088s # /** 1088s # * ComAcmeCoyote: 1088s # * 1088s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1088s # */ 1088s # 1088s # /** 1088s # * ComAcmeCoyoteIface: 1088s # * @parent_iface: The parent interface. 1088s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1088s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1088s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1088s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1088s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1088s # * 1088s # * Virtual table for the D-Bus interface com.acme.Coyote. 1088s # */ 1088s # 1088s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1088s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1088s # 1088s # static void 1088s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1088s # { 1088s # /* GObject signals for incoming D-Bus method calls: */ 1088s # /** 1088s # * ComAcmeCoyote::handle-run: 1088s # * @object: A #ComAcmeCoyote. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-run", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # com_acme_coyote_method_marshal_run, 1088s # G_TYPE_BOOLEAN, 1088s # 1, 1088s # G_TYPE_DBUS_METHOD_INVOCATION); 1088s # 1088s # /** 1088s # * ComAcmeCoyote::handle-sleep: 1088s # * @object: A #ComAcmeCoyote. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-sleep", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # com_acme_coyote_method_marshal_sleep, 1088s # G_TYPE_BOOLEAN, 1088s # 1, 1088s # G_TYPE_DBUS_METHOD_INVOCATION); 1088s # 1088s # /** 1088s # * ComAcmeCoyote::handle-attack: 1088s # * @object: A #ComAcmeCoyote. 1088s # * @invocation: A #GDBusMethodInvocation. 1088s # * 1088s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # g_signal_new ("handle-attack", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1088s # g_signal_accumulator_true_handled, 1088s # NULL, 1088s # com_acme_coyote_method_marshal_attack, 1088s # G_TYPE_BOOLEAN, 1088s # 1, 1088s # G_TYPE_DBUS_METHOD_INVOCATION); 1088s # 1088s # /* GObject signals for received D-Bus signals: */ 1088s # /** 1088s # * ComAcmeCoyote::surprised: 1088s # * @object: A #ComAcmeCoyote. 1088s # * 1088s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1088s # * 1088s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1088s # */ 1088s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1088s # g_signal_new ("surprised", 1088s # G_TYPE_FROM_INTERFACE (iface), 1088s # G_SIGNAL_RUN_LAST, 1088s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1088s # NULL, 1088s # NULL, 1088s # com_acme_coyote_signal_marshal_surprised, 1088s # G_TYPE_NONE, 1088s # 0); 1088s # 1088s # /* GObject properties for D-Bus properties: */ 1088s # /** 1088s # * ComAcmeCoyote:mood: 1088s # * 1088s # * Represents the D-Bus property "Mood". 1088s # * 1088s # * 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. 1088s # */ 1088s # g_object_interface_install_property (iface, 1088s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_get_mood: (skip) 1088s # * @object: A #ComAcmeCoyote. 1088s # * 1088s # * Gets the value of the "Mood" D-Bus property. 1088s # * 1088s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1088s # * 1088s # * 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. 1088s # * 1088s # * 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. 1088s # */ 1088s # const gchar * 1088s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1088s # { 1088s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1088s # 1088s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_dup_mood: (skip) 1088s # * @object: A #ComAcmeCoyote. 1088s # * 1088s # * Gets a copy of the "Mood" D-Bus property. 1088s # * 1088s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1088s # * 1088s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1088s # */ 1088s # gchar * 1088s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1088s # { 1088s # gchar *value; 1088s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1088s # return value; 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_set_mood: (skip) 1088s # * @object: A #ComAcmeCoyote. 1088s # * @value: The value to set. 1088s # * 1088s # * Sets the "Mood" D-Bus property to @value. 1088s # * 1088s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1088s # */ 1088s # void 1088s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1088s # { 1088s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_emit_surprised: 1088s # * @object: A #ComAcmeCoyote. 1088s # * 1088s # * Emits the "Surprised" D-Bus signal. 1088s # */ 1088s # void 1088s # com_acme_coyote_emit_surprised ( 1088s # ComAcmeCoyote *object) 1088s # { 1088s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_call_run: 1088s # * @proxy: A #ComAcmeCoyoteProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1088s # * 1088s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # com_acme_coyote_call_run ( 1088s # ComAcmeCoyote *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "Run", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_call_run_finish: 1088s # * @proxy: A #ComAcmeCoyoteProxy. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with com_acme_coyote_call_run(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # com_acme_coyote_call_run_finish ( 1088s # ComAcmeCoyote *proxy, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_call_run_sync: 1088s # * @proxy: A #ComAcmeCoyoteProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # com_acme_coyote_call_run_sync ( 1088s # ComAcmeCoyote *proxy, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "Run", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_call_sleep: 1088s # * @proxy: A #ComAcmeCoyoteProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1088s # * 1088s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # com_acme_coyote_call_sleep ( 1088s # ComAcmeCoyote *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "Sleep", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_call_sleep_finish: 1088s # * @proxy: A #ComAcmeCoyoteProxy. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # com_acme_coyote_call_sleep_finish ( 1088s # ComAcmeCoyote *proxy, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_call_sleep_sync: 1088s # * @proxy: A #ComAcmeCoyoteProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # com_acme_coyote_call_sleep_sync ( 1088s # ComAcmeCoyote *proxy, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "Sleep", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_call_attack: 1088s # * @proxy: A #ComAcmeCoyoteProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1088s # * 1088s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1088s # */ 1088s # void 1088s # com_acme_coyote_call_attack ( 1088s # ComAcmeCoyote *proxy, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1088s # "Attack", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # callback, 1088s # user_data); 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_call_attack_finish: 1088s # * @proxy: A #ComAcmeCoyoteProxy. 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Finishes an operation started with com_acme_coyote_call_attack(). 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # com_acme_coyote_call_attack_finish ( 1088s # ComAcmeCoyote *proxy, 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_call_attack_sync: 1088s # * @proxy: A #ComAcmeCoyoteProxy. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL. 1088s # * 1088s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1088s # * 1088s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1088s # * 1088s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1088s # */ 1088s # gboolean 1088s # com_acme_coyote_call_attack_sync ( 1088s # ComAcmeCoyote *proxy, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GVariant *_ret; 1088s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1088s # "Attack", 1088s # g_variant_new ("()"), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # cancellable, 1088s # error); 1088s # if (_ret == NULL) 1088s # goto _out; 1088s # g_variant_get (_ret, 1088s # "()"); 1088s # g_variant_unref (_ret); 1088s # _out: 1088s # return _ret != NULL; 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_complete_run: 1088s # * @object: A #ComAcmeCoyote. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # com_acme_coyote_complete_run ( 1088s # ComAcmeCoyote *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("()")); 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_complete_sleep: 1088s # * @object: A #ComAcmeCoyote. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # com_acme_coyote_complete_sleep ( 1088s # ComAcmeCoyote *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("()")); 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_complete_attack: 1088s # * @object: A #ComAcmeCoyote. 1088s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1088s # * 1088s # * 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. 1088s # * 1088s # * This method will free @invocation, you cannot use it afterwards. 1088s # */ 1088s # void 1088s # com_acme_coyote_complete_attack ( 1088s # ComAcmeCoyote *object G_GNUC_UNUSED, 1088s # GDBusMethodInvocation *invocation) 1088s # { 1088s # g_dbus_method_invocation_return_value (invocation, 1088s # g_variant_new ("()")); 1088s # } 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * ComAcmeCoyoteProxy: 1088s # * 1088s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * ComAcmeCoyoteProxyClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #ComAcmeCoyoteProxy. 1088s # */ 1088s # 1088s # struct _ComAcmeCoyoteProxyPrivate 1088s # { 1088s # GData *qdata; 1088s # }; 1088s # 1088s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1088s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1088s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1088s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # com_acme_coyote_proxy_finalize (GObject *object) 1088s # { 1088s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1088s # g_datalist_clear (&proxy->priv->qdata); 1088s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # com_acme_coyote_proxy_get_property (GObject *object, 1088s # guint prop_id, 1088s # GValue *value, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *variant; 1088s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1088s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1088s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1088s # if (info->use_gvariant) 1088s # { 1088s # g_value_set_variant (value, variant); 1088s # } 1088s # else 1088s # { 1088s # if (variant != NULL) 1088s # g_dbus_gvariant_to_gvalue (variant, value); 1088s # } 1088s # if (variant != NULL) 1088s # g_variant_unref (variant); 1088s # } 1088s # 1088s # static void 1088s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1088s # GAsyncResult *res, 1088s # gpointer user_data) 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info = user_data; 1088s # GError *error; 1088s # GVariant *_ret; 1088s # error = NULL; 1088s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1088s # if (!_ret) 1088s # { 1088s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1088s # info->parent_struct.name, 1088s # error->message, g_quark_to_string (error->domain), error->code); 1088s # g_error_free (error); 1088s # } 1088s # else 1088s # { 1088s # g_variant_unref (_ret); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # com_acme_coyote_proxy_set_property (GObject *object, 1088s # guint prop_id, 1088s # const GValue *value, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *variant; 1088s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1088s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1088s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1088s # "org.freedesktop.DBus.Properties.Set", 1088s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1088s # G_DBUS_CALL_FLAGS_NONE, 1088s # -1, 1088s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1088s # g_variant_unref (variant); 1088s # } 1088s # 1088s # static void 1088s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1088s # const gchar *sender_name G_GNUC_UNUSED, 1088s # const gchar *signal_name, 1088s # GVariant *parameters) 1088s # { 1088s # _ExtendedGDBusSignalInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # gsize n; 1088s # guint signal_id; 1088s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1088s # if (info == NULL) 1088s # return; 1088s # num_params = g_variant_n_children (parameters); 1088s # paramv = g_new0 (GValue, num_params + 1); 1088s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1088s # g_value_set_object (¶mv[0], proxy); 1088s # g_variant_iter_init (&iter, parameters); 1088s # n = 1; 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1088s # g_signal_emitv (paramv, signal_id, 0, NULL); 1088s # for (n = 0; n < num_params + 1; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static void 1088s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1088s # GVariant *changed_properties, 1088s # const gchar *const *invalidated_properties) 1088s # { 1088s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1088s # guint n; 1088s # const gchar *key; 1088s # GVariantIter *iter; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # g_variant_get (changed_properties, "a{sv}", &iter); 1088s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1088s # g_datalist_remove_data (&proxy->priv->qdata, key); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # g_variant_iter_free (iter); 1088s # for (n = 0; invalidated_properties[n] != NULL; n++) 1088s # { 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1088s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1088s # if (info != NULL) 1088s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1088s # } 1088s # } 1088s # 1088s # static const gchar * 1088s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1088s # { 1088s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1088s # GVariant *variant; 1088s # const gchar *value = NULL; 1088s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1088s # if (variant != NULL) 1088s # { 1088s # value = g_variant_get_string (variant, NULL); 1088s # g_variant_unref (variant); 1088s # } 1088s # return value; 1088s # } 1088s # 1088s # static void 1088s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1088s # #else 1088s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1088s # #endif 1088s # 1088s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1088s # } 1088s # 1088s # static void 1088s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusProxyClass *proxy_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1088s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1088s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1088s # 1088s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1088s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1088s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1088s # 1088s # com_acme_coyote_override_properties (gobject_class, 1); 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1088s # { 1088s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_proxy_new: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1088s # * 1088s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # com_acme_coyote_proxy_new ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_proxy_new_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1088s # * 1088s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # ComAcmeCoyote * 1088s # com_acme_coyote_proxy_new_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return COM_ACME_COYOTE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_proxy_new_sync: 1088s # * @connection: A #GDBusConnection. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # ComAcmeCoyote * 1088s # com_acme_coyote_proxy_new_sync ( 1088s # GDBusConnection *connection, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return COM_ACME_COYOTE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /** 1088s # * com_acme_coyote_proxy_new_for_bus: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1088s # * @user_data: User data to pass to @callback. 1088s # * 1088s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1088s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1088s # * 1088s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1088s # */ 1088s # void 1088s # com_acme_coyote_proxy_new_for_bus ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GAsyncReadyCallback callback, 1088s # gpointer user_data) 1088s # { 1088s # 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); 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_proxy_new_for_bus_finish: 1088s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1088s # * 1088s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # ComAcmeCoyote * 1088s # com_acme_coyote_proxy_new_for_bus_finish ( 1088s # GAsyncResult *res, 1088s # GError **error) 1088s # { 1088s # GObject *ret; 1088s # GObject *source_object; 1088s # source_object = g_async_result_get_source_object (res); 1088s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1088s # g_object_unref (source_object); 1088s # if (ret != NULL) 1088s # return COM_ACME_COYOTE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_proxy_new_for_bus_sync: 1088s # * @bus_type: A #GBusType. 1088s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1088s # * @name: A bus name (well-known or unique). 1088s # * @object_path: An object path. 1088s # * @cancellable: (nullable): A #GCancellable or %NULL. 1088s # * @error: Return location for error or %NULL 1088s # * 1088s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1088s # * 1088s # * The calling thread is blocked until a reply is received. 1088s # * 1088s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1088s # * 1088s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1088s # */ 1088s # ComAcmeCoyote * 1088s # com_acme_coyote_proxy_new_for_bus_sync ( 1088s # GBusType bus_type, 1088s # GDBusProxyFlags flags, 1088s # const gchar *name, 1088s # const gchar *object_path, 1088s # GCancellable *cancellable, 1088s # GError **error) 1088s # { 1088s # GInitable *ret; 1088s # 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); 1088s # if (ret != NULL) 1088s # return COM_ACME_COYOTE (ret); 1088s # else 1088s # return NULL; 1088s # } 1088s # 1088s # 1088s # /* ------------------------------------------------------------------------ */ 1088s # 1088s # /** 1088s # * ComAcmeCoyoteSkeleton: 1088s # * 1088s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1088s # */ 1088s # 1088s # /** 1088s # * ComAcmeCoyoteSkeletonClass: 1088s # * @parent_class: The parent class. 1088s # * 1088s # * Class structure for #ComAcmeCoyoteSkeleton. 1088s # */ 1088s # 1088s # struct _ComAcmeCoyoteSkeletonPrivate 1088s # { 1088s # GValue *properties; 1088s # GList *changed_properties; 1088s # GSource *changed_properties_idle_source; 1088s # GMainContext *context; 1088s # GMutex lock; 1088s # }; 1088s # 1088s # static void 1088s # _com_acme_coyote_skeleton_handle_method_call ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name, 1088s # const gchar *method_name, 1088s # GVariant *parameters, 1088s # GDBusMethodInvocation *invocation, 1088s # gpointer user_data) 1088s # { 1088s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1088s # _ExtendedGDBusMethodInfo *info; 1088s # GVariantIter iter; 1088s # GVariant *child; 1088s # GValue *paramv; 1088s # gsize num_params; 1088s # guint num_extra; 1088s # gsize n; 1088s # guint signal_id; 1088s # GValue return_value = G_VALUE_INIT; 1088s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1088s # g_assert (info != NULL); 1088s # num_params = g_variant_n_children (parameters); 1088s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1088s # n = 0; 1088s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1088s # g_value_set_object (¶mv[n++], skeleton); 1088s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1088s # g_value_set_object (¶mv[n++], invocation); 1088s # if (info->pass_fdlist) 1088s # { 1088s # #ifdef G_OS_UNIX 1088s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1088s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1088s # #else 1088s # g_assert_not_reached (); 1088s # #endif 1088s # } 1088s # g_variant_iter_init (&iter, parameters); 1088s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1088s # { 1088s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1088s # if (arg_info->use_gvariant) 1088s # { 1088s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1088s # g_value_set_variant (¶mv[n], child); 1088s # n++; 1088s # } 1088s # else 1088s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1088s # g_variant_unref (child); 1088s # } 1088s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1088s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1088s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1088s # if (!g_value_get_boolean (&return_value)) 1088s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1088s # g_value_unset (&return_value); 1088s # for (n = 0; n < num_params + num_extra; n++) 1088s # g_value_unset (¶mv[n]); 1088s # g_free (paramv); 1088s # } 1088s # 1088s # static GVariant * 1088s # _com_acme_coyote_skeleton_handle_get_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # GVariant *ret; 1088s # ret = NULL; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # g_value_init (&value, pspec->value_type); 1088s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1088s # g_value_unset (&value); 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static gboolean 1088s # _com_acme_coyote_skeleton_handle_set_property ( 1088s # GDBusConnection *connection G_GNUC_UNUSED, 1088s # const gchar *sender G_GNUC_UNUSED, 1088s # const gchar *object_path G_GNUC_UNUSED, 1088s # const gchar *interface_name G_GNUC_UNUSED, 1088s # const gchar *property_name, 1088s # GVariant *variant, 1088s # GError **error, 1088s # gpointer user_data) 1088s # { 1088s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1088s # GValue value = G_VALUE_INIT; 1088s # GParamSpec *pspec; 1088s # _ExtendedGDBusPropertyInfo *info; 1088s # gboolean ret; 1088s # ret = FALSE; 1088s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1088s # g_assert (info != NULL); 1088s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1088s # if (pspec == NULL) 1088s # { 1088s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1088s # } 1088s # else 1088s # { 1088s # if (info->use_gvariant) 1088s # g_value_set_variant (&value, variant); 1088s # else 1088s # g_dbus_gvariant_to_gvalue (variant, &value); 1088s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1088s # g_value_unset (&value); 1088s # ret = TRUE; 1088s # } 1088s # return ret; 1088s # } 1088s # 1088s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1088s # { 1088s # _com_acme_coyote_skeleton_handle_method_call, 1088s # _com_acme_coyote_skeleton_handle_get_property, 1088s # _com_acme_coyote_skeleton_handle_set_property, 1088s # {NULL} 1088s # }; 1088s # 1088s # static GDBusInterfaceInfo * 1088s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return com_acme_coyote_interface_info (); 1088s # } 1088s # 1088s # static GDBusInterfaceVTable * 1088s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1088s # { 1088s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1088s # } 1088s # 1088s # static GVariant * 1088s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1088s # 1088s # GVariantBuilder builder; 1088s # guint n; 1088s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1088s # goto out; 1088s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1088s # { 1088s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1088s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1088s # { 1088s # GVariant *value; 1088s # 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); 1088s # if (value != NULL) 1088s # { 1088s # g_variant_take_ref (value); 1088s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1088s # g_variant_unref (value); 1088s # } 1088s # } 1088s # } 1088s # out: 1088s # return g_variant_builder_end (&builder); 1088s # } 1088s # 1088s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1088s # 1088s # static void 1088s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1088s # { 1088s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1088s # gboolean emit_changed = FALSE; 1088s # 1088s # g_mutex_lock (&skeleton->priv->lock); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # { 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # skeleton->priv->changed_properties_idle_source = NULL; 1088s # emit_changed = TRUE; 1088s # } 1088s # g_mutex_unlock (&skeleton->priv->lock); 1088s # 1088s # if (emit_changed) 1088s # _com_acme_coyote_emit_changed (skeleton); 1088s # } 1088s # 1088s # static void 1088s # _com_acme_coyote_on_signal_surprised ( 1088s # ComAcmeCoyote *object) 1088s # { 1088s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1088s # 1088s # GList *connections, *l; 1088s # GVariant *signal_variant; 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1088s # for (l = connections; l != NULL; l = l->next) 1088s # { 1088s # GDBusConnection *connection = l->data; 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1088s # signal_variant, NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # 1088s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1088s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1088s # 1088s # #else 1088s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1088s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1088s # 1088s # #endif 1088s # static void 1088s # com_acme_coyote_skeleton_finalize (GObject *object) 1088s # { 1088s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1088s # guint n; 1088s # for (n = 0; n < 1; n++) 1088s # g_value_unset (&skeleton->priv->properties[n]); 1088s # g_free (skeleton->priv->properties); 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # if (skeleton->priv->changed_properties_idle_source != NULL) 1088s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1088s # g_main_context_unref (skeleton->priv->context); 1088s # g_mutex_clear (&skeleton->priv->lock); 1088s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1088s # } 1088s # 1088s # static void 1088s # com_acme_coyote_skeleton_get_property (GObject *object, 1088s # guint prop_id, 1088s # GValue *value, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1088s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1088s # g_mutex_lock (&skeleton->priv->lock); 1088s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1088s # g_mutex_unlock (&skeleton->priv->lock); 1088s # } 1088s # 1088s # static gboolean 1088s # _com_acme_coyote_emit_changed (gpointer user_data) 1088s # { 1088s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1088s # GList *l; 1088s # GVariantBuilder builder; 1088s # GVariantBuilder invalidated_builder; 1088s # guint num_changes; 1088s # 1088s # g_mutex_lock (&skeleton->priv->lock); 1088s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1088s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1088s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1088s # { 1088s # ChangedProperty *cp = l->data; 1088s # GVariant *variant; 1088s # const GValue *cur_value; 1088s # 1088s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1088s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1088s # { 1088s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1088s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1088s # g_variant_unref (variant); 1088s # num_changes++; 1088s # } 1088s # } 1088s # if (num_changes > 0) 1088s # { 1088s # GList *connections, *ll; 1088s # GVariant *signal_variant; 1088s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1088s # &builder, &invalidated_builder)); 1088s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1088s # for (ll = connections; ll != NULL; ll = ll->next) 1088s # { 1088s # GDBusConnection *connection = ll->data; 1088s # 1088s # g_dbus_connection_emit_signal (connection, 1088s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1088s # "org.freedesktop.DBus.Properties", 1088s # "PropertiesChanged", 1088s # signal_variant, 1088s # NULL); 1088s # } 1088s # g_variant_unref (signal_variant); 1088s # g_list_free_full (connections, g_object_unref); 1088s # } 1088s # else 1088s # { 1088s # g_variant_builder_clear (&builder); 1088s # g_variant_builder_clear (&invalidated_builder); 1088s # } 1088s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1088s # skeleton->priv->changed_properties = NULL; 1088s # skeleton->priv->changed_properties_idle_source = NULL; 1088s # g_mutex_unlock (&skeleton->priv->lock); 1088s # return FALSE; 1088s # } 1088s # 1088s # static void 1088s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1088s # { 1088s # ChangedProperty *cp; 1088s # GList *l; 1088s # cp = NULL; 1088s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1088s # { 1088s # ChangedProperty *i_cp = l->data; 1088s # if (i_cp->info == info) 1088s # { 1088s # cp = i_cp; 1088s # break; 1088s # } 1088s # } 1088s # if (cp == NULL) 1088s # { 1088s # cp = g_new0 (ChangedProperty, 1); 1088s # cp->prop_id = prop_id; 1088s # cp->info = info; 1088s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1088s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1088s # g_value_copy (orig_value, &cp->orig_value); 1088s # } 1088s # } 1088s # 1088s # static void 1088s # com_acme_coyote_skeleton_notify (GObject *object, 1088s # GParamSpec *pspec G_GNUC_UNUSED) 1088s # { 1088s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1088s # g_mutex_lock (&skeleton->priv->lock); 1088s # if (skeleton->priv->changed_properties != NULL && 1088s # skeleton->priv->changed_properties_idle_source == NULL) 1088s # { 1088s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1088s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1088s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1088s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1088s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1088s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1088s # } 1088s # g_mutex_unlock (&skeleton->priv->lock); 1088s # } 1088s # 1088s # static void 1088s # com_acme_coyote_skeleton_set_property (GObject *object, 1088s # guint prop_id, 1088s # const GValue *value, 1088s # GParamSpec *pspec) 1088s # { 1088s # const _ExtendedGDBusPropertyInfo *info; 1088s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1088s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1088s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1088s # g_mutex_lock (&skeleton->priv->lock); 1088s # g_object_freeze_notify (object); 1088s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1088s # { 1088s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1088s # info->emits_changed_signal) 1088s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1088s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1088s # g_object_notify_by_pspec (object, pspec); 1088s # } 1088s # g_mutex_unlock (&skeleton->priv->lock); 1088s # g_object_thaw_notify (object); 1088s # } 1088s # 1088s # static void 1088s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1088s # { 1088s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1088s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1088s # #else 1088s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1088s # #endif 1088s # 1088s # g_mutex_init (&skeleton->priv->lock); 1088s # skeleton->priv->context = g_main_context_ref_thread_default (); 1088s # skeleton->priv->properties = g_new0 (GValue, 1); 1088s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1088s # } 1088s # 1088s # static const gchar * 1088s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1088s # { 1088s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1088s # const gchar *value; 1088s # g_mutex_lock (&skeleton->priv->lock); 1088s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1088s # g_mutex_unlock (&skeleton->priv->lock); 1088s # return value; 1088s # } 1088s # 1088s # static void 1088s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1088s # { 1088s # GObjectClass *gobject_class; 1088s # GDBusInterfaceSkeletonClass *skeleton_class; 1088s # 1088s # gobject_class = G_OBJECT_CLASS (klass); 1088s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1088s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1088s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1088s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1088s # 1088s # 1088s # com_acme_coyote_override_properties (gobject_class, 1); 1088s # 1088s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1088s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1088s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1088s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1088s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1088s # 1088s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1088s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1088s # #endif 1088s # } 1088s # 1088s # static void 1088s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1088s # { 1088s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1088s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1088s # } 1088s # 1088s # /** 1088s # * com_acme_coyote_skeleton_new: 1088s # * 1088s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1088s # * 1088s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1088s # */ 1088s # ComAcmeCoyote * 1088s # com_acme_coyote_skeleton_new (void) 1088s # { 1088s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1088s # } 1089s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 1089s # tmpdir: /tmp/tmp4i0mr267 1089s # codegen: /usr/bin/gdbus-codegen 1089s # /tmp/tmp4i0mr267/tmppz6_gx52.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4i0mr267/tmppz6_gx52.xml', '--output', '-', '--header'] 1089s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifndef __STDOUT__ 1089s # #define __STDOUT__ 1089s # 1089s # #include 1089s # 1089s # G_BEGIN_DECLS 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # /* Declarations for FDPassing */ 1089s # 1089s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1089s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1089s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1089s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1089s # 1089s # struct _FDPassing; 1089s # typedef struct _FDPassing FDPassing; 1089s # typedef struct _FDPassingIface FDPassingIface; 1089s # 1089s # struct _FDPassingIface 1089s # { 1089s # GTypeInterface parent_iface; 1089s # 1089s # gboolean (*handle_hello_fd) ( 1089s # FDPassing *object, 1089s # GDBusMethodInvocation *invocation, 1089s # GUnixFDList *fd_list, 1089s # const gchar *arg_greeting); 1089s # 1089s # gboolean (*handle_no_annotation) ( 1089s # FDPassing *object, 1089s # GDBusMethodInvocation *invocation, 1089s # GVariant *arg_greeting, 1089s # const gchar *arg_greeting_locale); 1089s # 1089s # gboolean (*handle_no_annotation_nested) ( 1089s # FDPassing *object, 1089s # GDBusMethodInvocation *invocation, 1089s # GVariant *arg_files); 1089s # 1089s # }; 1089s # 1089s # GType fdpassing_get_type (void) G_GNUC_CONST; 1089s # 1089s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1089s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1089s # 1089s # 1089s # /* D-Bus method call completion functions: */ 1089s # void fdpassing_complete_hello_fd ( 1089s # FDPassing *object, 1089s # GDBusMethodInvocation *invocation, 1089s # GUnixFDList *fd_list, 1089s # const gchar *response); 1089s # 1089s # void fdpassing_complete_no_annotation ( 1089s # FDPassing *object, 1089s # GDBusMethodInvocation *invocation, 1089s # GVariant *response, 1089s # const gchar *response_locale); 1089s # 1089s # void fdpassing_complete_no_annotation_nested ( 1089s # FDPassing *object, 1089s # GDBusMethodInvocation *invocation); 1089s # 1089s # 1089s # 1089s # /* D-Bus method calls: */ 1089s # void fdpassing_call_hello_fd ( 1089s # FDPassing *proxy, 1089s # const gchar *arg_greeting, 1089s # GUnixFDList *fd_list, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # 1089s # gboolean fdpassing_call_hello_fd_finish ( 1089s # FDPassing *proxy, 1089s # gchar **out_response, 1089s # GUnixFDList **out_fd_list, 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # 1089s # gboolean fdpassing_call_hello_fd_sync ( 1089s # FDPassing *proxy, 1089s # const gchar *arg_greeting, 1089s # GUnixFDList *fd_list, 1089s # gchar **out_response, 1089s # GUnixFDList **out_fd_list, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # void fdpassing_call_no_annotation ( 1089s # FDPassing *proxy, 1089s # GVariant *arg_greeting, 1089s # const gchar *arg_greeting_locale, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # 1089s # gboolean fdpassing_call_no_annotation_finish ( 1089s # FDPassing *proxy, 1089s # GVariant **out_response, 1089s # gchar **out_response_locale, 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # 1089s # gboolean fdpassing_call_no_annotation_sync ( 1089s # FDPassing *proxy, 1089s # GVariant *arg_greeting, 1089s # const gchar *arg_greeting_locale, 1089s # GVariant **out_response, 1089s # gchar **out_response_locale, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # void fdpassing_call_no_annotation_nested ( 1089s # FDPassing *proxy, 1089s # GVariant *arg_files, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # 1089s # gboolean fdpassing_call_no_annotation_nested_finish ( 1089s # FDPassing *proxy, 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # 1089s # gboolean fdpassing_call_no_annotation_nested_sync ( 1089s # FDPassing *proxy, 1089s # GVariant *arg_files, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # 1089s # 1089s # /* ---- */ 1089s # 1089s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1089s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1089s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1089s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1089s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1089s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1089s # 1089s # typedef struct _FDPassingProxy FDPassingProxy; 1089s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1089s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1089s # 1089s # struct _FDPassingProxy 1089s # { 1089s # /*< private >*/ 1089s # GDBusProxy parent_instance; 1089s # FDPassingProxyPrivate *priv; 1089s # }; 1089s # 1089s # struct _FDPassingProxyClass 1089s # { 1089s # GDBusProxyClass parent_class; 1089s # }; 1089s # 1089s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1089s # 1089s # #if GLIB_CHECK_VERSION(2, 44, 0) 1089s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1089s # #endif 1089s # 1089s # void fdpassing_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # FDPassing *fdpassing_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # FDPassing *fdpassing_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # void fdpassing_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # 1089s # /* ---- */ 1089s # 1089s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1089s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1089s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1089s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1089s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1089s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1089s # 1089s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1089s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1089s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1089s # 1089s # struct _FDPassingSkeleton 1089s # { 1089s # /*< private >*/ 1089s # GDBusInterfaceSkeleton parent_instance; 1089s # FDPassingSkeletonPrivate *priv; 1089s # }; 1089s # 1089s # struct _FDPassingSkeletonClass 1089s # { 1089s # GDBusInterfaceSkeletonClass parent_class; 1089s # }; 1089s # 1089s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1089s # 1089s # #if GLIB_CHECK_VERSION(2, 44, 0) 1089s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1089s # #endif 1089s # 1089s # FDPassing *fdpassing_skeleton_new (void); 1089s # 1089s # 1089s # G_END_DECLS 1089s # 1089s # #endif /* __STDOUT__ */ 1089s # /tmp/tmp4i0mr267/tmp25emiqn8.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4i0mr267/tmp25emiqn8.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1089s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifndef __STDOUT__ 1089s # #define __STDOUT__ 1089s # 1089s # #include 1089s # 1089s # G_BEGIN_DECLS 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # /* Declarations for FDPassing */ 1089s # 1089s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1089s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1089s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1089s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1089s # 1089s # struct _FDPassing; 1089s # typedef struct _FDPassing FDPassing; 1089s # typedef struct _FDPassingIface FDPassingIface; 1089s # 1089s # struct _FDPassingIface 1089s # { 1089s # GTypeInterface parent_iface; 1089s # 1089s # gboolean (*handle_hello_fd) ( 1089s # FDPassing *object, 1089s # GDBusMethodInvocation *invocation, 1089s # GUnixFDList *fd_list, 1089s # const gchar *arg_greeting); 1089s # 1089s # gboolean (*handle_no_annotation) ( 1089s # FDPassing *object, 1089s # GDBusMethodInvocation *invocation, 1089s # GVariant *arg_greeting, 1089s # const gchar *arg_greeting_locale); 1089s # 1089s # gboolean (*handle_no_annotation_nested) ( 1089s # FDPassing *object, 1089s # GDBusMethodInvocation *invocation, 1089s # GVariant *arg_files); 1089s # 1089s # }; 1089s # 1089s # GType fdpassing_get_type (void) G_GNUC_CONST; 1089s # 1089s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1089s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1089s # 1089s # 1089s # /* D-Bus method call completion functions: */ 1089s # void fdpassing_complete_hello_fd ( 1089s # FDPassing *object, 1089s # GDBusMethodInvocation *invocation, 1089s # GUnixFDList *fd_list, 1089s # const gchar *response); 1089s # 1089s # void fdpassing_complete_no_annotation ( 1089s # FDPassing *object, 1089s # GDBusMethodInvocation *invocation, 1089s # GVariant *response, 1089s # const gchar *response_locale); 1089s # 1089s # void fdpassing_complete_no_annotation_nested ( 1089s # FDPassing *object, 1089s # GDBusMethodInvocation *invocation); 1089s # 1089s # 1089s # 1089s # /* D-Bus method calls: */ 1089s # void fdpassing_call_hello_fd ( 1089s # FDPassing *proxy, 1089s # const gchar *arg_greeting, 1089s # GUnixFDList *fd_list, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # 1089s # gboolean fdpassing_call_hello_fd_finish ( 1089s # FDPassing *proxy, 1089s # gchar **out_response, 1089s # GUnixFDList **out_fd_list, 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # 1089s # gboolean fdpassing_call_hello_fd_sync ( 1089s # FDPassing *proxy, 1089s # const gchar *arg_greeting, 1089s # GUnixFDList *fd_list, 1089s # gchar **out_response, 1089s # GUnixFDList **out_fd_list, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # void fdpassing_call_no_annotation ( 1089s # FDPassing *proxy, 1089s # GVariant *arg_greeting, 1089s # const gchar *arg_greeting_locale, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # 1089s # gboolean fdpassing_call_no_annotation_finish ( 1089s # FDPassing *proxy, 1089s # GVariant **out_response, 1089s # gchar **out_response_locale, 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # 1089s # gboolean fdpassing_call_no_annotation_sync ( 1089s # FDPassing *proxy, 1089s # GVariant *arg_greeting, 1089s # const gchar *arg_greeting_locale, 1089s # GVariant **out_response, 1089s # gchar **out_response_locale, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # void fdpassing_call_no_annotation_nested ( 1089s # FDPassing *proxy, 1089s # GVariant *arg_files, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # 1089s # gboolean fdpassing_call_no_annotation_nested_finish ( 1089s # FDPassing *proxy, 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # 1089s # gboolean fdpassing_call_no_annotation_nested_sync ( 1089s # FDPassing *proxy, 1089s # GVariant *arg_files, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # 1089s # 1089s # /* ---- */ 1089s # 1089s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1089s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1089s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1089s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1089s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1089s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1089s # 1089s # typedef struct _FDPassingProxy FDPassingProxy; 1089s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1089s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1089s # 1089s # struct _FDPassingProxy 1089s # { 1089s # /*< private >*/ 1089s # GDBusProxy parent_instance; 1089s # FDPassingProxyPrivate *priv; 1089s # }; 1089s # 1089s # struct _FDPassingProxyClass 1089s # { 1089s # GDBusProxyClass parent_class; 1089s # }; 1089s # 1089s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1089s # 1089s # #if GLIB_CHECK_VERSION(2, 44, 0) 1089s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1089s # #endif 1089s # 1089s # void fdpassing_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # FDPassing *fdpassing_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # FDPassing *fdpassing_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # void fdpassing_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # 1089s # /* ---- */ 1089s # 1089s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1089s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1089s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1089s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1089s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1089s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1089s # 1089s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1089s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1089s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1089s # 1089s # struct _FDPassingSkeleton 1089s # { 1089s # /*< private >*/ 1089s # GDBusInterfaceSkeleton parent_instance; 1089s # FDPassingSkeletonPrivate *priv; 1089s # }; 1089s # 1089s # struct _FDPassingSkeletonClass 1089s # { 1089s # GDBusInterfaceSkeletonClass parent_class; 1089s # }; 1089s # 1089s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1089s # 1089s # #if GLIB_CHECK_VERSION(2, 44, 0) 1089s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1089s # #endif 1089s # 1089s # FDPassing *fdpassing_skeleton_new (void); 1089s # 1089s # 1089s # G_END_DECLS 1089s # 1089s # #endif /* __STDOUT__ */ 1089s # /tmp/tmp4i0mr267/tmp_5zvq2ln.xml: 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # 1089s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4i0mr267/tmp_5zvq2ln.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1089s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 1089s # Output: /* 1089s # * This file is generated by gdbus-codegen, do not modify it. 1089s # * 1089s # * The license of this code is the same as for the D-Bus interface description 1089s # * it was derived from. Note that it links to GLib, so must comply with the 1089s # * LGPL linking clauses. 1089s # */ 1089s # 1089s # #ifndef __STDOUT__ 1089s # #define __STDOUT__ 1089s # 1089s # #include 1089s # 1089s # G_BEGIN_DECLS 1089s # 1089s # 1089s # /* ------------------------------------------------------------------------ */ 1089s # /* Declarations for FDPassing */ 1089s # 1089s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1089s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1089s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1089s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1089s # 1089s # struct _FDPassing; 1089s # typedef struct _FDPassing FDPassing; 1089s # typedef struct _FDPassingIface FDPassingIface; 1089s # 1089s # struct _FDPassingIface 1089s # { 1089s # GTypeInterface parent_iface; 1089s # 1089s # gboolean (*handle_hello_fd) ( 1089s # FDPassing *object, 1089s # GDBusMethodInvocation *invocation, 1089s # GUnixFDList *fd_list, 1089s # const gchar *arg_greeting); 1089s # 1089s # gboolean (*handle_no_annotation) ( 1089s # FDPassing *object, 1089s # GDBusMethodInvocation *invocation, 1089s # GUnixFDList *fd_list, 1089s # GVariant *arg_greeting, 1089s # const gchar *arg_greeting_locale); 1089s # 1089s # gboolean (*handle_no_annotation_nested) ( 1089s # FDPassing *object, 1089s # GDBusMethodInvocation *invocation, 1089s # GUnixFDList *fd_list, 1089s # GVariant *arg_files); 1089s # 1089s # }; 1089s # 1089s # GType fdpassing_get_type (void) G_GNUC_CONST; 1089s # 1089s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1089s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1089s # 1089s # 1089s # /* D-Bus method call completion functions: */ 1089s # void fdpassing_complete_hello_fd ( 1089s # FDPassing *object, 1089s # GDBusMethodInvocation *invocation, 1089s # GUnixFDList *fd_list, 1089s # const gchar *response); 1089s # 1089s # void fdpassing_complete_no_annotation ( 1089s # FDPassing *object, 1089s # GDBusMethodInvocation *invocation, 1089s # GUnixFDList *fd_list, 1089s # GVariant *response, 1089s # const gchar *response_locale); 1089s # 1089s # void fdpassing_complete_no_annotation_nested ( 1089s # FDPassing *object, 1089s # GDBusMethodInvocation *invocation, 1089s # GUnixFDList *fd_list); 1089s # 1089s # 1089s # 1089s # /* D-Bus method calls: */ 1089s # void fdpassing_call_hello_fd ( 1089s # FDPassing *proxy, 1089s # const gchar *arg_greeting, 1089s # GDBusCallFlags call_flags, 1089s # gint timeout_msec, 1089s # GUnixFDList *fd_list, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # 1089s # gboolean fdpassing_call_hello_fd_finish ( 1089s # FDPassing *proxy, 1089s # gchar **out_response, 1089s # GUnixFDList **out_fd_list, 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # 1089s # gboolean fdpassing_call_hello_fd_sync ( 1089s # FDPassing *proxy, 1089s # const gchar *arg_greeting, 1089s # GDBusCallFlags call_flags, 1089s # gint timeout_msec, 1089s # GUnixFDList *fd_list, 1089s # gchar **out_response, 1089s # GUnixFDList **out_fd_list, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # void fdpassing_call_no_annotation ( 1089s # FDPassing *proxy, 1089s # GVariant *arg_greeting, 1089s # const gchar *arg_greeting_locale, 1089s # GDBusCallFlags call_flags, 1089s # gint timeout_msec, 1089s # GUnixFDList *fd_list, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # 1089s # gboolean fdpassing_call_no_annotation_finish ( 1089s # FDPassing *proxy, 1089s # GVariant **out_response, 1089s # gchar **out_response_locale, 1089s # GUnixFDList **out_fd_list, 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # 1089s # gboolean fdpassing_call_no_annotation_sync ( 1089s # FDPassing *proxy, 1089s # GVariant *arg_greeting, 1089s # const gchar *arg_greeting_locale, 1089s # GDBusCallFlags call_flags, 1089s # gint timeout_msec, 1089s # GUnixFDList *fd_list, 1089s # GVariant **out_response, 1089s # gchar **out_response_locale, 1089s # GUnixFDList **out_fd_list, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # void fdpassing_call_no_annotation_nested ( 1089s # FDPassing *proxy, 1089s # GVariant *arg_files, 1089s # GDBusCallFlags call_flags, 1089s # gint timeout_msec, 1089s # GUnixFDList *fd_list, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # 1089s # gboolean fdpassing_call_no_annotation_nested_finish ( 1089s # FDPassing *proxy, 1089s # GUnixFDList **out_fd_list, 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # 1089s # gboolean fdpassing_call_no_annotation_nested_sync ( 1089s # FDPassing *proxy, 1089s # GVariant *arg_files, 1089s # GDBusCallFlags call_flags, 1089s # gint timeout_msec, 1089s # GUnixFDList *fd_list, 1089s # GUnixFDList **out_fd_list, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # 1089s # 1089s # /* ---- */ 1089s # 1089s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1089s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1089s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1089s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1089s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1089s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1089s # 1089s # typedef struct _FDPassingProxy FDPassingProxy; 1089s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1089s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1089s # 1089s # struct _FDPassingProxy 1089s # { 1089s # /*< private >*/ 1089s # GDBusProxy parent_instance; 1089s # FDPassingProxyPrivate *priv; 1089s # }; 1089s # 1089s # struct _FDPassingProxyClass 1089s # { 1089s # GDBusProxyClass parent_class; 1089s # }; 1089s # 1089s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1089s # 1089s # #if GLIB_CHECK_VERSION(2, 44, 0) 1089s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1089s # #endif 1089s # 1089s # void fdpassing_proxy_new ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # FDPassing *fdpassing_proxy_new_finish ( 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # FDPassing *fdpassing_proxy_new_sync ( 1089s # GDBusConnection *connection, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # void fdpassing_proxy_new_for_bus ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GAsyncReadyCallback callback, 1089s # gpointer user_data); 1089s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1089s # GAsyncResult *res, 1089s # GError **error); 1089s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1089s # GBusType bus_type, 1089s # GDBusProxyFlags flags, 1089s # const gchar *name, 1089s # const gchar *object_path, 1089s # GCancellable *cancellable, 1089s # GError **error); 1089s # 1089s # 1089s # /* ---- */ 1089s # 1089s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1089s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1089s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1089s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1089s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1089s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1089s # 1089s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1089s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1089s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1089s # 1089s # struct _FDPassingSkeleton 1089s # { 1089s # /*< private >*/ 1089s # GDBusInterfaceSkeleton parent_instance; 1089s # FDPassingSkeletonPrivate *priv; 1089s # }; 1089s # 1089s # struct _FDPassingSkeletonClass 1089s # { 1089s # GDBusInterfaceSkeletonClass parent_class; 1089s # }; 1089s # 1089s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1089s # 1089s # #if GLIB_CHECK_VERSION(2, 44, 0) 1089s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1089s # #endif 1089s # 1089s # FDPassing *fdpassing_skeleton_new (void); 1089s # 1089s # 1089s # G_END_DECLS 1089s # 1089s # #endif /* __STDOUT__ */ 1089s 1..39 1089s ok - glib/codegen.py.test 1089s # Running test: glib/utf8-validate.test 1089s TAP version 13 1089s # random seed: R02S2eb03675e5622efa8907bcd57189aea7 1089s 1..216 1089s # Start of utf8 tests 1089s # Vector 0 1089s # Vector 1 1089s # Vector 2 1089s # Vector 3 1089s # Vector 4 1089s # Vector 5 1089s # Vector 6 1089s # Vector 7 1089s # Vector 8 1089s # Vector 9 1089s # Vector 10 1089s # Vector 11 1089s # Vector 12 1089s # Vector 13 1089s # Vector 14 1089s # Vector 15 1089s # Vector 16 1089s # Vector 17 1089s # Vector 18 1089s # Vector 19 1089s # Vector 20 1089s # Vector 21 1089s # Vector 22 1089s # Vector 23 1089s # Vector 24 1089s # Vector 25 1089s # Vector 26 1089s # Vector 27 1089s ok 1 /utf8/get-char-validated 1089s # Start of validate tests 1089s ok 2 /utf8/validate/0 1089s ok 3 /utf8/validate/1 1089s ok 4 /utf8/validate/2 1089s ok 5 /utf8/validate/3 1089s ok 6 /utf8/validate/4 1089s ok 7 /utf8/validate/5 1089s ok 8 /utf8/validate/6 1089s ok 9 /utf8/validate/7 1089s ok 10 /utf8/validate/8 1089s ok 11 /utf8/validate/9 1089s ok 12 /utf8/validate/10 1089s ok 13 /utf8/validate/11 1089s ok 14 /utf8/validate/12 1089s ok 15 /utf8/validate/13 1089s ok 16 /utf8/validate/14 1089s ok 17 /utf8/validate/15 1089s ok 18 /utf8/validate/16 1089s ok 19 /utf8/validate/17 1089s ok 20 /utf8/validate/18 1089s ok 21 /utf8/validate/19 1089s ok 22 /utf8/validate/20 1089s ok 23 /utf8/validate/21 1089s ok 24 /utf8/validate/22 1089s ok 25 /utf8/validate/23 1089s ok 26 /utf8/validate/24 1089s ok 27 /utf8/validate/25 1089s ok 28 /utf8/validate/26 1089s ok 29 /utf8/validate/27 1089s ok 30 /utf8/validate/28 1089s ok 31 /utf8/validate/29 1089s ok 32 /utf8/validate/30 1089s ok 33 /utf8/validate/31 1089s ok 34 /utf8/validate/32 1089s ok 35 /utf8/validate/33 1089s ok 36 /utf8/validate/34 1089s ok 37 /utf8/validate/35 1089s ok 38 /utf8/validate/36 1089s ok 39 /utf8/validate/37 1089s ok 40 /utf8/validate/38 1089s ok 41 /utf8/validate/39 1089s ok 42 /utf8/validate/40 1089s ok 43 /utf8/validate/41 1089s ok 44 /utf8/validate/42 1089s ok 45 /utf8/validate/43 1089s ok 46 /utf8/validate/44 1089s ok 47 /utf8/validate/45 1089s ok 48 /utf8/validate/46 1089s ok 49 /utf8/validate/47 1089s ok 50 /utf8/validate/48 1089s ok 51 /utf8/validate/49 1089s ok 52 /utf8/validate/50 1089s ok 53 /utf8/validate/51 1089s ok 54 /utf8/validate/52 1089s ok 55 /utf8/validate/53 1089s ok 56 /utf8/validate/54 1089s ok 57 /utf8/validate/55 1089s ok 58 /utf8/validate/56 1089s ok 59 /utf8/validate/57 1089s ok 60 /utf8/validate/58 1089s ok 61 /utf8/validate/59 1089s ok 62 /utf8/validate/60 1089s ok 63 /utf8/validate/61 1089s ok 64 /utf8/validate/62 1089s ok 65 /utf8/validate/63 1089s ok 66 /utf8/validate/64 1089s ok 67 /utf8/validate/65 1089s ok 68 /utf8/validate/66 1089s ok 69 /utf8/validate/67 1089s ok 70 /utf8/validate/68 1089s ok 71 /utf8/validate/69 1089s ok 72 /utf8/validate/70 1089s ok 73 /utf8/validate/71 1089s ok 74 /utf8/validate/72 1089s ok 75 /utf8/validate/73 1089s ok 76 /utf8/validate/74 1089s ok 77 /utf8/validate/75 1089s ok 78 /utf8/validate/76 1089s ok 79 /utf8/validate/77 1089s ok 80 /utf8/validate/78 1089s ok 81 /utf8/validate/79 1089s ok 82 /utf8/validate/80 1089s ok 83 /utf8/validate/81 1089s ok 84 /utf8/validate/82 1089s ok 85 /utf8/validate/83 1089s ok 86 /utf8/validate/84 1089s ok 87 /utf8/validate/85 1089s ok 88 /utf8/validate/86 1089s ok 89 /utf8/validate/87 1089s ok 90 /utf8/validate/88 1089s ok 91 /utf8/validate/89 1089s ok 92 /utf8/validate/90 1089s ok 93 /utf8/validate/91 1089s ok 94 /utf8/validate/92 1089s ok 95 /utf8/validate/93 1089s ok 96 /utf8/validate/94 1089s ok 97 /utf8/validate/95 1089s ok 98 /utf8/validate/96 1089s ok 99 /utf8/validate/97 1089s ok 100 /utf8/validate/98 1089s ok 101 /utf8/validate/99 1089s ok 102 /utf8/validate/100 1089s ok 103 /utf8/validate/101 1089s ok 104 /utf8/validate/102 1089s ok 105 /utf8/validate/103 1089s ok 106 /utf8/validate/104 1089s ok 107 /utf8/validate/105 1089s ok 108 /utf8/validate/106 1089s ok 109 /utf8/validate/107 1089s ok 110 /utf8/validate/108 1089s ok 111 /utf8/validate/109 1089s ok 112 /utf8/validate/110 1089s ok 113 /utf8/validate/111 1089s ok 114 /utf8/validate/112 1089s ok 115 /utf8/validate/113 1089s ok 116 /utf8/validate/114 1089s ok 117 /utf8/validate/115 1089s ok 118 /utf8/validate/116 1089s ok 119 /utf8/validate/117 1089s ok 120 /utf8/validate/118 1089s ok 121 /utf8/validate/119 1089s ok 122 /utf8/validate/120 1089s ok 123 /utf8/validate/121 1089s ok 124 /utf8/validate/122 1089s ok 125 /utf8/validate/123 1089s ok 126 /utf8/validate/124 1089s ok 127 /utf8/validate/125 1089s ok 128 /utf8/validate/126 1089s ok 129 /utf8/validate/127 1089s ok 130 /utf8/validate/128 1089s ok 131 /utf8/validate/129 1089s ok 132 /utf8/validate/130 1089s ok 133 /utf8/validate/131 1089s ok 134 /utf8/validate/132 1089s ok 135 /utf8/validate/133 1089s ok 136 /utf8/validate/134 1089s ok 137 /utf8/validate/135 1089s ok 138 /utf8/validate/136 1089s ok 139 /utf8/validate/137 1089s ok 140 /utf8/validate/138 1089s ok 141 /utf8/validate/139 1089s ok 142 /utf8/validate/140 1089s ok 143 /utf8/validate/141 1089s ok 144 /utf8/validate/142 1089s ok 145 /utf8/validate/143 1089s ok 146 /utf8/validate/144 1089s ok 147 /utf8/validate/145 1089s ok 148 /utf8/validate/146 1089s ok 149 /utf8/validate/147 1089s ok 150 /utf8/validate/148 1089s ok 151 /utf8/validate/149 1089s ok 152 /utf8/validate/150 1089s ok 153 /utf8/validate/151 1089s ok 154 /utf8/validate/152 1089s ok 155 /utf8/validate/153 1089s ok 156 /utf8/validate/154 1089s ok 157 /utf8/validate/155 1089s ok 158 /utf8/validate/156 1089s ok 159 /utf8/validate/157 1089s ok 160 /utf8/validate/158 1089s ok 161 /utf8/validate/159 1089s ok 162 /utf8/validate/160 1089s ok 163 /utf8/validate/161 1089s ok 164 /utf8/validate/162 1089s ok 165 /utf8/validate/163 1089s ok 166 /utf8/validate/164 1089s ok 167 /utf8/validate/165 1089s ok 168 /utf8/validate/166 1089s ok 169 /utf8/validate/167 1089s ok 170 /utf8/validate/168 1089s ok 171 /utf8/validate/169 1089s ok 172 /utf8/validate/170 1089s ok 173 /utf8/validate/171 1089s ok 174 /utf8/validate/172 1089s ok 175 /utf8/validate/173 1089s ok 176 /utf8/validate/174 1089s ok 177 /utf8/validate/175 1089s ok 178 /utf8/validate/176 1089s ok 179 /utf8/validate/177 1089s ok 180 /utf8/validate/178 1089s ok 181 /utf8/validate/179 1089s ok 182 /utf8/validate/180 1089s ok 183 /utf8/validate/181 1089s ok 184 /utf8/validate/182 1089s ok 185 /utf8/validate/183 1089s ok 186 /utf8/validate/184 1089s ok 187 /utf8/validate/185 1089s ok 188 /utf8/validate/186 1089s ok 189 /utf8/validate/187 1089s ok 190 /utf8/validate/188 1089s ok 191 /utf8/validate/189 1089s ok 192 /utf8/validate/190 1089s ok 193 /utf8/validate/191 1089s ok 194 /utf8/validate/192 1089s ok 195 /utf8/validate/193 1089s ok 196 /utf8/validate/194 1089s ok 197 /utf8/validate/195 1089s ok 198 /utf8/validate/196 1089s ok 199 /utf8/validate/197 1089s ok 200 /utf8/validate/198 1089s ok 201 /utf8/validate/199 1089s ok 202 /utf8/validate/200 1089s ok 203 /utf8/validate/201 1089s ok 204 /utf8/validate/202 1089s ok 205 /utf8/validate/203 1089s ok 206 /utf8/validate/204 1089s ok 207 /utf8/validate/205 1089s ok 208 /utf8/validate/206 1089s ok 209 /utf8/validate/207 1089s ok 210 /utf8/validate/208 1089s ok 211 /utf8/validate/209 1089s ok 212 /utf8/validate/210 1089s ok 213 /utf8/validate/211 1089s ok 214 /utf8/validate/212 1089s ok 215 /utf8/validate/213 1089s ok 216 /utf8/validate/214 1089s # End of validate tests 1089s # End of utf8 tests 1089s ok - glib/utf8-validate.test 1089s # Running test: glib/performance.test 1089s Running test simple-construction 1089s # Executing: glib/performance.test 1094s # Executing: glib/performance.test 1095s Millions of constructed objects per second: 4.287 1095s Running test simple-construction1 1098s Millions of constructed objects per second: 51.568 1098s Running test complex-construction 1099s # Executing: glib/performance.test 1103s Millions of constructed objects per second: 2.509 1103s Running test complex-construction1 1104s # Executing: glib/performance.test 1109s # Executing: glib/performance.test 1109s Millions of constructed objects per second: 3.231 1109s Running test complex-construction2 1114s # Executing: glib/performance.test 1116s Millions of constructed objects per second: 3.458 1116s Running test finalization 1118s Millions of finalized objects per second: 0.777 1118s Running test type-check 1118s Million type checks per second: inf 1118s Running test emit-unhandled 1119s # Executing: glib/performance.test 1119s Emissions per second: 1108622 1119s Running test emit-unhandled-empty 1121s Emissions per second: 10063077 1121s Running test emit-unhandled-generic 1122s Emissions per second: 1340883 1122s Running test emit-unhandled-generic-empty 1123s Emissions per second: 10065342 1123s Running test emit-unhandled-args 1124s # Executing: glib/performance.test 1124s Emissions per second: 1004571 1124s Running test emit-handled 1126s Emissions per second: 822570 1126s Running test emit-handled-empty 1128s Emissions per second: 852391 1128s Running test emit-handled-generic 1129s # Executing: glib/performance.test 1129s Emissions per second: 833752 1129s Running test emit-handled-generic-empty 1131s Emissions per second: 1317792 1131s Running test emit-handled-args 1133s Emissions per second: 770873 1133s Running test notify-unhandled 1134s Notify (unhandled) per second: 10603282 1134s Running test notify-by-pspec-unhandled 1134s # Executing: glib/performance.test 1135s Notify (unhandled) per second: 43506860 1135s Running test notify-handled 1137s Notify per second: 468695 1137s Running test notify-by-pspec-handled 1139s # Executing: glib/performance.test 1139s Notify per second: 489671 1139s Running test property-set 1140s Property set per second: 2341729 1140s Running test property-get 1142s Property get per second: 2230145 1142s Running test refcount 1144s # Executing: glib/performance.test 1147s Million refs+unref per second: 6.07 1147s ok - glib/performance.test 1147s # Running test: glib/filter-streams.test 1147s TAP version 13 1147s # random seed: R02S8eac0c3f5f5b26fcb0cced3adabbae2f 1147s 1..4 1147s # Start of filter-stream tests 1147s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1147s ok 1 /filter-stream/input 1147s ok 2 /filter-stream/output 1147s ok 3 /filter-stream/async-input 1147s ok 4 /filter-stream/async-output 1147s # End of filter-stream tests 1147s ok - glib/filter-streams.test 1147s # Running test: glib/autoptr-gio.test 1147s TAP version 13 1147s # random seed: R02Sfd65f489878fb6d7631635d9900a8761 1147s 1..1 1147s # Start of autoptr tests 1147s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1147s ok 1 /autoptr/autoptr 1147s # End of autoptr tests 1147s ok - glib/autoptr-gio.test 1147s # Running test: glib/gdbus-error.test 1147s TAP version 13 1147s # random seed: R02S7461b2d23990b003764efc0d5d872685 1147s 1..4 1147s # Start of gdbus tests 1147s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_U16LK2/gdbus/registered-errors/.dirs/home 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_U16LK2/gdbus/registered-errors/.dirs/cache 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_U16LK2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_U16LK2/gdbus/registered-errors/.dirs/system-config2 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_U16LK2/gdbus/registered-errors/.dirs/config 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_U16LK2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_U16LK2/gdbus/registered-errors/.dirs/system-data2 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_U16LK2/gdbus/registered-errors/.dirs/data 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_U16LK2/gdbus/registered-errors/.dirs/state 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_U16LK2/gdbus/registered-errors/.dirs/runtime 1147s ok 1 /gdbus/registered-errors 1147s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_U16LK2/gdbus/unregistered-errors/.dirs/home 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_U16LK2/gdbus/unregistered-errors/.dirs/cache 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_U16LK2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_U16LK2/gdbus/unregistered-errors/.dirs/system-config2 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_U16LK2/gdbus/unregistered-errors/.dirs/config 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_U16LK2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_U16LK2/gdbus/unregistered-errors/.dirs/system-data2 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_U16LK2/gdbus/unregistered-errors/.dirs/data 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_U16LK2/gdbus/unregistered-errors/.dirs/state 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_U16LK2/gdbus/unregistered-errors/.dirs/runtime 1147s ok 2 /gdbus/unregistered-errors 1147s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_U16LK2/gdbus/transparent-gerror/.dirs/home 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_U16LK2/gdbus/transparent-gerror/.dirs/cache 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_U16LK2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_U16LK2/gdbus/transparent-gerror/.dirs/system-config2 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_U16LK2/gdbus/transparent-gerror/.dirs/config 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_U16LK2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_U16LK2/gdbus/transparent-gerror/.dirs/system-data2 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_U16LK2/gdbus/transparent-gerror/.dirs/data 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_U16LK2/gdbus/transparent-gerror/.dirs/state 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_U16LK2/gdbus/transparent-gerror/.dirs/runtime 1147s ok 3 /gdbus/transparent-gerror 1147s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_U16LK2/gdbus/register-error/.dirs/home 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_U16LK2/gdbus/register-error/.dirs/cache 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_U16LK2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_U16LK2/gdbus/register-error/.dirs/system-config2 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_U16LK2/gdbus/register-error/.dirs/config 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_U16LK2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_U16LK2/gdbus/register-error/.dirs/system-data2 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_U16LK2/gdbus/register-error/.dirs/data 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_U16LK2/gdbus/register-error/.dirs/state 1147s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_U16LK2/gdbus/register-error/.dirs/runtime 1147s ok 4 /gdbus/register-error 1147s # End of gdbus tests 1147s ok - glib/gdbus-error.test 1147s # Running test: glib/flags.test 1147s TAP version 13 1147s # random seed: R02S9c54284937f8c3ff0f8f241a041d9735 1147s 1..1 1147s # Start of gobject tests 1147s # Start of flags tests 1147s ok 1 /gobject/flags/validate 1147s # End of flags tests 1147s # End of gobject tests 1147s ok - glib/flags.test 1147s # Running test: glib/srvtarget.test 1147s TAP version 13 1147s # random seed: R02S5539cfd171156eaeaa54b2c515995c60 1147s 1..1 1147s # Start of srvtarget tests 1148s ok 1 /srvtarget/srv-target-ordering 1148s # slow test /srvtarget/srv-target-ordering executed in 0.83 secs 1148s # End of srvtarget tests 1148s ok - glib/srvtarget.test 1148s # Running test: glib/memory-output-stream.test 1148s TAP version 13 1148s # random seed: R02Sf31a5ba882ebd3a43d0c038863ce1690 1148s 1..10 1148s # Start of memory-output-stream tests 1148s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1148s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1148s ok 1 /memory-output-stream/truncate 1148s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1148s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1148s ok 2 /memory-output-stream/get-data-size 1148s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1148s ok 3 /memory-output-stream/properties 1148s ok 4 /memory-output-stream/write-bytes 1148s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1148s ok 5 /memory-output-stream/write-null 1148s ok 6 /memory-output-stream/writev 1148s ok 7 /memory-output-stream/writev_nonblocking 1148s ok 8 /memory-output-stream/steal_as_bytes 1148s # Start of seek tests 1148s ok 9 /memory-output-stream/seek/fixed 1148s ok 10 /memory-output-stream/seek/resizable 1148s # End of seek tests 1148s # End of memory-output-stream tests 1148s ok - glib/memory-output-stream.test 1148s # Running test: glib/null-settings-backend.test 1148s TAP version 13 1148s # random seed: R02S2e93b75992cf4df7ead9aab31cbf9aae 1148s 1..1 1148s # Start of null-settings-backend tests 1148s ok 1 /null-settings-backend/extension-point-registered 1148s # End of null-settings-backend tests 1148s ok - glib/null-settings-backend.test 1148s # Running test: glib/socket-listener.test 1148s TAP version 13 1148s # random seed: R02S4ddfc57fb75b6bd46d2fad1952f34a84 1148s 1..1 1148s # Start of socket-listener tests 1148s ok 1 /socket-listener/event-signal 1148s # End of socket-listener tests 1148s ok - glib/socket-listener.test 1148s # Running test: glib/references.test 1148s TAP version 13 1148s # random seed: R02S0f6adea830e440d5adaaf93327e07771 1148s 1..1 1148s # Start of gobject tests 1148s ok 1 /gobject/references 1148s # End of gobject tests 1148s ok - glib/references.test 1148s # Running test: glib/autoptr.test 1148s TAP version 13 1148s # random seed: R02S3e4d4bef65589102853f999930d47762 1148s 1..6 1148s # Start of autoptr tests 1148s ok 1 /autoptr/autoptr 1148s ok 2 /autoptr/autoptr_steal 1148s ok 3 /autoptr/autolist 1148s ok 4 /autoptr/autoslist 1148s ok 5 /autoptr/autoqueue 1148s ok 6 /autoptr/autoclass 1148s # End of autoptr tests 1148s ok - glib/autoptr.test 1148s # Running test: glib/volumemonitor.test 1148s TAP version 13 1148s # random seed: R02S69817c5f35869675f929e70600ac7bd1 1148s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1148s 1..3 1148s # Start of volumemonitor tests 1148s ok 1 /volumemonitor/connected_drives 1148s ok 2 /volumemonitor/volumes 1148s ok 3 /volumemonitor/mounts 1148s # End of volumemonitor tests 1148s ok - glib/volumemonitor.test 1148s # Running test: glib/slist.test 1148s TAP version 13 1148s # random seed: R02S075192ff3254780510ebf7654ed36ac4 1148s 1..14 1148s # Start of slist tests 1148s ok 1 /slist/sort 1148s ok 2 /slist/sort-with-data 1148s ok 3 /slist/insert-sorted 1148s ok 4 /slist/insert-sorted-with-data 1148s ok 5 /slist/reverse 1148s ok 6 /slist/nth 1148s ok 7 /slist/remove 1148s ok 8 /slist/remove-all 1148s ok 9 /slist/insert 1148s ok 10 /slist/position 1148s ok 11 /slist/concat 1148s ok 12 /slist/copy 1148s # Start of sort tests 1148s ok 13 /slist/sort/stable 1148s # End of sort tests 1148s # Start of copy tests 1148s ok 14 /slist/copy/deep 1148s # End of copy tests 1148s # End of slist tests 1148s ok - glib/slist.test 1148s # Running test: glib/stream-rw_all.test 1148s TAP version 13 1148s # random seed: R02S0723a2aba6635df7fbaa95f5bb458bb4 1148s 1..3 1148s # Start of stream tests 1148s # Start of read_all_async tests 1148s ok 1 /stream/read_all_async/memory 1148s # End of read_all_async tests 1148s # Start of write_all_async tests 1148s ok 2 /stream/write_all_async/memory 1148s # End of write_all_async tests 1148s # Start of read_write_all_async tests 1148s ok 3 /stream/read_write_all_async/pipe 1148s # End of read_write_all_async tests 1148s # End of stream tests 1148s ok - glib/stream-rw_all.test 1148s # Running test: glib/boxed.test 1148s TAP version 13 1148s # random seed: R02Sab1c2aa975678f4e904babebd4dc1666 1148s 1..27 1148s # Start of boxed tests 1148s ok 1 /boxed/define 1148s ok 2 /boxed/ownership 1148s ok 3 /boxed/closure 1148s ok 4 /boxed/date 1148s ok 5 /boxed/value 1148s ok 6 /boxed/string 1148s ok 7 /boxed/hashtable 1148s ok 8 /boxed/array 1148s ok 9 /boxed/ptrarray 1148s ok 10 /boxed/regex 1148s ok 11 /boxed/varianttype 1148s ok 12 /boxed/error 1148s ok 13 /boxed/datetime 1148s ok 14 /boxed/matchinfo 1148s ok 15 /boxed/keyfile 1148s ok 16 /boxed/mainloop 1148s ok 17 /boxed/maincontext 1148s ok 18 /boxed/source 1148s ok 19 /boxed/variantbuilder 1148s ok 20 /boxed/timezone 1148s ok 21 /boxed/pollfd 1148s ok 22 /boxed/markup 1148s ok 23 /boxed/thread 1148s ok 24 /boxed/checksum 1148s ok 25 /boxed/tree 1148s ok 26 /boxed/patternspec 1148s ok 27 /boxed/rand 1148s # End of boxed tests 1148s ok - glib/boxed.test 1148s # Running test: glib/gsubprocess.test 1148s TAP version 13 1148s # random seed: R02S5ea7560beb8fa3bb889c8a10fcdbe653 1148s 1..83 1148s # Start of gsubprocess tests 1148s ok 1 /gsubprocess/noop 1148s ok 2 /gsubprocess/noop-all-to-null 1148s ok 3 /gsubprocess/noop-no-wait 1148s ok 4 /gsubprocess/noop-stdin-inherit 1148s ok 5 /gsubprocess/search-path 1148s ok 6 /gsubprocess/search-path-from-envp 1149s # Executing: glib/gsubprocess.test 1152s ok 7 /gsubprocess/signal 1152s # slow test /gsubprocess/signal executed in 3.69 secs 1152s ok 8 /gsubprocess/exit1 1152s ok 9 /gsubprocess/echo1 1152s ok 10 /gsubprocess/echo-merged 1152s ok 11 /gsubprocess/cat-utf8 1153s ok 12 /gsubprocess/cat-eof 1153s # slow test /gsubprocess/cat-eof executed in 1.00 secs 1154s # Executing: glib/gsubprocess.test 1156s ok 13 /gsubprocess/multi1 1156s # slow test /gsubprocess/multi1 executed in 3.01 secs 1156s ok 14 /gsubprocess/communicate 1159s # Executing: glib/gsubprocess.test 1159s ok 15 /gsubprocess/terminate 1159s # slow test /gsubprocess/terminate executed in 2.97 secs 1159s ok 16 /gsubprocess/env 1159s ok 17 /gsubprocess/cwd 1159s ok 18 /gsubprocess/launcher-close 1159s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1159s ok 19 /gsubprocess/stdout-file 1159s ok 20 /gsubprocess/stdout-fd 1159s ok 21 /gsubprocess/child-setup 1159s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1159s ok 22 /gsubprocess/launcher-environment 1159s # Start of exit1 tests 1159s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1159s ok 23 /gsubprocess/exit1/cancel 1159s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1159s ok 24 /gsubprocess/exit1/cancel_in_cb 1159s # End of exit1 tests 1159s # Start of communicate tests 1159s ok 25 /gsubprocess/communicate/cancelled 1159s ok 26 /gsubprocess/communicate/async 1159s ok 27 /gsubprocess/communicate/utf8 1159s # hello world 1159s ok 28 /gsubprocess/communicate/no-pipes 1159s ok 29 /gsubprocess/communicate/separate-stderr 1159s ok 30 /gsubprocess/communicate/stdout-only 1159s # hello world 1159s ok 31 /gsubprocess/communicate/stderr-only 1159s ok 32 /gsubprocess/communicate/stdout-silence 1159s ok 33 /gsubprocess/communicate/nothing 1159s # Start of async tests 1159s ok 34 /gsubprocess/communicate/async/cancelled 1159s # hello world 1159s ok 35 /gsubprocess/communicate/async/no-pipes 1159s ok 36 /gsubprocess/communicate/async/separate-stderr 1159s ok 37 /gsubprocess/communicate/async/stdout-only 1159s # hello world 1159s ok 38 /gsubprocess/communicate/async/stderr-only 1159s ok 39 /gsubprocess/communicate/async/stdout-silence 1159s # Start of cancelled tests 1159s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 1159s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 1159s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 1159s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 1159s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 1159s # End of cancelled tests 1159s # End of async tests 1159s # Start of utf8 tests 1159s ok 45 /gsubprocess/communicate/utf8/cancelled 1159s ok 46 /gsubprocess/communicate/utf8/async 1159s # hello world 1159s ok 47 /gsubprocess/communicate/utf8/no-pipes 1159s ok 48 /gsubprocess/communicate/utf8/separate-stderr 1159s ok 49 /gsubprocess/communicate/utf8/stdout-only 1159s # hello world 1159s ok 50 /gsubprocess/communicate/utf8/stderr-only 1159s ok 51 /gsubprocess/communicate/utf8/stdout-silence 1159s ok 52 /gsubprocess/communicate/utf8/invalid 1159s # Start of async tests 1159s ok 53 /gsubprocess/communicate/utf8/async/cancelled 1159s # hello world 1159s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 1159s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 1159s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 1159s # hello world 1159s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 1159s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 1159s ok 59 /gsubprocess/communicate/utf8/async/invalid 1159s # Start of cancelled tests 1159s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1159s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1159s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1159s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1159s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1159s # End of cancelled tests 1159s # End of async tests 1159s # Start of cancelled tests 1159s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 1159s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1159s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 1159s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 1159s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1159s # End of cancelled tests 1159s # End of utf8 tests 1159s # Start of cancelled tests 1159s ok 70 /gsubprocess/communicate/cancelled/no-pipes 1159s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 1159s ok 72 /gsubprocess/communicate/cancelled/stdout-only 1159s ok 73 /gsubprocess/communicate/cancelled/stderr-only 1159s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 1159s # End of cancelled tests 1159s # End of communicate tests 1159s # Start of env tests 1159s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1159s ok 75 /gsubprocess/env/inherit 1159s # End of env tests 1159s # Start of pass-fd tests 1159s ok 76 /gsubprocess/pass-fd/basic 1159s ok 77 /gsubprocess/pass-fd/empty-child-setup 1159s ok 78 /gsubprocess/pass-fd/inherit-fds 1159s # End of pass-fd tests 1159s # Start of fd-conflation tests 1159s ok 79 /gsubprocess/fd-conflation/basic 1159s ok 80 /gsubprocess/fd-conflation/empty-child-setup 1159s ok 81 /gsubprocess/fd-conflation/inherit-fds 1159s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 1159s # End of fd-conflation tests 1159s # Start of exit-status tests 1159s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1159s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1159s ok 83 /gsubprocess/exit-status/trapped 1159s # End of exit-status tests 1159s # End of gsubprocess tests 1159s ok - glib/gsubprocess.test 1159s # Running test: glib/base64.test 1159s TAP version 13 1159s # random seed: R02S5faa7a9005ca308fb1edc15d62dd7df7 1159s 1..28 1159s # Start of base64 tests 1159s ok 1 /base64/encode 1159s ok 2 /base64/decode 1159s ok 3 /base64/decode-inplace 1159s ok 4 /base64/encode-decode 1159s # Start of full tests 1159s ok 5 /base64/full/1 1159s ok 6 /base64/full/2 1159s ok 7 /base64/full/3 1159s ok 8 /base64/full/4 1159s # End of full tests 1159s # Start of encode tests 1159s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1159s ok 9 /base64/encode/empty 1159s # Start of incremental tests 1159s # Start of small-block tests 1159s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1159s ok 10 /base64/encode/incremental/small-block/1 1159s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1159s ok 11 /base64/encode/incremental/small-block/2 1159s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1159s ok 12 /base64/encode/incremental/small-block/3 1159s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1159s ok 13 /base64/encode/incremental/small-block/4 1159s # End of small-block tests 1159s # End of incremental tests 1159s # End of encode tests 1159s # Start of incremental tests 1159s # Start of nobreak tests 1159s ok 14 /base64/incremental/nobreak/1 1159s ok 15 /base64/incremental/nobreak/2 1159s ok 16 /base64/incremental/nobreak/3 1159s ok 17 /base64/incremental/nobreak/4-a 1159s ok 18 /base64/incremental/nobreak/4-b 1159s ok 19 /base64/incremental/nobreak/4-c 1159s # End of nobreak tests 1159s # Start of break tests 1159s ok 20 /base64/incremental/break/1 1159s ok 21 /base64/incremental/break/2 1159s ok 22 /base64/incremental/break/3 1159s # End of break tests 1159s # Start of smallblock tests 1159s ok 23 /base64/incremental/smallblock/1 1159s ok 24 /base64/incremental/smallblock/2 1159s ok 25 /base64/incremental/smallblock/3 1159s ok 26 /base64/incremental/smallblock/4 1159s # End of smallblock tests 1159s # End of incremental tests 1159s # Start of decode tests 1159s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1159s ok 27 /base64/decode/empty 1159s # End of decode tests 1159s # Start of encode-decode tests 1159s # Vector 0: 1159s # Vector 1: f 1159s # Vector 2: fo 1159s # Vector 3: foo 1159s # Vector 4: foob 1159s # Vector 5: fooba 1159s # Vector 6: foobar 1159s ok 28 /base64/encode-decode/rfc4648 1159s # End of encode-decode tests 1159s # End of base64 tests 1159s ok - glib/base64.test 1159s # Running test: glib/gapplication.test 1159s TAP version 13 1159s # random seed: R02Sa523cbfecc1dfdcc1012193960b51896 1159s 1..24 1159s # Start of gapplication tests 1159s ok 1 /gapplication/no-dbus 1159s ok 2 /gapplication/no-appid 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s ok 3 /gapplication/properties 1159s ok 4 /gapplication/app-id 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s ok 5 /gapplication/quit 1159s ok 6 /gapplication/registered 1159s ok 7 /gapplication/local-actions 1159s ok 8 /gapplication/local-command-line 1159s ok 9 /gapplication/resource-path 1159s ok 10 /gapplication/test-help 1159s ok 11 /gapplication/command-line-done 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s ok 12 /gapplication/test-busy 1159s ok 13 /gapplication/test-handle-local-options1 1159s ok 14 /gapplication/test-handle-local-options2 1159s ok 15 /gapplication/test-handle-local-options3 1159s ok 16 /gapplication/api 1159s ok 17 /gapplication/version 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # launching subprocess 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s ok 18 /gapplication/replace 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # launching subprocess 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s ok 19 /gapplication/no-replace 1159s # slow test /gapplication/no-replace executed in 0.51 secs 1159s # Start of dbus tests 1159s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1159s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1159s # Message 0 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1159s # Message 1 1159s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # Message 2 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s ok 20 /gapplication/dbus/activate 1160s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1160s # Message 0 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1160s # Message 1 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # Message 2 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # Message 3 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s ok 21 /gapplication/dbus/open 1160s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1160s # Message 0 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # Message 1 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # Message 2 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s ok 22 /gapplication/dbus/command-line 1160s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s ok 23 /gapplication/dbus/command-line-done 1160s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1160s # Message 0 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # Message 1 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # Message 2 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # Message 3 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # Message 4 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # Message 5 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s ok 24 /gapplication/dbus/activate-action 1160s # End of dbus tests 1160s # End of gapplication tests 1160s ok - glib/gapplication.test 1160s # Running test: glib/strfuncs.test 1160s TAP version 13 1160s # random seed: R02S56c7025330917f17c823aeb68609386b 1160s 1..50 1160s # Start of strfuncs tests 1160s ok 1 /strfuncs/ascii-strcasecmp 1160s ok 2 /strfuncs/ascii_strdown 1160s ok 3 /strfuncs/ascii_strdup 1160s ok 4 /strfuncs/ascii_strtod 1160s ok 5 /strfuncs/bounds-check 1160s ok 6 /strfuncs/has-prefix 1160s ok 7 /strfuncs/has-prefix-macro 1160s ok 8 /strfuncs/has-suffix 1160s ok 9 /strfuncs/has-suffix-macro 1160s ok 10 /strfuncs/memdup 1160s ok 11 /strfuncs/memdup2 1160s ok 12 /strfuncs/set_str 1160s ok 13 /strfuncs/stpcpy 1160s ok 14 /strfuncs/str_match_string 1160s ok 15 /strfuncs/str_tokenize_and_fold 1160s ok 16 /strfuncs/strcanon 1160s ok 17 /strfuncs/strchomp 1160s ok 18 /strfuncs/strchug 1160s ok 19 /strfuncs/strcompress-strescape 1160s ok 20 /strfuncs/strconcat 1160s ok 21 /strfuncs/strdelimit 1160s ok 22 /strfuncs/strdup 1160s ok 23 /strfuncs/strdup-printf 1160s ok 24 /strfuncs/strdupv 1160s ok 25 /strfuncs/strerror 1160s ok 26 /strfuncs/strip-context 1160s ok 27 /strfuncs/strjoin 1160s ok 28 /strfuncs/strjoinv 1160s ok 29 /strfuncs/strlcat 1160s ok 30 /strfuncs/strlcpy 1160s ok 31 /strfuncs/strncasecmp 1160s ok 32 /strfuncs/strndup 1160s ok 33 /strfuncs/strnfill 1160s ok 34 /strfuncs/strreverse 1160s ok 35 /strfuncs/strsignal 1160s ok 36 /strfuncs/strsplit 1160s ok 37 /strfuncs/strsplit-set 1160s ok 38 /strfuncs/strstr 1160s ok 39 /strfuncs/strtod 1160s ok 40 /strfuncs/strtoull-strtoll 1160s ok 41 /strfuncs/strup 1160s ok 42 /strfuncs/strv-contains 1160s ok 43 /strfuncs/strv-equal 1160s ok 44 /strfuncs/strv-length 1160s ok 45 /strfuncs/test-is-to-digit 1160s ok 46 /strfuncs/transliteration 1160s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1160s ok 47 /strfuncs/str-equal 1160s # Start of ascii-string-to-num tests 1160s ok 48 /strfuncs/ascii-string-to-num/pathological 1160s ok 49 /strfuncs/ascii-string-to-num/usual 1160s # End of ascii-string-to-num tests 1160s # Start of strdup tests 1160s ok 50 /strfuncs/strdup/inline 1160s # End of strdup tests 1160s # End of strfuncs tests 1160s ok - glib/strfuncs.test 1160s # Running test: glib/tls-bindings.test 1160s TAP version 13 1160s # random seed: R02S0126a7d3313867e6f19871f78edd04f1 1160s 1..2 1160s # Start of tls-connection tests 1160s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 1160s ok 1 /tls-connection/get-tls-channel-binding 1160s ok 2 /tls-connection/get-dtls-channel-binding 1160s # End of tls-connection tests 1160s ok - glib/tls-bindings.test 1160s # Running test: glib/hash.test 1160s TAP version 13 1160s # random seed: R02S92268513aa64f429bd932a3c72004373 1160s 1..34 1160s # Start of hash tests 1160s ok 1 /hash/misc 1160s ok 2 /hash/one 1160s ok 3 /hash/honeyman 1160s ok 4 /hash/direct 1160s ok 5 /hash/direct2 1160s ok 6 /hash/int 1160s ok 7 /hash/int64 1160s ok 8 /hash/double 1160s ok 9 /hash/string 1160s ok 10 /hash/set 1160s ok 11 /hash/set-ref 1160s ok 12 /hash/ref 1160s ok 13 /hash/remove-all 1160s ok 14 /hash/recursive-remove-all 1160s ok 15 /hash/find 1160s ok 16 /hash/foreach 1160s ok 17 /hash/foreach-steal 1160s ok 18 /hash/steal-extended 1160s ok 19 /hash/steal-all-keys 1160s ok 20 /hash/steal-all-values 1160s ok 21 /hash/lookup-extended 1160s ok 22 /hash/new-similar 1160s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1160s ok 23 /hash/lookup-null-key 1160s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1160s ok 24 /hash/destroy-modify 1160s ok 25 /hash/consistency 1160s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1160s ok 26 /hash/iter-replace 1160s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1160s ok 27 /hash/set-insert-corruption 1160s ok 28 /hash/set-to-strv 1160s ok 29 /hash/get-keys-as-ptr-array 1160s ok 30 /hash/get-values-as-ptr-array 1160s ok 31 /hash/primes 1160s # Start of int64 tests 1160s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1160s ok 32 /hash/int64/collisions 1160s # End of int64 tests 1160s # Start of double tests 1160s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1160s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1160s ok 33 /hash/double/collisions 1160s # End of double tests 1160s # Start of recursive-remove-all tests 1160s # End of recursive-remove-all tests 1160s # Start of steal-extended tests 1160s ok 34 /hash/steal-extended/optional 1160s # End of steal-extended tests 1160s # End of hash tests 1160s ok - glib/hash.test 1160s # Running test: glib/portal-support-flatpak-gsettings-only.test 1160s TAP version 13 1160s # random seed: R02S46266829061f9c1877fb068130d2bacd 1160s 1..1 1160s # Start of portal-support tests 1160s # Start of flatpak tests 1160s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_R4RYK2/portal-support/flatpak/gsettings/.dirs/home 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_R4RYK2/portal-support/flatpak/gsettings/.dirs/cache 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_R4RYK2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_R4RYK2/portal-support/flatpak/gsettings/.dirs/system-config2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_R4RYK2/portal-support/flatpak/gsettings/.dirs/config 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_R4RYK2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_R4RYK2/portal-support/flatpak/gsettings/.dirs/system-data2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_R4RYK2/portal-support/flatpak/gsettings/.dirs/data 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_R4RYK2/portal-support/flatpak/gsettings/.dirs/state 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_R4RYK2/portal-support/flatpak/gsettings/.dirs/runtime 1160s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_R4RYK2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1160s ok 1 /portal-support/flatpak/gsettings 1160s # End of flatpak tests 1160s # End of portal-support tests 1160s ok - glib/portal-support-flatpak-gsettings-only.test 1160s # Running test: glib/pattern.test 1160s TAP version 13 1160s # random seed: R02S07f8b593b09d5bd504642439ff1482d2 1160s 1..90 1160s # Start of pattern tests 1160s # Start of compile tests 1160s ok 1 /pattern/compile/0 1160s ok 2 /pattern/compile/1 1160s ok 3 /pattern/compile/2 1160s ok 4 /pattern/compile/3 1160s ok 5 /pattern/compile/4 1160s ok 6 /pattern/compile/5 1160s ok 7 /pattern/compile/6 1160s ok 8 /pattern/compile/7 1160s ok 9 /pattern/compile/8 1160s ok 10 /pattern/compile/9 1160s ok 11 /pattern/compile/10 1160s ok 12 /pattern/compile/11 1160s ok 13 /pattern/compile/12 1160s ok 14 /pattern/compile/13 1160s # End of compile tests 1160s # Start of copy tests 1160s ok 15 /pattern/copy/0 1160s ok 16 /pattern/copy/1 1160s ok 17 /pattern/copy/2 1160s ok 18 /pattern/copy/3 1160s ok 19 /pattern/copy/4 1160s ok 20 /pattern/copy/5 1160s ok 21 /pattern/copy/6 1160s ok 22 /pattern/copy/7 1160s ok 23 /pattern/copy/8 1160s ok 24 /pattern/copy/9 1160s ok 25 /pattern/copy/10 1160s ok 26 /pattern/copy/11 1160s ok 27 /pattern/copy/12 1160s ok 28 /pattern/copy/13 1160s # End of copy tests 1160s # Start of match tests 1160s ok 29 /pattern/match/0 1160s ok 30 /pattern/match/1 1160s ok 31 /pattern/match/2 1160s ok 32 /pattern/match/3 1160s ok 33 /pattern/match/4 1160s ok 34 /pattern/match/5 1160s ok 35 /pattern/match/6 1160s ok 36 /pattern/match/7 1160s ok 37 /pattern/match/8 1160s ok 38 /pattern/match/9 1160s ok 39 /pattern/match/10 1160s ok 40 /pattern/match/11 1160s ok 41 /pattern/match/12 1160s ok 42 /pattern/match/13 1160s ok 43 /pattern/match/14 1160s ok 44 /pattern/match/15 1160s ok 45 /pattern/match/16 1160s ok 46 /pattern/match/17 1160s ok 47 /pattern/match/18 1160s ok 48 /pattern/match/19 1160s ok 49 /pattern/match/20 1160s ok 50 /pattern/match/21 1160s ok 51 /pattern/match/22 1160s ok 52 /pattern/match/23 1160s ok 53 /pattern/match/24 1160s ok 54 /pattern/match/25 1160s ok 55 /pattern/match/26 1160s ok 56 /pattern/match/27 1160s ok 57 /pattern/match/28 1160s ok 58 /pattern/match/29 1160s ok 59 /pattern/match/30 1160s ok 60 /pattern/match/31 1160s ok 61 /pattern/match/32 1160s ok 62 /pattern/match/33 1160s ok 63 /pattern/match/34 1160s ok 64 /pattern/match/35 1160s ok 65 /pattern/match/36 1160s ok 66 /pattern/match/37 1160s ok 67 /pattern/match/38 1160s ok 68 /pattern/match/39 1160s ok 69 /pattern/match/40 1160s ok 70 /pattern/match/41 1160s ok 71 /pattern/match/42 1160s ok 72 /pattern/match/43 1160s ok 73 /pattern/match/44 1160s ok 74 /pattern/match/45 1160s ok 75 /pattern/match/46 1160s ok 76 /pattern/match/47 1160s ok 77 /pattern/match/48 1160s ok 78 /pattern/match/49 1160s ok 79 /pattern/match/50 1160s # End of match tests 1160s # Start of equal tests 1160s ok 80 /pattern/equal/0 1160s ok 81 /pattern/equal/1 1160s ok 82 /pattern/equal/2 1160s ok 83 /pattern/equal/3 1160s ok 84 /pattern/equal/4 1160s ok 85 /pattern/equal/5 1160s ok 86 /pattern/equal/6 1160s ok 87 /pattern/equal/7 1160s ok 88 /pattern/equal/8 1160s ok 89 /pattern/equal/9 1160s ok 90 /pattern/equal/10 1160s # End of equal tests 1160s # End of pattern tests 1160s ok - glib/pattern.test 1160s # Running test: glib/debugcontroller.test 1160s TAP version 13 1160s # random seed: R02S408aed32468ebe93841bb650aa3f270d 1160s 1..3 1160s # Start of debug-controller tests 1160s # Start of dbus tests 1160s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-GIO-DEBUG: Debug output enabled 1160s # GLib-GIO-DEBUG: Debug output disabled 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s ok 1 /debug-controller/dbus/basic 1160s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s ok 2 /debug-controller/dbus/duplicate 1160s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1160s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1160s # End of dbus tests 1160s # End of debug-controller tests 1160s ok - glib/debugcontroller.test 1160s # Running test: glib/unix-fd.test 1160s TAP version 13 1160s # random seed: R02S98a6e1225ad003935b880812d249e27e 1160s 1..2 1160s # Start of unix-fd tests 1160s ok 1 /unix-fd/fd-list 1160s ok 2 /unix-fd/scm 1160s # End of unix-fd tests 1160s ok - glib/unix-fd.test 1160s # Running test: glib/cxx-11.test 1160s TAP version 13 1160s # random seed: R02Sf1b98237fc565b8bfdd1fb5b71c1447b 1160s 1..2 1160s # Start of gtask tests 1160s # 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. 1160s ok 1 /gtask/name 1160s # Start of name tests 1160s # 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. 1160s ok 2 /gtask/name/macro-wrapper 1160s # End of name tests 1160s # End of gtask tests 1160s ok - glib/cxx-11.test 1160s # Running test: glib/completion.test 1160s TAP version 13 1160s # random seed: R02Sed8b79ce93de1cccd3af760c686bc851 1160s 1..1 1160s # Start of completion tests 1160s ok 1 /completion/test-completion 1160s # End of completion tests 1160s ok - glib/completion.test 1160s # Running test: glib/overflow-fallback.test 1160s TAP version 13 1160s # random seed: R02S3d2a5204f9b1ea4b01436ba7b36329f2 1160s 1..6 1160s # Start of glib tests 1160s # Start of checked-math tests 1160s ok 1 /glib/checked-math/guint-add 1160s ok 2 /glib/checked-math/guint-mul 1160s ok 3 /glib/checked-math/guint64-add 1160s ok 4 /glib/checked-math/guint64-mul 1160s ok 5 /glib/checked-math/gsize-add 1160s ok 6 /glib/checked-math/gsize-mul 1160s # End of checked-math tests 1160s # End of glib tests 1160s ok - glib/overflow-fallback.test 1160s # Running test: glib/assert-msg-test.py.test 1160s TAP version 13 1160s ok 1 __main__.TestAssertMessage.test_gassert 1160s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1160s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1160s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-Fa9KaZ6EiT,guid=4bac7948902d43c27f54109665fb2c3e', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.lortaT/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.lortaT/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.lortaT/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.Jh3tnkGzle', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.dLz2Ch/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.lortaT/wrapper.sh --artifacts=/tmp/autopkgtest.lortaT/installed-tests-artifacts --chdir=/tmp/autopkgtest.lortaT/build.03q/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --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.lortaT/installed-tests-stderr --stdout=/tmp/autopkgtest.lortaT/installed-tests-stdout --tmp=/tmp/autopkgtest.lortaT/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests -- /tmp/autopkgtest.lortaT/build.03q/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.lortaT/build.03q/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.lortaT/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 1160s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1160s # Error: ** 1160s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1160s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1160s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1160s 1..2 1160s ok - glib/assert-msg-test.py.test 1160s # Running test: glib/gnotification.test 1160s TAP version 13 1160s # random seed: R02S188ec48fe03092c3e4b9f0bf1058067f 1160s 1..2 1160s # Start of gnotification tests 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s ok 1 /gnotification/basic 1160s ok 2 /gnotification/properties 1160s # End of gnotification tests 1160s ok - glib/gnotification.test 1160s # Running test: glib/socket-service.test 1160s TAP version 13 1160s # random seed: R02S736781bf0215fe33be16d5f82546d7df 1160s 1..4 1160s # Start of socket-service tests 1160s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1160s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x19995935c330 and GSocketClientAsyncConnectData 0x199959354620 1160s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1160s ok 1 /socket-service/start-stop 1160s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x19995935de90 and GSocketClientAsyncConnectData 0x19995935dc30 1160s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1160s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1160s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x19995935e3a0 for GSocketClientAsyncConnectData 0x199959354620 1160s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1160s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1160s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1160s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1160s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1160s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x19995935f220 for GSocketClientAsyncConnectData 0x19995935dc30 1160s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1160s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1160s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1160s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1160s ok 2 /socket-service/read_write_async 1160s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x19995935df70 and GSocketClientAsyncConnectData 0x19995935c900 1160s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1160s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1160s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x199959360160 for GSocketClientAsyncConnectData 0x19995935c900 1160s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1160s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1160s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1160s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1160s ok 3 /socket-service/read_writev_async 1160s # Start of threaded tests 1160s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 1160s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1999593636f0 and GSocketClientAsyncConnectData 0x199959354620 1160s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1160s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1160s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x199959363870 for GSocketClientAsyncConnectData 0x199959354620 1160s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1160s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1160s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1160s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1160s ok 4 /socket-service/threaded/712570 1160s # End of threaded tests 1160s # End of socket-service tests 1160s ok - glib/socket-service.test 1160s # Running test: glib/struct-info.test 1160s TAP version 13 1160s # random seed: R02S2a07947d780b91fe77a787293697915d 1160s 1..4 1160s # Start of struct-info tests 1160s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_AQ6UK2/struct-info/field-iterators/.dirs/home 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_AQ6UK2/struct-info/field-iterators/.dirs/cache 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_AQ6UK2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_AQ6UK2/struct-info/field-iterators/.dirs/system-config2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_AQ6UK2/struct-info/field-iterators/.dirs/config 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_AQ6UK2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_AQ6UK2/struct-info/field-iterators/.dirs/system-data2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_AQ6UK2/struct-info/field-iterators/.dirs/data 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_AQ6UK2/struct-info/field-iterators/.dirs/state 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_AQ6UK2/struct-info/field-iterators/.dirs/runtime 1160s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1160s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1160s ok 1 /struct-info/field-iterators 1160s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_AQ6UK2/struct-info/sizeof-gvalue/.dirs/home 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_AQ6UK2/struct-info/sizeof-gvalue/.dirs/cache 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_AQ6UK2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_AQ6UK2/struct-info/sizeof-gvalue/.dirs/system-config2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_AQ6UK2/struct-info/sizeof-gvalue/.dirs/config 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_AQ6UK2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_AQ6UK2/struct-info/sizeof-gvalue/.dirs/system-data2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_AQ6UK2/struct-info/sizeof-gvalue/.dirs/data 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_AQ6UK2/struct-info/sizeof-gvalue/.dirs/state 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_AQ6UK2/struct-info/sizeof-gvalue/.dirs/runtime 1160s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1160s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1160s ok 2 /struct-info/sizeof-gvalue 1160s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_AQ6UK2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_AQ6UK2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_AQ6UK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_AQ6UK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_AQ6UK2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_AQ6UK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_AQ6UK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_AQ6UK2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_AQ6UK2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_AQ6UK2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1160s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1160s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1160s ok 3 /struct-info/is-pointer-for-struct-method-arg 1160s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_AQ6UK2/struct-info/boxed/.dirs/home 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_AQ6UK2/struct-info/boxed/.dirs/cache 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_AQ6UK2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_AQ6UK2/struct-info/boxed/.dirs/system-config2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_AQ6UK2/struct-info/boxed/.dirs/config 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_AQ6UK2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_AQ6UK2/struct-info/boxed/.dirs/system-data2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_AQ6UK2/struct-info/boxed/.dirs/data 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_AQ6UK2/struct-info/boxed/.dirs/state 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_AQ6UK2/struct-info/boxed/.dirs/runtime 1160s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1160s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1160s ok 4 /struct-info/boxed 1160s # End of struct-info tests 1160s ok - glib/struct-info.test 1160s # Running test: glib/memory-monitor-portal.test 1160s TAP version 13 1160s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1160s 1..1 1160s ok - glib/memory-monitor-portal.test 1160s # Running test: glib/enums.test 1160s TAP version 13 1160s # random seed: R02Saf8f471940b087ac15890a4219b02889 1160s 1..4 1160s # Start of enum tests 1160s ok 1 /enum/basic 1160s ok 2 /enum/define-type 1160s # End of enum tests 1160s # Start of flags tests 1160s ok 3 /flags/basic 1160s ok 4 /flags/define-type 1160s # End of flags tests 1160s ok - glib/enums.test 1160s # Running test: glib/gdbus-proxy-unique-name.test 1160s TAP version 13 1160s # random seed: R02S533196e66bf4e35fb8c80571f00df4ba 1160s 1..1 1160s # Start of gdbus tests 1160s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_08OZK2/gdbus/proxy-unique-name/.dirs/home 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_08OZK2/gdbus/proxy-unique-name/.dirs/cache 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_08OZK2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_08OZK2/gdbus/proxy-unique-name/.dirs/system-config2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_08OZK2/gdbus/proxy-unique-name/.dirs/config 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_08OZK2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_08OZK2/gdbus/proxy-unique-name/.dirs/system-data2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_08OZK2/gdbus/proxy-unique-name/.dirs/data 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_08OZK2/gdbus/proxy-unique-name/.dirs/state 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_08OZK2/gdbus/proxy-unique-name/.dirs/runtime 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s ok 1 /gdbus/proxy-unique-name 1160s # End of gdbus tests 1160s ok - glib/gdbus-proxy-unique-name.test 1160s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1160s TAP version 13 1160s # random seed: R02Sc511ed4d3c4100db93610704facf134e 1160s 1..8 1160s # Start of gdbus tests 1160s # Start of codegen tests 1160s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/annotations/.dirs/home 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/annotations/.dirs/cache 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/annotations/.dirs/system-config2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/annotations/.dirs/config 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/annotations/.dirs/system-data2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/annotations/.dirs/data 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/annotations/.dirs/state 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/annotations/.dirs/runtime 1160s ok 1 /gdbus/codegen/annotations 1160s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/interface_stability/.dirs/home 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/interface_stability/.dirs/cache 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/interface_stability/.dirs/system-config2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/interface_stability/.dirs/config 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/interface_stability/.dirs/system-data2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/interface_stability/.dirs/data 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/interface_stability/.dirs/state 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/interface_stability/.dirs/runtime 1160s ok 2 /gdbus/codegen/interface_stability 1160s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/object-manager/.dirs/home 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/object-manager/.dirs/cache 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/object-manager/.dirs/system-config2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/object-manager/.dirs/config 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/object-manager/.dirs/system-data2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/object-manager/.dirs/data 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/object-manager/.dirs/state 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/object-manager/.dirs/runtime 1160s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1160s ok 3 /gdbus/codegen/object-manager 1160s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/property-naming/.dirs/home 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/property-naming/.dirs/cache 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/property-naming/.dirs/system-config2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/property-naming/.dirs/config 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/property-naming/.dirs/system-data2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/property-naming/.dirs/data 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/property-naming/.dirs/state 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/property-naming/.dirs/runtime 1160s ok 4 /gdbus/codegen/property-naming 1160s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/autocleanups/.dirs/home 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/autocleanups/.dirs/cache 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/autocleanups/.dirs/system-config2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/autocleanups/.dirs/config 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/autocleanups/.dirs/system-data2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/autocleanups/.dirs/data 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/autocleanups/.dirs/state 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/autocleanups/.dirs/runtime 1160s ok 5 /gdbus/codegen/autocleanups 1160s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/deprecations/.dirs/home 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/deprecations/.dirs/cache 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/deprecations/.dirs/system-config2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/deprecations/.dirs/config 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/deprecations/.dirs/system-data2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/deprecations/.dirs/data 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/deprecations/.dirs/state 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/deprecations/.dirs/runtime 1160s ok 6 /gdbus/codegen/deprecations 1160s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/standalone-interface-info/.dirs/home 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/standalone-interface-info/.dirs/cache 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/standalone-interface-info/.dirs/config 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/standalone-interface-info/.dirs/data 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/standalone-interface-info/.dirs/state 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/standalone-interface-info/.dirs/runtime 1160s ok 7 /gdbus/codegen/standalone-interface-info 1160s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/unix-fd-list/.dirs/home 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/unix-fd-list/.dirs/cache 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/unix-fd-list/.dirs/system-config2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/unix-fd-list/.dirs/config 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/unix-fd-list/.dirs/system-data2 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/unix-fd-list/.dirs/data 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/unix-fd-list/.dirs/state 1160s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_4TM0K2/gdbus/codegen/unix-fd-list/.dirs/runtime 1160s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1160s ok 8 /gdbus/codegen/unix-fd-list 1160s # End of codegen tests 1160s # End of gdbus tests 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1160s ok - glib/gdbus-test-codegen-min-required-2-64.test 1160s # Running test: glib/socket.test 1160s TAP version 13 1160s # random seed: R02Sbeb7aeb38f6ceb77e6e1b47ab560eabd 1160s 1..28 1160s # Start of socket tests 1161s ok 1 /socket/ipv4_sync 1161s # slow test /socket/ipv4_sync executed in 1.00 secs 1162s ok 2 /socket/ipv4_async 1162s # slow test /socket/ipv4_async executed in 1.00 secs 1162s ok 3 /socket/ipv6_sync 1162s ok 4 /socket/ipv6_async 1162s ok 5 /socket/ipv6_v4mapped 1163s ok 6 /socket/close_graceful 1163s # slow test /socket/close_graceful executed in 1.00 secs 1163s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1163s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1163s ok 8 /socket/fd_reuse 1163s ok 9 /socket/address 1163s ok 10 /socket/unix-from-fd 1163s ok 11 /socket/unix-connection 1163s ok 12 /socket/unix-connection-ancillary-data 1163s ok 13 /socket/source-postmortem 1163s ok 14 /socket/read_write 1163s ok 15 /socket/read_writev 1163s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1163s ok 16 /socket/receive_bytes 1163s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1163s ok 17 /socket/receive_bytes_from 1163s # Start of ipv4_sync tests 1163s ok 18 /socket/ipv4_sync/datagram 1163s # Start of datagram tests 1164s # Executing: glib/socket.test 1164s ok 19 /socket/ipv4_sync/datagram/timeouts 1164s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1164s # End of datagram tests 1164s # End of ipv4_sync tests 1164s # Start of ipv6_sync tests 1164s ok 20 /socket/ipv6_sync/datagram 1164s # Start of datagram tests 1165s ok 21 /socket/ipv6_sync/datagram/timeouts 1165s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1165s # End of datagram tests 1165s # End of ipv6_sync tests 1165s # Start of reuse tests 1165s ok 22 /socket/reuse/tcp 1165s ok 23 /socket/reuse/udp 1165s # End of reuse tests 1165s # Start of get_available tests 1165s ok 24 /socket/get_available/datagram 1165s ok 25 /socket/get_available/stream 1165s # End of get_available tests 1165s # Start of credentials tests 1165s # Supported on this OS: GCredentials:linux-ucred:pid=0 1165s ok 26 /socket/credentials/tcp_client 1165s # Supported on this OS: GCredentials:linux-ucred:pid=0 1165s ok 27 /socket/credentials/tcp_server 1165s # Supported on this OS: GCredentials:linux-ucred:pid=15478,uid=1000,gid=1000 1165s ok 28 /socket/credentials/unix_socketpair 1165s # End of credentials tests 1165s # End of socket tests 1165s ok - glib/socket.test 1165s # Running test: glib/timer.test 1165s TAP version 13 1165s # random seed: R02S57407c1116d05d6206f3fc9902660549 1165s 1..10 1165s # Start of timer tests 1165s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1165s ok 2 /timer/stop 1165s ok 3 /timer/continue 1165s ok 4 /timer/reset 1165s ok 5 /timer/is_active 1165s # End of timer tests 1165s # Start of timeval tests 1165s ok 6 /timeval/add 1165s ok 7 /timeval/from-iso8601 1165s ok 8 /timeval/to-iso8601 1165s # Start of to-iso8601 tests 1165s ok 9 /timeval/to-iso8601/overflow 1165s # End of to-iso8601 tests 1165s # End of timeval tests 1165s # Start of usleep tests 1165s ok 10 /usleep/with-zero-wait 1165s # End of usleep tests 1165s ok - glib/timer.test 1165s # Running test: glib/repository-search-paths.test 1165s TAP version 13 1165s # random seed: R02Saaf4bfcd7977466a0fbbb2d10920a0a5 1165s 1..4 1165s # Start of repository tests 1165s # Start of search-paths tests 1165s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_WM2RK2/repository/search-paths/default/.dirs/home 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_WM2RK2/repository/search-paths/default/.dirs/cache 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_WM2RK2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_WM2RK2/repository/search-paths/default/.dirs/system-config2 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_WM2RK2/repository/search-paths/default/.dirs/config 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_WM2RK2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_WM2RK2/repository/search-paths/default/.dirs/system-data2 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_WM2RK2/repository/search-paths/default/.dirs/data 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_WM2RK2/repository/search-paths/default/.dirs/state 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_WM2RK2/repository/search-paths/default/.dirs/runtime 1165s ok 1 /repository/search-paths/default 1165s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_WM2RK2/repository/search-paths/prepend/.dirs/home 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_WM2RK2/repository/search-paths/prepend/.dirs/cache 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_WM2RK2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_WM2RK2/repository/search-paths/prepend/.dirs/system-config2 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_WM2RK2/repository/search-paths/prepend/.dirs/config 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_WM2RK2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_WM2RK2/repository/search-paths/prepend/.dirs/system-data2 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_WM2RK2/repository/search-paths/prepend/.dirs/data 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_WM2RK2/repository/search-paths/prepend/.dirs/state 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_WM2RK2/repository/search-paths/prepend/.dirs/runtime 1165s ok 2 /repository/search-paths/prepend 1165s # End of search-paths tests 1165s # Start of library-paths tests 1165s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_WM2RK2/repository/library-paths/default/.dirs/home 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_WM2RK2/repository/library-paths/default/.dirs/cache 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_WM2RK2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_WM2RK2/repository/library-paths/default/.dirs/system-config2 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_WM2RK2/repository/library-paths/default/.dirs/config 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_WM2RK2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_WM2RK2/repository/library-paths/default/.dirs/system-data2 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_WM2RK2/repository/library-paths/default/.dirs/data 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_WM2RK2/repository/library-paths/default/.dirs/state 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_WM2RK2/repository/library-paths/default/.dirs/runtime 1165s ok 3 /repository/library-paths/default 1165s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_WM2RK2/repository/library-paths/prepend/.dirs/home 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_WM2RK2/repository/library-paths/prepend/.dirs/cache 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_WM2RK2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_WM2RK2/repository/library-paths/prepend/.dirs/system-config2 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_WM2RK2/repository/library-paths/prepend/.dirs/config 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_WM2RK2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_WM2RK2/repository/library-paths/prepend/.dirs/system-data2 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_WM2RK2/repository/library-paths/prepend/.dirs/data 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_WM2RK2/repository/library-paths/prepend/.dirs/state 1165s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_WM2RK2/repository/library-paths/prepend/.dirs/runtime 1165s ok 4 /repository/library-paths/prepend 1165s # End of library-paths tests 1165s # End of repository tests 1165s ok - glib/repository-search-paths.test 1165s # Running test: glib/bindinggroup.test 1165s TAP version 13 1165s # random seed: R02S2b9020f79b020a65c520c6a07440d57f 1165s 1..11 1165s # Start of GObject tests 1165s # Start of BindingGroup tests 1165s ok 1 /GObject/BindingGroup/invalid 1165s ok 2 /GObject/BindingGroup/default 1165s ok 3 /GObject/BindingGroup/bidirectional 1165s ok 4 /GObject/BindingGroup/transform 1165s ok 5 /GObject/BindingGroup/transform-closures 1165s ok 6 /GObject/BindingGroup/same-object 1165s ok 7 /GObject/BindingGroup/weak-ref-source 1165s ok 8 /GObject/BindingGroup/weak-ref-target 1165s ok 9 /GObject/BindingGroup/properties 1165s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1165s ok 11 /GObject/BindingGroup/empty-closures 1165s # End of BindingGroup tests 1165s # End of GObject tests 1165s ok - glib/bindinggroup.test 1165s # Running test: glib/signals-refcount3.test 1165s TAP version 13 1165s # random seed: R02S2a577badbbd2a67fb04895562b89b203 1165s 1..1 1165s # Start of gobject tests 1165s # Start of refcount tests 1165s # init 0x51195a9f420 1165s # 1165s # init 0x51195a9f5c0 1165s # 1169s # Executing: glib/signals-refcount3.test 1170s # dispose 0x51195a9f420! 1170s # 1170s # dispose 0x51195a9f5c0! 1170s # 1170s ok 1 /gobject/refcount/signals 1170s # slow test /gobject/refcount/signals executed in 5.00 secs 1170s # End of refcount tests 1170s # End of gobject tests 1170s ok - glib/signals-refcount3.test 1170s # SUMMARY: total=316; passed=315; skipped=1; failed=0; user=221.8s; system=44.2s; maxrss=197056 1171s autopkgtest [18:41:43]: test installed-tests: -----------------------] 1177s autopkgtest [18:41:49]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1177s installed-tests PASS 1178s autopkgtest [18:41:50]: test closure-refcount: preparing testbed 1186s Reading package lists... 1186s Building dependency tree... 1186s Reading state information... 1186s Starting pkgProblemResolver with broken count: 0 1186s Starting 2 pkgProblemResolver with broken count: 0 1186s Done 1186s The following NEW packages will be installed: 1186s autopkgtest-satdep 1187s 0 upgraded, 1 newly installed, 0 to remove and 235 not upgraded. 1187s Need to get 0 B/776 B of archives. 1187s After this operation, 0 B of additional disk space will be used. 1187s Get:1 /tmp/autopkgtest.lortaT/4-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 1187s Selecting previously unselected package autopkgtest-satdep. 1187s (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 ... 71178 files and directories currently installed.) 1187s Preparing to unpack .../4-autopkgtest-satdep.deb ... 1187s Unpacking autopkgtest-satdep (0) ... 1187s Setting up autopkgtest-satdep (0) ... 1189s (Reading database ... 71178 files and directories currently installed.) 1189s Removing autopkgtest-satdep (0) ... 1189s autopkgtest [18:42:01]: test closure-refcount: [----------------------- 1189s Running test: glib/closure-refcount.test 1189s TAP version 13 1189s # random seed: R02S24e8a594a7b7b35c0e0102cc0120433d 1189s 1..1 1189s # Start of closure tests 1189s # Init 0x1e6f595ef0a0 1190s # Yielding from main thread 1190s # Yielding from main thread 1190s # Yielding from main thread 1190s # Yielding from thread2 1190s # Yielding from thread1 1190s # Yielding from main thread 1190s # Yielding from main thread 1190s # Yielding from main thread 1190s # Yielding from main thread 1190s # Yielding from thread1 1190s # Yielding from thread2 1190s # Yielding from main thread 1190s # Yielding from main thread 1190s # Yielding from main thread 1190s # Yielding from main thread 1190s # Yielding from thread2 1190s # Yielding from thread1 1190s # Yielding from main thread 1190s # Yielding from main thread 1191s # Yielding from main thread 1191s # Yielding from main thread 1191s # Yielding from thread2 1191s # Yielding from thread1 1191s # Yielding from main thread 1191s # Yielding from main thread 1191s # Yielding from main thread 1191s # Yielding from main thread 1191s # Yielding from thread1 1191s # Yielding from thread2 1191s # Yielding from main thread 1191s # Yielding from main thread 1191s # Yielding from main thread 1191s # Yielding from main thread 1191s # Yielding from thread2 1191s # Yielding from thread1 1191s # Yielding from main thread 1191s # Yielding from main thread 1191s # Yielding from main thread 1191s # Yielding from thread2 1191s # Yielding from main thread 1191s # Yielding from thread1 1192s # Yielding from main thread 1192s # Yielding from main thread 1192s # Yielding from main thread 1192s # Yielding from thread2 1192s # Yielding from thread1 1192s # Yielding from main thread 1192s # Yielding from main thread 1192s # Yielding from main thread 1192s # Yielding from main thread 1192s # Yielding from thread2 1192s # Yielding from thread1 1192s # Yielding from main thread 1192s # Yielding from main thread 1192s # Yielding from main thread 1192s # Yielding from main thread 1192s # Yielding from thread2 1192s # Yielding from thread1 1192s # Yielding from main thread 1192s # Yielding from main thread 1193s # Yielding from main thread 1193s # Yielding from main thread 1193s # Yielding from thread2 1193s # Yielding from thread1 1193s # Yielding from main thread 1193s # Yielding from main thread 1193s # Yielding from main thread 1193s # Yielding from main thread 1193s # Yielding from thread2 1193s # Yielding from thread1 1193s # Yielding from main thread 1193s # Yielding from main thread 1193s # Yielding from main thread 1193s # Yielding from thread2 1193s # Yielding from thread1 1193s # Yielding from main thread 1193s # Yielding from main thread 1193s # Yielding from main thread 1193s # Yielding from main thread 1194s # Yielding from thread2 1194s # Yielding from thread1 1194s # Yielding from main thread 1194s # Yielding from main thread 1194s # Yielding from main thread 1194s # Yielding from main thread 1194s # Yielding from thread2 1194s # Yielding from thread1 1194s # Yielding from main thread 1194s # Yielding from main thread 1194s # Yielding from main thread 1194s # Yielding from main thread 1194s # Yielding from thread2 1194s # Yielding from thread1 1194s # Yielding from main thread 1194s # Yielding from main thread 1194s # Yielding from main thread 1194s # Yielding from main thread 1194s # Yielding from thread2 1194s # Yielding from thread1 1194s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from thread2 1195s # Yielding from thread1 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from thread2 1195s # Yielding from main thread 1195s # Yielding from thread1 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s Executing: glib/closure-refcount.test 1195s # Yielding from thread1 1195s # Yielding from thread2 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from main thread 1195s # Yielding from main thread 1196s # Yielding from thread1 1196s # Yielding from thread2 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from thread1 1196s # Yielding from thread2 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from thread2 1196s # Yielding from thread1 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from main thread 1196s # Yielding from thread2 1196s # Yielding from thread1 1196s # Yielding from main thread 1197s # Yielding from main thread 1197s # Yielding from main thread 1197s # Yielding from main thread 1197s # Yielding from thread2 1197s # Yielding from thread1 1197s # Yielding from main thread 1197s # Yielding from main thread 1197s # Yielding from main thread 1197s # Yielding from thread2 1197s # Stopping 1197s # Stopped 1197s ok 1 /closure/refcount 1197s # slow test /closure/refcount executed in 7.55 secs 1197s # End of closure tests 1197s PASS: glib/closure-refcount.test 1197s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=7.5s; system=0.0s; maxrss=4096 1197s autopkgtest [18:42:09]: test closure-refcount: -----------------------] 1198s autopkgtest [18:42:10]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1198s closure-refcount PASS 1198s autopkgtest [18:42:10]: test debugcontroller: preparing testbed 1200s Reading package lists... 1200s Building dependency tree... 1200s Reading state information... 1200s Starting pkgProblemResolver with broken count: 0 1200s Starting 2 pkgProblemResolver with broken count: 0 1200s Done 1201s The following NEW packages will be installed: 1201s autopkgtest-satdep 1201s 0 upgraded, 1 newly installed, 0 to remove and 235 not upgraded. 1201s Need to get 0 B/776 B of archives. 1201s After this operation, 0 B of additional disk space will be used. 1201s Get:1 /tmp/autopkgtest.lortaT/5-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 1201s Selecting previously unselected package autopkgtest-satdep. 1201s (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 ... 71178 files and directories currently installed.) 1201s Preparing to unpack .../5-autopkgtest-satdep.deb ... 1201s Unpacking autopkgtest-satdep (0) ... 1201s Setting up autopkgtest-satdep (0) ... 1203s (Reading database ... 71178 files and directories currently installed.) 1203s Removing autopkgtest-satdep (0) ... 1203s autopkgtest [18:42:15]: test debugcontroller: [----------------------- 1204s Running test: glib/debugcontroller.test 1204s TAP version 13 1204s # random seed: R02Saf87ccfa3d4f66aaf409d1e1aba09908 1204s 1..3 1204s # Start of debug-controller tests 1204s # Start of dbus tests 1204s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1204s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1204s # GLib-GIO-DEBUG: Debug output enabled 1204s # GLib-GIO-DEBUG: Debug output disabled 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s ok 1 /debug-controller/dbus/basic 1204s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s ok 2 /debug-controller/dbus/duplicate 1204s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1204s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1204s # GLib-GIO-DEBUG: Debug output enabled 1204s # GLib-GIO-DEBUG: Debug output disabled 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1204s ok 3 /debug-controller/dbus/properties 1204s # End of dbus tests 1204s # End of debug-controller tests 1204s PASS: glib/debugcontroller.test 1204s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=10240 1204s autopkgtest [18:42:16]: test debugcontroller: -----------------------] 1204s autopkgtest [18:42:16]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1204s debugcontroller PASS 1205s autopkgtest [18:42:17]: test gdbus-server-auth: preparing testbed 1215s Reading package lists... 1215s Building dependency tree... 1215s Reading state information... 1215s Starting pkgProblemResolver with broken count: 0 1215s Starting 2 pkgProblemResolver with broken count: 0 1215s Done 1216s The following NEW packages will be installed: 1216s autopkgtest-satdep 1216s 0 upgraded, 1 newly installed, 0 to remove and 235 not upgraded. 1216s Need to get 0 B/776 B of archives. 1216s After this operation, 0 B of additional disk space will be used. 1216s Get:1 /tmp/autopkgtest.lortaT/6-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 1216s Selecting previously unselected package autopkgtest-satdep. 1216s (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 ... 71178 files and directories currently installed.) 1216s Preparing to unpack .../6-autopkgtest-satdep.deb ... 1216s Unpacking autopkgtest-satdep (0) ... 1216s Setting up autopkgtest-satdep (0) ... 1217s (Reading database ... 71178 files and directories currently installed.) 1217s Removing autopkgtest-satdep (0) ... 1218s autopkgtest [18:42:30]: test gdbus-server-auth: [----------------------- 1218s Running test: glib/gdbus-server-auth.test 1218s TAP version 13 1218s # random seed: R02S16c40ccffd58bd197be7b495b99f1dd9 1218s 1..9 1218s # Start of gdbus tests 1218s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/.dirs/home 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/.dirs/cache 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/.dirs/system-config2 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/.dirs/config 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/.dirs/system-data2 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/.dirs/data 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/.dirs/state 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/.dirs/runtime 1218s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZPLMK2/gdbus-server-auth-70KMK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1218s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZPLMK2/gdbus-server-auth-70KMK2/dbus-n53F3Yjc 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16268 1218s ok 1 /gdbus/server-auth 1218s # Start of server-auth tests 1218s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/abstract/.dirs/home 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/abstract/.dirs/cache 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/abstract/.dirs/system-config2 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/abstract/.dirs/config 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/abstract/.dirs/system-data2 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/abstract/.dirs/data 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/abstract/.dirs/state 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/abstract/.dirs/runtime 1218s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_ZPLMK2/gdbus-server-auth-JF4JK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1218s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZPLMK2/gdbus-server-auth-JF4JK2/dbus-gBm5HcYH 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16268 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1218s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16268 1218s ok 2 /gdbus/server-auth/abstract 1218s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/tcp/.dirs/home 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/tcp/.dirs/cache 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/tcp/.dirs/system-config2 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/tcp/.dirs/config 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/tcp/.dirs/system-data2 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/tcp/.dirs/data 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/tcp/.dirs/state 1218s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/tcp/.dirs/runtime 1218s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1218s # Connectable address: tcp:host=127.0.0.1,port=37455 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1218s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1218s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1218s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1218s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1218s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1218s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1218s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1218s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1218s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1218s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1218s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1218s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1218s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1219s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1219s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1219s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1219s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1219s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1219s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1219s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1219s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1219s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1219s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1219s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1219s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1219s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1219s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1219s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1219s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1219s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1219s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1219s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1219s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1219s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1219s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1219s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1219s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1219s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1219s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1219s ok 3 /gdbus/server-auth/tcp 1219s # slow test /gdbus/server-auth/tcp executed in 0.89 secs 1219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/anonymous/.dirs/home 1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/anonymous/.dirs/cache 1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/anonymous/.dirs/system-config2 1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/anonymous/.dirs/config 1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/anonymous/.dirs/system-data2 1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/anonymous/.dirs/data 1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/anonymous/.dirs/state 1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/anonymous/.dirs/runtime 1219s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZPLMK2/gdbus-server-auth-A1GNK2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1219s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZPLMK2/gdbus-server-auth-A1GNK2/dbus-NCxuxTsQ 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16268 1219s ok 4 /gdbus/server-auth/anonymous 1219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/external/.dirs/home 1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/external/.dirs/cache 1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/external/.dirs/system-config2 1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/external/.dirs/config 1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/external/.dirs/system-data2 1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/external/.dirs/data 1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/external/.dirs/state 1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/external/.dirs/runtime 1219s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZPLMK2/gdbus-server-auth-CFSNK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1219s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZPLMK2/gdbus-server-auth-CFSNK2/dbus-Npf3kAkI 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1219s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16268 1219s ok 5 /gdbus/server-auth/external 1219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/sha1/.dirs/home 1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/sha1/.dirs/cache 1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/sha1/.dirs/system-config2 1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/sha1/.dirs/config 1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/sha1/.dirs/system-data2 1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/sha1/.dirs/data 1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/sha1/.dirs/state 1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/sha1/.dirs/runtime 1219s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZPLMK2/gdbus-server-auth-D2CLK2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1219s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZPLMK2/gdbus-server-auth-D2CLK2/dbus-dBn0Cj3w 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16268 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1219s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16268 1219s ok 6 /gdbus/server-auth/sha1 1219s # Start of anonymous tests 1219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/anonymous/tcp/.dirs/home 1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/anonymous/tcp/.dirs/cache 1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/anonymous/tcp/.dirs/config 1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/anonymous/tcp/.dirs/data 1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/anonymous/tcp/.dirs/state 1219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1219s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1219s # Connectable address: tcp:host=127.0.0.1,port=36333 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1219s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1219s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1219s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1219s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1220s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1220s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1220s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1220s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1220s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1220s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1220s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1220s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1220s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1220s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1220s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1220s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1220s ok 7 /gdbus/server-auth/anonymous/tcp 1220s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.88 secs 1220s # End of anonymous tests 1220s # Start of external tests 1220s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/external/require-same-user/.dirs/home 1220s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/external/require-same-user/.dirs/cache 1220s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1220s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/external/require-same-user/.dirs/config 1220s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1220s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/external/require-same-user/.dirs/data 1220s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/external/require-same-user/.dirs/state 1220s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/external/require-same-user/.dirs/runtime 1220s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_ZPLMK2/gdbus-server-auth-JJC0K2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1220s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_ZPLMK2/gdbus-server-auth-JJC0K2/dbus-Qf07Coat 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16268 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16268 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16268 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16268 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16268 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16268 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16268 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16268 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16268 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16268 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16268 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16268 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16268 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16268 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16268 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16268 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16268 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16268 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16268 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16268 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1220s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16268,uid=1000,gid=1000 1220s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16268 1220s ok 8 /gdbus/server-auth/external/require-same-user 1220s # End of external tests 1220s # Start of sha1 tests 1220s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/sha1/tcp/.dirs/home 1220s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/sha1/tcp/.dirs/cache 1220s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1220s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/sha1/tcp/.dirs/config 1220s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1220s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/sha1/tcp/.dirs/data 1220s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/sha1/tcp/.dirs/state 1220s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_ZPLMK2/gdbus/server-auth/sha1/tcp/.dirs/runtime 1220s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1220s # Connectable address: tcp:host=127.0.0.1,port=43773 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1220s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1220s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1220s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1220s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1220s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1220s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1220s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1220s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1220s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1220s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1220s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1220s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1220s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1220s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1220s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1220s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1220s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1220s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1220s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1220s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1220s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1220s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1220s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1220s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1220s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1220s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1221s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1221s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1221s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1221s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1221s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1221s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1221s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1221s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1221s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1221s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1221s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1221s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1221s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1221s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1221s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1221s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1221s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1221s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1221s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1221s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1221s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1221s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1221s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1221s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1221s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1221s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1221s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1221s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1221s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1221s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1221s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1221s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1221s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1221s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1221s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1221s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1221s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1221s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1221s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1221s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1221s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1221s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1221s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1221s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1221s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1221s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1221s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1221s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1221s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1221s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1221s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1221s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1221s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1221s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1221s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1221s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1221s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1221s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1221s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1221s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1221s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1221s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1221s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1221s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1221s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1221s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1221s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1221s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1221s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1221s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1221s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1221s ok 9 /gdbus/server-auth/sha1/tcp 1221s # slow test /gdbus/server-auth/sha1/tcp executed in 0.88 secs 1221s # End of sha1 tests 1221s # End of server-auth tests 1221s # End of gdbus tests 1221s PASS: glib/gdbus-server-auth.test 1221s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.0s; maxrss=12288 1221s autopkgtest [18:42:33]: test gdbus-server-auth: -----------------------] 1222s autopkgtest [18:42:34]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1222s gdbus-server-auth PASS 1222s autopkgtest [18:42:34]: test gdbus-threading: preparing testbed 1227s Reading package lists... 1227s Building dependency tree... 1227s Reading state information... 1227s Starting pkgProblemResolver with broken count: 0 1227s Starting 2 pkgProblemResolver with broken count: 0 1227s Done 1227s The following NEW packages will be installed: 1227s autopkgtest-satdep 1227s 0 upgraded, 1 newly installed, 0 to remove and 235 not upgraded. 1227s Need to get 0 B/776 B of archives. 1227s After this operation, 0 B of additional disk space will be used. 1227s Get:1 /tmp/autopkgtest.lortaT/7-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 1228s Selecting previously unselected package autopkgtest-satdep. 1228s (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 ... 71178 files and directories currently installed.) 1228s Preparing to unpack .../7-autopkgtest-satdep.deb ... 1228s Unpacking autopkgtest-satdep (0) ... 1228s Setting up autopkgtest-satdep (0) ... 1229s (Reading database ... 71178 files and directories currently installed.) 1229s Removing autopkgtest-satdep (0) ... 1230s autopkgtest [18:42:42]: test gdbus-threading: [----------------------- 1231s Running test: glib/gdbus-threading.test 1231s TAP version 13 1231s # random seed: R02Sc015b7047e2e868d01ca759f8e92b9d1 1231s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1231s 1..3 1231s # Start of gdbus tests 1231s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_GORWK2/gdbus/delivery-in-thread/.dirs/home 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_GORWK2/gdbus/delivery-in-thread/.dirs/cache 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_GORWK2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_GORWK2/gdbus/delivery-in-thread/.dirs/system-config2 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_GORWK2/gdbus/delivery-in-thread/.dirs/config 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_GORWK2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_GORWK2/gdbus/delivery-in-thread/.dirs/system-data2 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_GORWK2/gdbus/delivery-in-thread/.dirs/data 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_GORWK2/gdbus/delivery-in-thread/.dirs/state 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_GORWK2/gdbus/delivery-in-thread/.dirs/runtime 1231s ok 1 /gdbus/delivery-in-thread 1231s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_GORWK2/gdbus/method-calls-in-thread/.dirs/home 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_GORWK2/gdbus/method-calls-in-thread/.dirs/cache 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_GORWK2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_GORWK2/gdbus/method-calls-in-thread/.dirs/system-config2 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_GORWK2/gdbus/method-calls-in-thread/.dirs/config 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_GORWK2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_GORWK2/gdbus/method-calls-in-thread/.dirs/system-data2 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_GORWK2/gdbus/method-calls-in-thread/.dirs/data 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_GORWK2/gdbus/method-calls-in-thread/.dirs/state 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_GORWK2/gdbus/method-calls-in-thread/.dirs/runtime 1231s ok 2 /gdbus/method-calls-in-thread 1231s # slow test /gdbus/method-calls-in-thread executed in 0.84 secs 1231s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_GORWK2/gdbus/threaded-singleton/.dirs/home 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_GORWK2/gdbus/threaded-singleton/.dirs/cache 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_GORWK2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_GORWK2/gdbus/threaded-singleton/.dirs/system-config2 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_GORWK2/gdbus/threaded-singleton/.dirs/config 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_GORWK2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_GORWK2/gdbus/threaded-singleton/.dirs/system-data2 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_GORWK2/gdbus/threaded-singleton/.dirs/data 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_GORWK2/gdbus/threaded-singleton/.dirs/state 1231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_GORWK2/gdbus/threaded-singleton/.dirs/runtime 1231s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1231s # GLib-GIO-DEBUG: refcount of 0x738ce8003760 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1231s # GLib-GIO-DEBUG: refcount of 0x738ce8003760 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: refcount of 0x738ce8005e40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: refcount of 0x738ce8002510 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: refcount of 0x738ce8005240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: refcount of 0x738ce8005240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: refcount of 0x738ce8005240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: refcount of 0x738ce8005240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: refcount of 0x738ce8005240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: refcount of 0x738ce8005240 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: refcount of 0x738ce8006360 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1232s # GLib-GIO-DEBUG: refcount of 0x738ce8006360 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: refcount of 0x738ce8003e00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: refcount of 0x738ce80046a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: refcount of 0x738ce8006b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: refcount of 0x738ce8002030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1232s # GLib-GIO-DEBUG: refcount of 0x738ce8002030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: refcount of 0x738ce8002030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: refcount of 0x738ce8002030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1232s # GLib-GIO-DEBUG: refcount of 0x738ce8003890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: refcount of 0x738ce8003890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: refcount of 0x738ce8003890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: refcount of 0x738ce8003890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: refcount of 0x738ce8004660 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: refcount of 0x738ce8004660 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: refcount of 0x738ce8004660 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: refcount of 0x738ce8004660 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1233s # GLib-GIO-DEBUG: refcount of 0x738ce8004660 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: refcount of 0x738ce8004660 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: refcount of 0x738ce8004660 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: refcount of 0x738ce8004360 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: refcount of 0x738ce8004360 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: refcount of 0x738ce8006850 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: refcount of 0x738ce8000c70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: refcount of 0x738ce8000c70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: refcount of 0x738ce8000c70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: refcount of 0x738ce8000c70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: refcount of 0x738ce8000c70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1233s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: refcount of 0x738ce8006d50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: refcount of 0x738ce8006d50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: refcount of 0x738ce8006d50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: refcount of 0x738ce8006d50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: refcount of 0x738ce8006d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: refcount of 0x738ce8006510 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: refcount of 0x738ce8006510 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: refcount of 0x738ce80062c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: refcount of 0x738ce8006a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: refcount of 0x738ce8006b90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: refcount of 0x738ce8006b90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: refcount of 0x738ce8006b90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: refcount of 0x738ce8000c70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: refcount of 0x738ce8000c70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1234s # GLib-GIO-DEBUG: refcount of 0x738ce8000c70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x738ce8000c70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x738ce8000c70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x738ce8000c70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x738ce8000c70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x738ce8000c70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x738ce8002ed0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x738ce8002ed0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x738ce8002ed0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x738ce8004320 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x738ce8004320 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x738ce8004320 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x738ce8004320 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x738ce8006b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x738ce8006b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x738ce8006b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x738ce8006b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x738ce8006b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: refcount of 0x738ce8000e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1235s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: refcount of 0x738ce8006320 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: refcount of 0x738ce8006320 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: refcount of 0x738ce8006320 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: refcount of 0x738ce8006320 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: refcount of 0x738ce8006320 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: refcount of 0x738ce8001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: refcount of 0x738ce8001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: refcount of 0x738ce8001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: refcount of 0x738ce8001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: refcount of 0x738ce8007490 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: refcount of 0x738ce80072b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: refcount of 0x738ce80075f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: refcount of 0x738ce80075b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: refcount of 0x738ce8007200 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s Executing: glib/gdbus-threading.test 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: refcount of 0x738ce8006a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1236s # GLib-GIO-DEBUG: refcount of 0x738ce8006a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x738ce8006a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x738ce8006320 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x738ce80075f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x738ce80075f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x738ce80075f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x738ce80075f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x738ce80075f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x738ce80075f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x738ce80075f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x738ce80075f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x738ce80075f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1237s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1237s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: refcount of 0x738ce8007100 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: refcount of 0x738ce8007100 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: refcount of 0x738ce8000f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: refcount of 0x738ce8000f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: refcount of 0x738ce8000f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: refcount of 0x738ce8000f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: refcount of 0x738ce8000f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: refcount of 0x738ce8000ef0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: refcount of 0x738ce8000ef0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: refcount of 0x738ce8007ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: refcount of 0x738ce8007ca0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: refcount of 0x738ce8004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: refcount of 0x738ce8004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1238s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1238s # GLib-GIO-DEBUG: refcount of 0x738ce8004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: refcount of 0x738ce8004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1239s # GLib-GIO-DEBUG: refcount of 0x738ce8004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: refcount of 0x738ce8004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: refcount of 0x738ce8004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: refcount of 0x738ce8002da0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: refcount of 0x738ce8002da0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: refcount of 0x738ce8002da0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1239s # GLib-GIO-DEBUG: refcount of 0x738ce8002da0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: refcount of 0x738ce8004690 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: refcount of 0x738ce8004690 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: refcount of 0x738ce8004690 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: refcount of 0x738ce8004690 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: refcount of 0x738ce8004690 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: refcount of 0x738ce8001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: refcount of 0x738ce8001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1239s # GLib-GIO-DEBUG: refcount of 0x738ce8001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: refcount of 0x738ce8001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1239s # GLib-GIO-DEBUG: refcount of 0x738ce8001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1240s # GLib-GIO-DEBUG: refcount of 0x738ce8001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1240s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1240s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1240s # GLib-GIO-DEBUG: refcount of 0x738ce8007950 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1240s # GLib-GIO-DEBUG: refcount of 0x738ce8007950 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1240s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1240s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1240s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1240s # GLib-GIO-DEBUG: refcount of 0x738ce8004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1240s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1240s # GLib-GIO-DEBUG: refcount of 0x738ce8004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1240s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1240s # GLib-GIO-DEBUG: refcount of 0x738ce8004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1240s # GLib-GIO-DEBUG: refcount of 0x738ce8004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1240s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1240s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1240s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1240s # GLib-GIO-DEBUG: refcount of 0x738ce8004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1240s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1240s # GLib-GIO-DEBUG: refcount of 0x738ce8004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1240s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1240s # GLib-GIO-DEBUG: refcount of 0x738ce8004620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1240s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1240s # GLib-GIO-DEBUG: refcount of 0x738ce8007660 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1240s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1240s # GLib-GIO-DEBUG: refcount of 0x738ce8004cf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1240s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1240s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1240s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1240s # GLib-GIO-DEBUG: refcount of 0x738ce8004cf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1240s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1240s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1240s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1240s # GLib-GIO-DEBUG: refcount of 0x738ce80079b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1240s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1240s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1240s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1240s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1240s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1240s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1240s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1240s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1240s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1240s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1240s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1240s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1240s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1241s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1241s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1241s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1241s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1241s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1241s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1241s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1241s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1241s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1241s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1241s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1241s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1241s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1241s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1241s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1241s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1241s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1241s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1241s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1241s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1241s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1241s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1241s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1241s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1241s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1241s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1241s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1241s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1241s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1241s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1241s Executing: glib/gdbus-threading.test 1241s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1241s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1241s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1241s # GLib-GIO-DEBUG: refcount of 0x738ce8002ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1241s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1241s # GLib-GIO-DEBUG: refcount of 0x738ce8002ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1241s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1241s # GLib-GIO-DEBUG: refcount of 0x738ce8002ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1241s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1241s # GLib-GIO-DEBUG: refcount of 0x738ce8002ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1241s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1241s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1241s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1241s # GLib-GIO-DEBUG: refcount of 0x738ce8002ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1242s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1242s # GLib-GIO-DEBUG: refcount of 0x738ce8004370 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1242s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1242s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1242s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1242s # GLib-GIO-DEBUG: refcount of 0x738ce8004e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1242s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1242s # GLib-GIO-DEBUG: refcount of 0x738ce8004e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1242s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1242s # GLib-GIO-DEBUG: refcount of 0x738ce8004e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1242s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1242s # GLib-GIO-DEBUG: refcount of 0x738ce8004e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1242s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1242s # GLib-GIO-DEBUG: refcount of 0x738ce8004e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1242s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1242s # GLib-GIO-DEBUG: refcount of 0x738ce8004e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1242s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1242s # GLib-GIO-DEBUG: refcount of 0x738ce8004e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1242s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1242s # GLib-GIO-DEBUG: refcount of 0x738ce8004e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1242s # GLib-GIO-DEBUG: refcount of 0x738ce8004e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1242s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1242s # GLib-GIO-DEBUG: refcount of 0x738ce8004e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1242s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1242s # GLib-GIO-DEBUG: refcount of 0x738ce8004e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1242s # GLib-GIO-DEBUG: refcount of 0x738ce8004e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1242s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1242s # GLib-GIO-DEBUG: refcount of 0x738ce8007fb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1242s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1242s # GLib-GIO-DEBUG: refcount of 0x738ce8001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1242s # GLib-GIO-DEBUG: refcount of 0x738ce8001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1242s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1242s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1242s # GLib-GIO-DEBUG: refcount of 0x738ce8001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1242s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1242s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1242s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1242s # GLib-GIO-DEBUG: refcount of 0x738ce8002ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1242s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1242s # GLib-GIO-DEBUG: refcount of 0x738ce8001300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1243s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1243s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1243s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1243s # GLib-GIO-DEBUG: refcount of 0x738ce80072b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1243s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1243s # GLib-GIO-DEBUG: refcount of 0x738ce80072b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1243s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1243s # GLib-GIO-DEBUG: refcount of 0x738ce80072b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1243s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1243s # GLib-GIO-DEBUG: refcount of 0x738ce80072b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1243s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1243s # GLib-GIO-DEBUG: refcount of 0x738ce80072b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1243s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1243s # GLib-GIO-DEBUG: refcount of 0x738ce80072b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1243s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1243s # GLib-GIO-DEBUG: refcount of 0x738ce80072b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1243s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1243s # GLib-GIO-DEBUG: refcount of 0x738ce80072b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1243s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1243s # GLib-GIO-DEBUG: refcount of 0x738ce80072b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1243s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1243s # GLib-GIO-DEBUG: refcount of 0x738ce8007290 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1243s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1243s # GLib-GIO-DEBUG: refcount of 0x738ce8007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1243s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1243s # GLib-GIO-DEBUG: refcount of 0x738ce8007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1243s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1243s # GLib-GIO-DEBUG: refcount of 0x738ce8007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1243s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1243s # GLib-GIO-DEBUG: refcount of 0x738ce8007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1243s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1243s # GLib-GIO-DEBUG: refcount of 0x738ce8007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1243s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1243s # GLib-GIO-DEBUG: refcount of 0x738ce8007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1243s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1243s # GLib-GIO-DEBUG: refcount of 0x738ce8007260 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1243s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1243s # GLib-GIO-DEBUG: refcount of 0x738ce8007180 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: refcount of 0x738ce8007180 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: refcount of 0x738ce8007180 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: refcount of 0x738ce8000e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: refcount of 0x738ce8000e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: refcount of 0x738ce8000e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: refcount of 0x738ce8000e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: refcount of 0x738ce8000e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: refcount of 0x738ce8007c60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: refcount of 0x738ce8007c60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1244s # GLib-GIO-DEBUG: refcount of 0x738ce8007c60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: refcount of 0x738ce8007c60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: refcount of 0x738ce8007c60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: refcount of 0x738ce8007c60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: refcount of 0x738ce8007c60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: refcount of 0x738ce8000f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: refcount of 0x738ce8000f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: refcount of 0x738ce8000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: refcount of 0x738ce8000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1244s # GLib-GIO-DEBUG: refcount of 0x738ce8000e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1245s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1245s # GLib-GIO-DEBUG: refcount of 0x738ce8007170 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1245s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1245s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1245s # GLib-GIO-DEBUG: refcount of 0x738ce8000e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1245s # GLib-GIO-DEBUG: refcount of 0x738ce8000e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1245s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1245s # GLib-GIO-DEBUG: refcount of 0x738ce8000e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1245s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1245s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1245s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1245s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1245s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1245s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1245s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1245s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1245s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1245s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1245s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1245s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1245s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1245s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1245s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1245s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1245s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1245s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1245s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1245s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1245s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1245s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1245s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1245s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1245s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1245s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1245s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1245s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1245s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1245s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: refcount of 0x738ce8002e80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: refcount of 0x738ce8000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: refcount of 0x738ce8000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: refcount of 0x738ce8000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: refcount of 0x738ce8001f00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: refcount of 0x738ce8001f00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: refcount of 0x738ce8001f00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: refcount of 0x738ce8001f00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: refcount of 0x738ce8001f00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: refcount of 0x738ce8001f00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: refcount of 0x738ce8001f00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: refcount of 0x738ce8001f00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: refcount of 0x738ce8001f00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1246s Executing: glib/gdbus-threading.test 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: refcount of 0x738ce8002ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: refcount of 0x738ce8002ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1246s # GLib-GIO-DEBUG: refcount of 0x738ce8002ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: refcount of 0x738ce8002ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: refcount of 0x738ce8002ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: refcount of 0x738ce8002ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: refcount of 0x738ce8002ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: refcount of 0x738ce8007180 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: refcount of 0x738ce8007180 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: refcount of 0x738ce8007180 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: refcount of 0x738ce8007e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1247s # GLib-GIO-DEBUG: refcount of 0x738ce8007e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1247s # GLib-GIO-DEBUG: refcount of 0x738ce8007e10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: refcount of 0x738ce8000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: refcount of 0x738ce8008130 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: refcount of 0x738ce8000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: refcount of 0x738ce8000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1247s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: refcount of 0x738ce8007d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: refcount of 0x738ce8000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: refcount of 0x738ce8007d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1248s # GLib-GIO-DEBUG: refcount of 0x738ce8007d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: refcount of 0x738ce8007d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: refcount of 0x738ce8007d30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: refcount of 0x738ce8004e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: refcount of 0x738ce8001f50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: refcount of 0x738ce8006510 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: refcount of 0x738ce8008080 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: refcount of 0x738ce8008080 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: refcount of 0x738ce8008080 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: refcount of 0x738ce8008080 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: refcount of 0x738ce8008080 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1248s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1248s # GLib-GIO-DEBUG: refcount of 0x738ce8008080 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1249s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1249s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1249s # GLib-GIO-DEBUG: refcount of 0x738ce8008080 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1249s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1249s # GLib-GIO-DEBUG: refcount of 0x738ce8008080 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1249s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1249s # GLib-GIO-DEBUG: refcount of 0x738ce8008080 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1249s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1249s # GLib-GIO-DEBUG: refcount of 0x738ce8008080 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1249s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1249s # GLib-GIO-DEBUG: refcount of 0x738ce8006a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1249s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1249s # GLib-GIO-DEBUG: refcount of 0x738ce8006a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1249s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1249s # GLib-GIO-DEBUG: refcount of 0x738ce8006a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1249s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1249s # GLib-GIO-DEBUG: refcount of 0x738ce8006a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1249s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1249s # GLib-GIO-DEBUG: refcount of 0x738ce8006a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1249s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1249s # GLib-GIO-DEBUG: refcount of 0x738ce8006a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1249s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1249s # GLib-GIO-DEBUG: refcount of 0x738ce8006a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1249s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1249s # GLib-GIO-DEBUG: refcount of 0x738ce8006a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1249s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1249s # GLib-GIO-DEBUG: refcount of 0x738ce8007100 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1249s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1249s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1249s # GLib-GIO-DEBUG: refcount of 0x738ce8002520 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1249s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1249s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1249s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1249s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1249s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1249s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1249s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1249s # GLib-GIO-DEBUG: refcount of 0x738ce8007280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1249s # GLib-GIO-DEBUG: refcount of 0x738ce8007280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1249s # GLib-GIO-DEBUG: refcount of 0x738ce8007280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1249s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1249s # GLib-GIO-DEBUG: refcount of 0x738ce8007280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: refcount of 0x738ce8007f90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1250s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1250s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1251s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1251s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1251s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1251s # GLib-GIO-DEBUG: refcount of 0x738ce8004da0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1251s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1251s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1251s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1251s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1251s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1251s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1251s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1251s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1251s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1251s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1251s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1251s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1251s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1251s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1251s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1251s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1251s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1251s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1251s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1251s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1251s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1251s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1251s Executing: glib/gdbus-threading.test 1251s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1251s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1251s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1251s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1251s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1251s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1251s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1251s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1251s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1251s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1251s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1251s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1251s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1252s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1252s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1252s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1253s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1253s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1253s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1253s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1253s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1253s # GLib-GIO-DEBUG: refcount of 0x738ce8000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1253s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1253s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1253s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1253s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1253s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1253s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1253s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1253s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1253s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1253s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1253s # GLib-GIO-DEBUG: refcount of 0x738ce8008660 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1253s # GLib-GIO-DEBUG: refcount of 0x738ce8008520 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1253s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1253s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: refcount of 0x738ce8007100 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1254s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: refcount of 0x738ce8008010 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1254s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1254s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # GLib-GIO-DEBUG: refcount of 0x738ce80023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1255s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1255s # GLib-GIO-DEBUG: refcount of 0x738ce8003860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1255s ok 3 /gdbus/threaded-singleton 1255s # slow test /gdbus/threaded-singleton executed in 24.01 secs 1255s # End of gdbus tests 1255s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1255s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1255s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1255s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1255s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1255s PASS: glib/gdbus-threading.test 1255s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.8s; system=0.3s; maxrss=8192 1256s autopkgtest [18:43:08]: test gdbus-threading: -----------------------] 1256s autopkgtest [18:43:08]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1256s gdbus-threading PASS 1257s autopkgtest [18:43:09]: test gmenumodel: preparing testbed 1267s Reading package lists... 1267s Building dependency tree... 1267s Reading state information... 1267s Starting pkgProblemResolver with broken count: 0 1267s Starting 2 pkgProblemResolver with broken count: 0 1267s Done 1267s The following NEW packages will be installed: 1267s autopkgtest-satdep 1267s 0 upgraded, 1 newly installed, 0 to remove and 235 not upgraded. 1267s Need to get 0 B/780 B of archives. 1267s After this operation, 0 B of additional disk space will be used. 1267s Get:1 /tmp/autopkgtest.lortaT/8-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [780 B] 1268s Selecting previously unselected package autopkgtest-satdep. 1268s (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 ... 71178 files and directories currently installed.) 1268s Preparing to unpack .../8-autopkgtest-satdep.deb ... 1268s Unpacking autopkgtest-satdep (0) ... 1268s Setting up autopkgtest-satdep (0) ... 1269s (Reading database ... 71178 files and directories currently installed.) 1269s Removing autopkgtest-satdep (0) ... 1270s autopkgtest [18:43:22]: test gmenumodel: [----------------------- 1270s Running test: glib/gmenumodel.test 1270s TAP version 13 1270s # random seed: R02S578f1bd70699b0c692799b5d57d01634 1270s 1..14 1270s # Start of gmenu tests 1272s ok 1 /gmenu/equality 1272s # slow test /gmenu/equality executed in 1.80 secs 1274s ok 2 /gmenu/random 1274s # slow test /gmenu/random executed in 2.06 secs 1274s ok 3 /gmenu/attributes 1274s ok 4 /gmenu/links 1274s ok 5 /gmenu/mutable 1274s ok 6 /gmenu/convenience 1274s ok 7 /gmenu/menuitem 1274s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1274s ok 8 /gmenu/input-validation 1274s # Start of dbus tests 1274s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1275s Executing: glib/gmenumodel.test 1275s ok 9 /gmenu/dbus/roundtrip 1275s # slow test /gmenu/dbus/roundtrip executed in 1.06 secs 1276s ok 10 /gmenu/dbus/subscriptions 1278s ok 11 /gmenu/dbus/threaded 1278s # slow test /gmenu/dbus/threaded executed in 2.41 secs 1278s # Start of peer tests 1279s ok 12 /gmenu/dbus/peer/roundtrip 1279s # slow test /gmenu/dbus/peer/roundtrip executed in 1.06 secs 1280s ok 13 /gmenu/dbus/peer/subscriptions 1280s # End of peer tests 1280s # End of dbus tests 1280s # Start of attributes tests 1280s ok 14 /gmenu/attributes/iterate 1280s # End of attributes tests 1280s # End of gmenu tests 1280s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1280s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1280s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1280s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1280s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1280s PASS: glib/gmenumodel.test 1280s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=6.5s; system=0.1s; maxrss=22528 1280s autopkgtest [18:43:32]: test gmenumodel: -----------------------] 1281s autopkgtest [18:43:33]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1281s gmenumodel PASS 1281s autopkgtest [18:43:33]: test mainloop: preparing testbed 1284s Reading package lists... 1284s Building dependency tree... 1284s Reading state information... 1284s Starting pkgProblemResolver with broken count: 0 1284s Starting 2 pkgProblemResolver with broken count: 0 1284s Done 1284s The following NEW packages will be installed: 1284s autopkgtest-satdep 1284s 0 upgraded, 1 newly installed, 0 to remove and 235 not upgraded. 1284s Need to get 0 B/776 B of archives. 1284s After this operation, 0 B of additional disk space will be used. 1284s Get:1 /tmp/autopkgtest.lortaT/9-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 1285s Selecting previously unselected package autopkgtest-satdep. 1285s (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 ... 71178 files and directories currently installed.) 1285s Preparing to unpack .../9-autopkgtest-satdep.deb ... 1285s Unpacking autopkgtest-satdep (0) ... 1285s Setting up autopkgtest-satdep (0) ... 1286s (Reading database ... 71178 files and directories currently installed.) 1286s Removing autopkgtest-satdep (0) ... 1287s autopkgtest [18:43:39]: test mainloop: [----------------------- 1287s Running test: glib/mainloop.test 1287s TAP version 13 1287s # random seed: R02S3db26c4a0a896f147f23f6eb3392aaa3 1287s 1..45 1287s # Start of maincontext tests 1287s ok 1 /maincontext/basic 1287s # Add same-priority sources: 19 1287s # Find each source: 8 1287s # Remove in random order: 30 1287s ok 2 /maincontext/nsources_same_priority 1287s # Add different-priority sources: 22 1287s # Find each source: 7 1287s # Remove in random order: 33 1287s ok 3 /maincontext/nsources_different_priority 1288s # Add sources from threads: 264 1288s # Remove sources from threads: 33 1288s ok 4 /maincontext/nsources_threadpool 1288s ok 5 /maincontext/source_finalization 1288s # /maincontext/idle-once summary: Test g_idle_add_once() works 1288s ok 6 /maincontext/idle-once 1288s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1288s ok 7 /maincontext/timeout-once 1288s # Start of source_finalization_from_source tests 1288s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1288s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1288s ok 8 /maincontext/source_finalization_from_source/0 1288s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1288s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1288s ok 9 /maincontext/source_finalization_from_source/1 1288s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1288s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1288s ok 10 /maincontext/source_finalization_from_source/2 1288s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1288s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1288s ok 11 /maincontext/source_finalization_from_source/3 1288s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1288s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1288s ok 12 /maincontext/source_finalization_from_source/4 1288s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1288s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1288s ok 13 /maincontext/source_finalization_from_source/5 1288s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1288s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1288s ok 14 /maincontext/source_finalization_from_source/6 1288s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1288s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1288s ok 15 /maincontext/source_finalization_from_source/7 1288s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1288s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1288s ok 16 /maincontext/source_finalization_from_source/8 1288s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1288s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1288s ok 17 /maincontext/source_finalization_from_source/9 1288s # End of source_finalization_from_source tests 1288s # Start of source_finalization_from_dispatch tests 1288s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1288s ok 18 /maincontext/source_finalization_from_dispatch/0 1288s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1288s ok 19 /maincontext/source_finalization_from_dispatch/1 1288s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1288s ok 20 /maincontext/source_finalization_from_dispatch/2 1288s # End of source_finalization_from_dispatch tests 1288s # End of maincontext tests 1288s # Start of mainloop tests 1288s ok 21 /mainloop/basic 1288s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1288s ok 23 /mainloop/priorities 1288s ok 24 /mainloop/invoke 1288s # slow test /mainloop/invoke executed in 0.50 secs 1289s ok 25 /mainloop/child_sources 1289s # slow test /mainloop/child_sources executed in 1.17 secs 1292s ok 26 /mainloop/recursive_child_sources 1292s # slow test /mainloop/recursive_child_sources executed in 2.15 secs 1292s ok 27 /mainloop/recursive_loop_child_sources 1292s ok 28 /mainloop/swapping_child_sources 1292s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1292s ok 29 /mainloop/blocked_child_sources 1292s Executing: glib/mainloop.test 1293s ok 30 /mainloop/source_time 1293s # slow test /mainloop/source_time executed in 1.00 secs 1293s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1293s ok 31 /mainloop/overflow 1293s ok 32 /mainloop/ready-time 1293s # slow test /mainloop/ready-time executed in 0.50 secs 1293s ok 33 /mainloop/wakeup 1293s ok 34 /mainloop/remove-invalid 1293s ok 35 /mainloop/unref-while-pending 1295s ok 36 /mainloop/unix-fd 1295s # slow test /mainloop/unix-fd executed in 1.34 secs 1295s ok 37 /mainloop/unix-fd-source 1295s ok 38 /mainloop/source-unix-fd-api 1295s ok 39 /mainloop/wait 1295s ok 40 /mainloop/unix-file-poll 1295s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1295s ok 41 /mainloop/unix-fd-priority 1295s ok 42 /mainloop/nfds 1295s ok 43 /mainloop/steal-fd 1295s # Start of ownerless-polling tests 1295s ok 44 /mainloop/ownerless-polling/attach-first 1295s ok 45 /mainloop/ownerless-polling/pop-first 1295s # End of ownerless-polling tests 1295s # End of mainloop tests 1295s PASS: glib/mainloop.test 1295s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.9s; system=1.1s; maxrss=18432 1295s autopkgtest [18:43:47]: test mainloop: -----------------------] 1296s mainloop PASS 1296s autopkgtest [18:43:48]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1296s autopkgtest [18:43:48]: test memory-monitor-dbus: preparing testbed 1305s Reading package lists... 1305s Building dependency tree... 1305s Reading state information... 1305s Starting pkgProblemResolver with broken count: 0 1305s Starting 2 pkgProblemResolver with broken count: 0 1305s Done 1306s The following NEW packages will be installed: 1306s autopkgtest-satdep 1306s 0 upgraded, 1 newly installed, 0 to remove and 235 not upgraded. 1306s Need to get 0 B/776 B of archives. 1306s After this operation, 0 B of additional disk space will be used. 1306s Get:1 /tmp/autopkgtest.lortaT/10-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 1306s Selecting previously unselected package autopkgtest-satdep. 1306s (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 ... 71178 files and directories currently installed.) 1306s Preparing to unpack .../10-autopkgtest-satdep.deb ... 1306s Unpacking autopkgtest-satdep (0) ... 1306s Setting up autopkgtest-satdep (0) ... 1308s (Reading database ... 71178 files and directories currently installed.) 1308s Removing autopkgtest-satdep (0) ... 1308s autopkgtest [18:44:00]: test memory-monitor-dbus: [----------------------- 1308s Running test: glib/memory-monitor-dbus.test 1309s TAP version 13 1309s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1309s # Received memory warning signal, level 1309s # Received memory warning signal, level 1309s # Received memory warning signal, level 1309s 1..1 1309s PASS: glib/memory-monitor-dbus.test 1309s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=32768 1309s autopkgtest [18:44:01]: test memory-monitor-dbus: -----------------------] 1310s memory-monitor-dbus PASS 1310s autopkgtest [18:44:02]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1310s autopkgtest [18:44:02]: test socket: preparing testbed 1314s Reading package lists... 1314s Building dependency tree... 1314s Reading state information... 1315s Starting pkgProblemResolver with broken count: 0 1315s Starting 2 pkgProblemResolver with broken count: 0 1315s Done 1315s The following NEW packages will be installed: 1315s autopkgtest-satdep 1315s 0 upgraded, 1 newly installed, 0 to remove and 235 not upgraded. 1315s Need to get 0 B/780 B of archives. 1315s After this operation, 0 B of additional disk space will be used. 1315s Get:1 /tmp/autopkgtest.lortaT/11-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [780 B] 1315s Selecting previously unselected package autopkgtest-satdep. 1315s (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 ... 71178 files and directories currently installed.) 1315s Preparing to unpack .../11-autopkgtest-satdep.deb ... 1315s Unpacking autopkgtest-satdep (0) ... 1315s Setting up autopkgtest-satdep (0) ... 1317s (Reading database ... 71178 files and directories currently installed.) 1317s Removing autopkgtest-satdep (0) ... 1317s autopkgtest [18:44:09]: test socket: [----------------------- 1318s Running test: glib/socket.test 1318s TAP version 13 1318s # random seed: R02Sa553817638965f9197e741a0d757158a 1318s 1..28 1318s # Start of socket tests 1319s ok 1 /socket/ipv4_sync 1319s # slow test /socket/ipv4_sync executed in 1.00 secs 1320s ok 2 /socket/ipv4_async 1320s # slow test /socket/ipv4_async executed in 1.00 secs 1320s ok 3 /socket/ipv6_sync 1320s ok 4 /socket/ipv6_async 1320s ok 5 /socket/ipv6_v4mapped 1321s ok 6 /socket/close_graceful 1321s # slow test /socket/close_graceful executed in 1.00 secs 1321s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1321s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1321s ok 8 /socket/fd_reuse 1321s ok 9 /socket/address 1321s ok 10 /socket/unix-from-fd 1321s ok 11 /socket/unix-connection 1321s ok 12 /socket/unix-connection-ancillary-data 1321s ok 13 /socket/source-postmortem 1321s ok 14 /socket/read_write 1321s ok 15 /socket/read_writev 1321s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1321s ok 16 /socket/receive_bytes 1321s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1321s ok 17 /socket/receive_bytes_from 1321s # Start of ipv4_sync tests 1321s ok 18 /socket/ipv4_sync/datagram 1321s # Start of datagram tests 1322s ok 19 /socket/ipv4_sync/datagram/timeouts 1322s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1322s # End of datagram tests 1322s # End of ipv4_sync tests 1322s # Start of ipv6_sync tests 1322s ok 20 /socket/ipv6_sync/datagram 1322s # Start of datagram tests 1323s ok 21 /socket/ipv6_sync/datagram/timeouts 1323s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1323s # End of datagram tests 1323s # End of ipv6_sync tests 1323s # Start of reuse tests 1323s ok 22 /socket/reuse/tcp 1323s ok 23 /socket/reuse/udp 1323s # End of reuse tests 1323s # Start of get_available tests 1323s ok 24 /socket/get_available/datagram 1323s ok 25 /socket/get_available/stream 1323s # End of get_available tests 1323s # Start of credentials tests 1323s # Supported on this OS: GCredentials:linux-ucred:pid=0 1323s ok 26 /socket/credentials/tcp_client 1323s # Supported on this OS: GCredentials:linux-ucred:pid=0 1323s ok 27 /socket/credentials/tcp_server 1323s # Supported on this OS: GCredentials:linux-ucred:pid=18619,uid=1000,gid=1000 1323s ok 28 /socket/credentials/unix_socketpair 1323s # End of credentials tests 1323s # End of socket tests 1323s PASS: glib/socket.test 1323s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1323s autopkgtest [18:44:15]: test socket: -----------------------] 1324s autopkgtest [18:44:16]: test socket: - - - - - - - - - - results - - - - - - - - - - 1324s socket PASS 1324s autopkgtest [18:44:16]: test testfilemonitor: preparing testbed 1328s Reading package lists... 1328s Building dependency tree... 1328s Reading state information... 1329s Starting pkgProblemResolver with broken count: 0 1329s Starting 2 pkgProblemResolver with broken count: 0 1329s Done 1329s The following NEW packages will be installed: 1329s autopkgtest-satdep 1329s 0 upgraded, 1 newly installed, 0 to remove and 235 not upgraded. 1329s Need to get 0 B/772 B of archives. 1329s After this operation, 0 B of additional disk space will be used. 1329s Get:1 /tmp/autopkgtest.lortaT/12-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [772 B] 1329s Selecting previously unselected package autopkgtest-satdep. 1329s (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 ... 71178 files and directories currently installed.) 1329s Preparing to unpack .../12-autopkgtest-satdep.deb ... 1329s Unpacking autopkgtest-satdep (0) ... 1329s Setting up autopkgtest-satdep (0) ... 1331s (Reading database ... 71178 files and directories currently installed.) 1331s Removing autopkgtest-satdep (0) ... 1332s autopkgtest [18:44:24]: test testfilemonitor: [----------------------- 1332s Running test: glib/testfilemonitor.test 1332s TAP version 13 1332s # random seed: R02Saa5689fc959acf042fcf6b85335c6ecc 1332s 1..8 1332s # Start of monitor tests 1332s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1332s # Using temporary directory: /tmp/gio-test-testfilemonitor_5B03K2 1332s # Using GFileMonitor GInotifyFileMonitor 1334s ok 1 /monitor/atomic-replace 1334s # slow test /monitor/atomic-replace executed in 2.00 secs 1334s # Using temporary directory: /tmp/gio-test-testfilemonitor_6I33K2 1334s # Using GFileMonitor GInotifyFileMonitor 1336s ok 2 /monitor/file-changes 1336s # slow test /monitor/file-changes executed in 2.50 secs 1336s # Using temporary directory: /tmp/gio-test-testfilemonitor_NRESK2 1336s # Using GFileMonitor GInotifyFileMonitor 1337s Executing: glib/testfilemonitor.test 1340s ok 3 /monitor/dir-monitor 1340s # slow test /monitor/dir-monitor executed in 3.51 secs 1340s # Using temporary directory: /tmp/gio-test-testfilemonitor_4ZE4K2 1340s # Using GFileMonitor GInotifyFileMonitor 1342s Executing: glib/testfilemonitor.test 1347s Executing: glib/testfilemonitor.test 1352s Executing: glib/testfilemonitor.test 1357s Executing: glib/testfilemonitor.test 1362s Executing: glib/testfilemonitor.test 1365s ok 4 /monitor/dir-not-existent 1365s # slow test /monitor/dir-not-existent executed in 25.03 secs 1365s # Using temporary directory: /tmp/gio-test-testfilemonitor_DEK4K2 1365s # Using GFileMonitor 0 GInotifyFileMonitor 1365s # Using GFileMonitor 1 GInotifyFileMonitor 1367s ok 5 /monitor/cross-dir-moves 1367s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1367s # Using temporary directory: /tmp/gio-test-testfilemonitor_GEO4K2 1367s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1367s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1367s ok 6 /monitor/finalize-in-callback 1367s # Using temporary directory: /tmp/gio-test-testfilemonitor_NSD2K2 1367s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1367s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1367s ok 7 /monitor/root 1367s # Start of file tests 1367s # Using temporary directory: /tmp/gio-test-testfilemonitor_DED2K2 1367s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1367s # Running with hard link tests 1367s # Using GFileMonitor GInotifyFileMonitor 1367s Executing: glib/testfilemonitor.test 1370s # Event 0 at expected index 7 skipped because it is marked as optional 1370s # Event 2 at expected index 11 skipped because it is marked as optional 1370s ok 8 /monitor/file/hard-links 1370s # slow test /monitor/file/hard-links executed in 3.51 secs 1370s # End of file tests 1370s # End of monitor tests 1370s PASS: glib/testfilemonitor.test 1370s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1371s autopkgtest [18:45:03]: test testfilemonitor: -----------------------] 1371s testfilemonitor PASS 1371s autopkgtest [18:45:03]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1372s autopkgtest [18:45:04]: test thread-pool-slow: preparing testbed 1376s Reading package lists... 1376s Building dependency tree... 1376s Reading state information... 1376s Starting pkgProblemResolver with broken count: 0 1376s Starting 2 pkgProblemResolver with broken count: 0 1376s Done 1376s The following NEW packages will be installed: 1376s autopkgtest-satdep 1376s 0 upgraded, 1 newly installed, 0 to remove and 235 not upgraded. 1376s Need to get 0 B/776 B of archives. 1376s After this operation, 0 B of additional disk space will be used. 1376s Get:1 /tmp/autopkgtest.lortaT/13-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 1377s Selecting previously unselected package autopkgtest-satdep. 1377s (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 ... 71178 files and directories currently installed.) 1377s Preparing to unpack .../13-autopkgtest-satdep.deb ... 1377s Unpacking autopkgtest-satdep (0) ... 1377s Setting up autopkgtest-satdep (0) ... 1378s (Reading database ... 71178 files and directories currently installed.) 1378s Removing autopkgtest-satdep (0) ... 1379s autopkgtest [18:45:11]: test thread-pool-slow: [----------------------- 1379s Running test: glib/thread-pool-slow.test 1379s TAP version 13 1379s # random seed: R02S2066c92f01fb08083c353936e09b6feb 1379s 1..7 1379s # Start of threadpool tests 1379s ok 1 /threadpool/functions 1380s ok 2 /threadpool/stop-unused 1380s # slow test /threadpool/stop-unused executed in 0.51 secs 1380s ok 3 /threadpool/pools 1380s # [unsorted] ===> pushed new thread with id:22, number of threads:1, unprocessed:0 1380s # [unsorted] ===> pushed new thread with id:38, number of threads:2, unprocessed:1 1380s # [unsorted] ===> pushed new thread with id:70, number of threads:3, unprocessed:2 1380s # [unsorted] ===> pushed new thread with id:85, number of threads:4, unprocessed:3 1380s # [unsorted] ===> pushed new thread with id:84, number of threads:5, unprocessed:4 1380s # [unsorted] ===> pushed new thread with id:94, number of threads:6, unprocessed:5 1380s # [unsorted] ===> pushed new thread with id:10, number of threads:7, unprocessed:6 1380s # [unsorted] ===> pushed new thread with id:19, number of threads:8, unprocessed:7 1380s # [unsorted] ===> pushed new thread with id:99, number of threads:9, unprocessed:8 1380s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:0 1380s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:1 1380s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:2 1380s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:3 1380s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:4 1380s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:5 1380s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:6 1380s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:7 1380s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:8 1380s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:9 1380s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:10 1380s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:11 1380s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:12 1380s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:13 1380s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:14 1380s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:15 1380s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:16 1380s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:17 1380s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:18 1380s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:19 1380s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:20 1380s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:21 1380s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:22 1380s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:23 1380s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:24 1380s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:25 1380s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:26 1380s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:27 1380s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:28 1380s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:29 1380s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:30 1380s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:31 1380s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:32 1380s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:33 1380s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:34 1380s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:35 1380s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:36 1380s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:37 1380s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:38 1380s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:39 1380s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:40 1380s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:41 1380s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:42 1380s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:43 1380s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:44 1380s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:45 1380s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:46 1380s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:47 1380s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:48 1380s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:49 1380s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:50 1380s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:51 1380s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:52 1380s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:53 1380s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:54 1380s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:55 1380s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:56 1380s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:57 1380s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:58 1380s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:59 1380s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:60 1380s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:61 1380s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:62 1380s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:63 1380s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:64 1380s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:65 1380s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:66 1380s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:67 1380s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:68 1380s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:69 1380s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:70 1380s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:71 1380s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:72 1380s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:73 1380s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:74 1380s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:75 1380s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:76 1380s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:77 1380s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:78 1380s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:79 1380s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:80 1380s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:81 1380s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:82 1380s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:83 1380s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:84 1380s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:85 1380s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:86 1380s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:87 1380s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:88 1380s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:89 1380s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:90 1380s ok 4 /threadpool/no-sort 1380s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:1 1380s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:2 1380s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:3 1380s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:4 1380s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:5 1380s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:6 1380s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:7 1380s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:8 1380s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:9 1380s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:10 1380s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:11 1380s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:12 1380s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:13 1380s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:14 1380s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:15 1380s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:16 1380s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:17 1380s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:18 1380s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:19 1380s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:20 1380s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:21 1380s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:22 1380s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:23 1380s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:24 1380s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:25 1380s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:26 1380s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:27 1380s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:28 1380s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:29 1380s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:30 1380s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:31 1380s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:32 1380s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:33 1380s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:34 1380s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:35 1380s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:36 1380s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:37 1380s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:38 1380s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:39 1380s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:40 1380s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:41 1380s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:42 1380s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:43 1380s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:44 1380s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:45 1380s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:46 1380s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:47 1380s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:48 1380s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:49 1380s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:50 1380s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:51 1380s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:52 1380s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:53 1380s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:54 1380s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:55 1380s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:56 1380s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:57 1380s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:58 1380s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:59 1380s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:60 1380s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:61 1380s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:62 1380s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:63 1380s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:64 1380s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:65 1380s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:66 1380s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:67 1380s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:68 1380s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:69 1380s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:70 1380s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:71 1380s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:72 1380s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:73 1380s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:74 1380s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:75 1380s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:76 1380s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:77 1380s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:78 1380s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:79 1380s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:80 1380s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:81 1380s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:82 1380s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:83 1380s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:84 1380s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:85 1380s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:86 1380s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:87 1380s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:88 1380s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:89 1380s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:90 1380s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:91 1380s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:92 1380s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:93 1380s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:94 1380s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:95 1380s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:96 1380s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:97 1380s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:98 1380s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:99 1380s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:100 1380s # Starting thread pool processing 1380s ok 5 /threadpool/sort 1380s ok 6 /threadpool/stop-unused-multiple 1380s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1380s # Pool idle thread count: 0, unprocessed jobs: 43 1381s # Pool idle thread count: 0, unprocessed jobs: 0 1381s # Pool idle thread count: 0, unprocessed jobs: 0 1381s # Pool idle thread count: 10, unprocessed jobs: 0 1381s # Pool idle thread count: 10, unprocessed jobs: 0 1382s # Pool idle thread count: 10, unprocessed jobs: 0 1382s # Pool idle thread count: 10, unprocessed jobs: 0 1382s # Pool idle thread count: 10, unprocessed jobs: 0 1382s # Pool idle thread count: 10, unprocessed jobs: 0 1383s # Pool idle thread count: 10, unprocessed jobs: 0 1383s # Pool idle thread count: 10, unprocessed jobs: 0 1383s # Pool idle thread count: 10, unprocessed jobs: 0 1383s # Pool idle thread count: 10, unprocessed jobs: 0 1384s # Pool idle thread count: 10, unprocessed jobs: 0 1384s # Pool idle thread count: 10, unprocessed jobs: 0 1384s Executing: glib/thread-pool-slow.test 1384s # Pool idle thread count: 10, unprocessed jobs: 0 1384s # Pool idle thread count: 10, unprocessed jobs: 0 1385s # Pool idle thread count: 10, unprocessed jobs: 0 1385s # Pool idle thread count: 10, unprocessed jobs: 0 1385s # Pool idle thread count: 10, unprocessed jobs: 0 1385s # Pool idle thread count: 10, unprocessed jobs: 0 1386s # Pool idle thread count: 10, unprocessed jobs: 0 1386s # Pool idle thread count: 10, unprocessed jobs: 0 1387s # Pool idle thread count: 10, unprocessed jobs: 0 1387s # Pool idle thread count: 10, unprocessed jobs: 0 1387s # Pool idle thread count: 10, unprocessed jobs: 0 1387s # Pool idle thread count: 10, unprocessed jobs: 0 1387s # Pool idle thread count: 10, unprocessed jobs: 0 1387s # Pool idle thread count: 10, unprocessed jobs: 0 1388s # Pool idle thread count: 10, unprocessed jobs: 0 1388s # Pool idle thread count: 10, unprocessed jobs: 0 1388s # Pool idle thread count: 10, unprocessed jobs: 0 1388s # Pool idle thread count: 10, unprocessed jobs: 0 1389s # Pool idle thread count: 10, unprocessed jobs: 0 1389s # Pool idle thread count: 10, unprocessed jobs: 0 1389s Executing: glib/thread-pool-slow.test 1389s # Pool idle thread count: 10, unprocessed jobs: 2 1389s # Pool idle thread count: 10, unprocessed jobs: 2 1389s # Pool idle thread count: 8, unprocessed jobs: 0 1389s # Pool idle thread count: 8, unprocessed jobs: 0 1390s # Pool idle thread count: 10, unprocessed jobs: 0 1390s # Pool idle thread count: 10, unprocessed jobs: 0 1390s # Pool idle thread count: 10, unprocessed jobs: 0 1390s # Pool idle thread count: 10, unprocessed jobs: 0 1391s # Pool idle thread count: 10, unprocessed jobs: 0 1391s # Pool idle thread count: 10, unprocessed jobs: 0 1391s # Pool idle thread count: 2, unprocessed jobs: 0 1391s # Pool idle thread count: 2, unprocessed jobs: 0 1392s # Pool idle thread count: 2, unprocessed jobs: 0 1392s # Pool idle thread count: 2, unprocessed jobs: 0 1392s # Pool idle thread count: 2, unprocessed jobs: 0 1392s # Pool idle thread count: 2, unprocessed jobs: 0 1394s # Pool idle thread count: 2, unprocessed jobs: 0 1395s # Pool idle thread count: 2, unprocessed jobs: 0 1395s # Pool idle thread count: 2, unprocessed jobs: 0 1395s # Pool idle thread count: 2, unprocessed jobs: 0 1395s # Pool idle thread count: 2, unprocessed jobs: 0 1395s # Pool idle thread count: 2, unprocessed jobs: 0 1395s Executing: glib/thread-pool-slow.test 1395s # Pool idle thread count: 2, unprocessed jobs: 0 1395s # Pool idle thread count: 2, unprocessed jobs: 0 1395s # Pool idle thread count: 2, unprocessed jobs: 0 1395s # Pool idle thread count: 2, unprocessed jobs: 0 1395s # Pool idle thread count: 2, unprocessed jobs: 0 1395s # Pool idle thread count: 2, unprocessed jobs: 0 1396s # Pool idle thread count: 2, unprocessed jobs: 0 1396s # Pool idle thread count: 2, unprocessed jobs: 0 1396s # Pool idle thread count: 2, unprocessed jobs: 0 1396s # Pool idle thread count: 2, unprocessed jobs: 0 1397s # Pool idle thread count: 2, unprocessed jobs: 0 1397s # Pool idle thread count: 2, unprocessed jobs: 0 1397s # Pool idle thread count: 2, unprocessed jobs: 0 1397s # Pool idle thread count: 2, unprocessed jobs: 0 1398s # Pool idle thread count: 2, unprocessed jobs: 0 1398s # Pool idle thread count: 2, unprocessed jobs: 0 1398s # Pool idle thread count: 2, unprocessed jobs: 0 1398s # Pool idle thread count: 2, unprocessed jobs: 0 1399s # Pool idle thread count: 2, unprocessed jobs: 0 1399s # Pool idle thread count: 2, unprocessed jobs: 0 1399s Executing: glib/thread-pool-slow.test 1399s # Pool idle thread count: 2, unprocessed jobs: 0 1399s # Pool idle thread count: 2, unprocessed jobs: 0 1400s ok 7 /threadpool/idle-time 1400s # slow test /threadpool/idle-time executed in 19.53 secs 1400s # End of threadpool tests 1400s PASS: glib/thread-pool-slow.test 1400s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=8192 1400s autopkgtest [18:45:32]: test thread-pool-slow: -----------------------] 1401s thread-pool-slow PASS 1401s autopkgtest [18:45:33]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1401s autopkgtest [18:45:33]: test threadtests: preparing testbed 1410s Reading package lists... 1410s Building dependency tree... 1410s Reading state information... 1410s Starting pkgProblemResolver with broken count: 0 1410s Starting 2 pkgProblemResolver with broken count: 0 1410s Done 1411s The following NEW packages will be installed: 1411s autopkgtest-satdep 1411s 0 upgraded, 1 newly installed, 0 to remove and 235 not upgraded. 1411s Need to get 0 B/776 B of archives. 1411s After this operation, 0 B of additional disk space will be used. 1411s Get:1 /tmp/autopkgtest.lortaT/14-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 1411s Selecting previously unselected package autopkgtest-satdep. 1411s (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 ... 71178 files and directories currently installed.) 1411s Preparing to unpack .../14-autopkgtest-satdep.deb ... 1411s Unpacking autopkgtest-satdep (0) ... 1411s Setting up autopkgtest-satdep (0) ... 1413s (Reading database ... 71178 files and directories currently installed.) 1413s Removing autopkgtest-satdep (0) ... 1413s autopkgtest [18:45:45]: test threadtests: [----------------------- 1413s Running test: glib/threadtests.test 1413s TAP version 13 1413s # random seed: R02Scc365bfda5dc6fe8daaccb0d03ea6031 1413s 1..5 1413s # Start of GObject tests 1413s ok 1 /GObject/threaded-object-init 1414s ok 2 /GObject/threaded-weak-ref 1414s # slow test /GObject/threaded-weak-ref executed in 0.71 secs 1414s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1414s # /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 1415s ok 3 /GObject/threaded-toggle-notify 1415s # slow test /GObject/threaded-toggle-notify executed in 0.54 secs 1415s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1415s # Start of threaded-weak-ref tests 1415s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1415s # /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. 1415s ok 5 /GObject/threaded-weak-ref/on-finalization 1415s # End of threaded-weak-ref tests 1415s # End of GObject tests 1415s PASS: glib/threadtests.test 1415s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.6s; system=0.4s; maxrss=4096 1415s autopkgtest [18:45:47]: test threadtests: -----------------------] 1416s threadtests PASS 1416s autopkgtest [18:45:48]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1416s autopkgtest [18:45:48]: test timeout: preparing testbed 1423s Reading package lists... 1423s Building dependency tree... 1423s Reading state information... 1424s Starting pkgProblemResolver with broken count: 0 1424s Starting 2 pkgProblemResolver with broken count: 0 1424s Done 1424s The following NEW packages will be installed: 1424s autopkgtest-satdep 1424s 0 upgraded, 1 newly installed, 0 to remove and 235 not upgraded. 1424s Need to get 0 B/772 B of archives. 1424s After this operation, 0 B of additional disk space will be used. 1424s Get:1 /tmp/autopkgtest.lortaT/15-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [772 B] 1424s Selecting previously unselected package autopkgtest-satdep. 1424s (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 ... 71178 files and directories currently installed.) 1424s Preparing to unpack .../15-autopkgtest-satdep.deb ... 1424s Unpacking autopkgtest-satdep (0) ... 1424s Setting up autopkgtest-satdep (0) ... 1426s (Reading database ... 71178 files and directories currently installed.) 1426s Removing autopkgtest-satdep (0) ... 1427s autopkgtest [18:45:59]: test timeout: [----------------------- 1427s Running test: glib/timeout.test 1427s TAP version 13 1427s # random seed: R02Sf860bcf7145a34a431e4d3f5ee8dea97 1427s 1..5 1427s # Start of timeout tests 1427s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1429s ok 1 /timeout/seconds 1429s # slow test /timeout/seconds executed in 2.10 secs 1431s ok 2 /timeout/seconds-once 1431s # slow test /timeout/seconds-once executed in 2.10 secs 1431s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1432s Executing: glib/timeout.test 1433s ok 3 /timeout/weeks-overflow 1433s # slow test /timeout/weeks-overflow executed in 2.10 secs 1433s ok 4 /timeout/far-future-ready-time 1437s Executing: glib/timeout.test 1442s Executing: glib/timeout.test 1443s ok 5 /timeout/rounding 1443s # slow test /timeout/rounding executed in 10.24 secs 1443s # End of timeout tests 1443s PASS: glib/timeout.test 1443s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1444s autopkgtest [18:46:16]: test timeout: -----------------------] 1446s autopkgtest [18:46:18]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1446s timeout PASS 1446s autopkgtest [18:46:18]: test timer: preparing testbed 1463s Reading package lists... 1463s Building dependency tree... 1463s Reading state information... 1463s Starting pkgProblemResolver with broken count: 0 1463s Starting 2 pkgProblemResolver with broken count: 0 1463s Done 1464s The following NEW packages will be installed: 1464s autopkgtest-satdep 1464s 0 upgraded, 1 newly installed, 0 to remove and 235 not upgraded. 1464s Need to get 0 B/780 B of archives. 1464s After this operation, 0 B of additional disk space will be used. 1464s Get:1 /tmp/autopkgtest.lortaT/16-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [780 B] 1464s Selecting previously unselected package autopkgtest-satdep. 1464s (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 ... 71178 files and directories currently installed.) 1464s Preparing to unpack .../16-autopkgtest-satdep.deb ... 1464s Unpacking autopkgtest-satdep (0) ... 1464s Setting up autopkgtest-satdep (0) ... 1466s (Reading database ... 71178 files and directories currently installed.) 1466s Removing autopkgtest-satdep (0) ... 1466s autopkgtest [18:46:38]: test timer: [----------------------- 1467s Running test: glib/timer.test 1467s TAP version 13 1467s # random seed: R02Sa131ebc552b759489e91905f94cd7ae3 1467s 1..10 1467s # Start of timer tests 1467s ok 1 /timer/basic 1467s ok 2 /timer/stop 1467s ok 3 /timer/continue 1467s ok 4 /timer/reset 1467s ok 5 /timer/is_active 1467s # End of timer tests 1467s # Start of timeval tests 1467s ok 6 /timeval/add 1467s ok 7 /timeval/from-iso8601 1467s ok 8 /timeval/to-iso8601 1467s # Start of to-iso8601 tests 1467s ok 9 /timeval/to-iso8601/overflow 1467s # End of to-iso8601 tests 1467s # End of timeval tests 1467s # Start of usleep tests 1467s ok 10 /usleep/with-zero-wait 1467s # End of usleep tests 1467s PASS: glib/timer.test 1467s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1467s autopkgtest [18:46:39]: test timer: -----------------------] 1467s autopkgtest [18:46:39]: test timer: - - - - - - - - - - results - - - - - - - - - - 1467s timer PASS 1468s autopkgtest [18:46:40]: @@@@@@@@@@@@@@@@@@@@ summary 1468s build PASS (superficial) 1468s build-static PASS (superficial) 1468s installed-tests PASS 1468s closure-refcount PASS 1468s debugcontroller PASS 1468s gdbus-server-auth PASS 1468s gdbus-threading PASS 1468s gmenumodel PASS 1468s mainloop PASS 1468s memory-monitor-dbus PASS 1468s socket PASS 1468s testfilemonitor PASS 1468s thread-pool-slow PASS 1468s threadtests PASS 1468s timeout PASS 1468s timer PASS 1482s Creating nova instance adt-noble-ppc64el-glib2.0-20240320-182212-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-ppc64el-server-20240320.img (UUID 2c394bf3-261b-42bf-b2a7-4487c1d5a6ac)... 1482s Creating nova instance adt-noble-ppc64el-glib2.0-20240320-182212-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-ppc64el-server-20240320.img (UUID 2c394bf3-261b-42bf-b2a7-4487c1d5a6ac)...